{% from 'macros.html' import player %} {% from 'macros.html' import video_download_btn %} {% from 'macros.html' import video_embed_btn %} {% from 'macros.html' import vtttime %} {% from 'macros.html' import moderator_editor %} {% from 'macros.html' import moderator_delete %} {% from 'macros.html' import moderator_checkbox %} {% set page_border = 1 -%} {% extends "base.html" %} {% block title %}- {{ course.title }}: {{ lecture.title}}{% endblock %} {% block header %} {{ super() }} {% endblock %} {% block content %}

{{ course.title }}: {{ lecture.title}}

  • {{ video_embed_btn(lecture.id) }}
{{ player(lecture, videos) }}
{% if ismod() %}

Kapitel:

{% for c in chapters|sort(attribute='time') %} {% endfor %}
Index Start Kapitel Sichtbar
{{ loop.index }} {{ vtttime(c['time']) }} {{ moderator_editor(['chapters',c.id,'text'],c['text']) }} {{ moderator_checkbox(['chapters',c.id,'visible'], c.visible) }} {{ moderator_delete(['chapters',c.id,'deleted']) }}
{% endif %}
{% endblock %}