play.html 864 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
	<div class="panel-body">
		<p class="col-xs-12" style="padding: 0px;">
14
			<span><a href="{{url_for('course_id', numid=course.id)}}#lecture-{{lecture.id}}" class="btn btn-default" >Zur Veranstaltungsseite</a><span>
Andreas Valder's avatar
Andreas Valder committed
15
16
			<span class="pull-right">
				<span>{{ video_embed_btn(lecture.id) }}</span>
17
				<span>{{ video_download_btn(videos) }}</span>
Andreas Valder's avatar
Andreas Valder committed
18
19
20
21
22
23
24
			</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 %}