1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" type="text/css" media="all" href="{{url_for('static',
filename='style_v3.css')}}" />
<script type="text/javascript" src="{{url_for('static',filename='jquery-1.8.0.min.js')}}"></script>
<title>Fit</title>
</head>
<body>
<div id="header">
<h1><a href="/">Archiv</a><small> @ spline</small></h1>
{% if study %}
<p>
<b>Tip</b>: Du kannst alle Klausuren auch als
{% set path = 'studies/' + study %}
<a href="{{url_for('static', filename=path + '.zip')}}">ZIP</a>- oder
<a href="{{url_for('static', filename=path + '.tar.gz')}}">TAR-GZ</a>-Archiv, sowie via
<a href="{{url_for('static', filename=path + '.git')}}">git</a> herunterladen
</p>
{% endif %}
</div>
<div id="content">
<div id="sub-header">
{% if study %}
<p>
{% if not request.base_url.endswith(url_for('upload', study=study, module = module))%}
{% if not request.base_url.endswith(url_for('forbidden')) %}
<a href="{{url_for('upload', study=study, module=module)}}">neue Klausur hochladen</a>
{% endif %}
{% else %}
<a href="{{url_for('study_index', study=study, module=module)}}">zurück</a>
{% endif %}
</p>
<h2><a href="{{url_for('study_index', study=study)}}">{{study.capitalize()}}</a></h2>
{% endif %}
<ul class="flashes">
{% with messages = get_flashed_messages() %}
{% for message in messages %}
<li>{{ message }}</li>
{% endfor %}
{% endwith %}
</ul>
</div>
{% block body %}{% endblock %}
</div>
<footer>
<a href="https://github.com/libgit2/libgit2">libgit2</a>
|
<a href="https://spit.spline.de/home/cholin/fit">Fit</a>
|
<a href="https://github.com/libgit2/pygit2">pygit2</a>
</footer>
</body>
</html>
|