lecture.html 1016 Bytes
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
		<div class="row" style="padding: 0px;">
			<div class="col-sm-6 col-xs-12" style="padding-bottom: 5px;">
Andreas Valder's avatar
Andreas Valder committed
15
				<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
16
17
			</div>
			<div class="col-sm-6 col-xs-12">
Andreas Valder's avatar
Andreas Valder committed
18
19
20
21
				<ul class="list-inline pull-right">
					<li>{{ video_embed_btn(lecture.id) }}</li>
					<li class="dropdown">{{ video_download_btn(videos) }}</li>
				</ul>
Andreas Valder's avatar
Andreas Valder committed
22
23
			</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 %}