summaryrefslogtreecommitdiffstats
path: root/app/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'app/templates/index.html')
-rw-r--r--app/templates/index.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/app/templates/index.html b/app/templates/index.html
new file mode 100644
index 0000000..14b7fde
--- /dev/null
+++ b/app/templates/index.html
@@ -0,0 +1,20 @@
+{% extends "layout.html" %}
+{% block body %}
+ <h2>Studiengänge</h2>
+
+ <div id="studies">
+ <ul id="studies">
+ {% for name,img_path in studies|sort %}
+ <li>
+ <a href="{{url_for('study_index', study=name)}}">
+ <img src="{{url_for('static',filename=img_path)}}" alt="{{name}}" />
+ {{name.capitalize()}}
+ </a>
+ </li>
+ {% else %}
+ <li>Keine Studiengänge konfiguriert!</li>
+ {% endfor %}
+ </ul>
+ </div>
+
+{% endblock %}