play.html 832 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
13
14
15
16
17
18
19
20
21
22
23
24
	<div class="panel-body">
		<p class="col-xs-12" style="padding: 0px;">
			<span><a href="/course?courseid={{course.handle}}" class="btn btn-default" >Zur Veranstaltungsseite</a><span>
			<span class="pull-right">
				<span>{{ video_embed_btn(lecture.id) }}</span>
				<span>{{video_download_btn(videos)}}</span>
			</span>
		</p>
		<div class="row">
			<div class="col-xs-12">
				{{ player(lecture, videos) }}
			</div>
		</div>
25
26
27
	</div>
</div>

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