lecture.html 1.01 KB
Newer Older
Andreas Valder's avatar
Andreas Valder committed
1
{% from 'macros.html' import player %}
Andreas Valder's avatar
Andreas Valder committed
2
3
{% from 'macros.html' import video_download_btn %}
{% from 'macros.html' import video_embed_btn %}
4
5
{% set page_border = 0 -%}

Andreas Valder's avatar
Andreas Valder committed
6
7
{% extends "base.html" %}
{% block content %}
8
9
<div class="panel panel-default">
	<div class="panel-heading">
Andreas Valder's avatar
Andreas Valder committed
10
		<h1 class="panel-title"><strong>{{ course.title }}</strong>: {{ lecture.title}}</h1>
11
	</div>
Andreas Valder's avatar
Andreas Valder committed
12
	<div class="panel-body">
Andreas Valder's avatar
Andreas Valder committed
13
14
15
		<div class="row" style="padding: 0px;">
			<div class="col-sm-6 col-xs-12" style="padding-bottom: 5px;">
				<span>
16
					<a href="{{url_for('course', handle=course.handle)}}#lecture-{{lecture.id}}" class="btn btn-default" >Zur Veranstaltungsseite</a>
Andreas Valder's avatar
Andreas Valder committed
17
18
19
20
21
22
23
				<span>
			</div>
			<div class="col-sm-6 col-xs-12">
				<div class="pull-right" style="margin-left: 10px;">{{ video_download_btn(videos) }}</div>
				<div class="pull-right">{{ video_embed_btn(lecture.id) }}</div>
			</div>
		</div>
Andreas Valder's avatar
Andreas Valder committed
24
		<div class="row">
Andreas Valder's avatar
Andreas Valder committed
25
			<div class="col-xs-12" style="padding: 0px">
Andreas Valder's avatar
Andreas Valder committed
26
27
28
				{{ player(lecture, videos) }}
			</div>
		</div>
29
30
31
	</div>
</div>

Andreas Valder's avatar
Andreas Valder committed
32
{% endblock %}