diff options
author | Nico Geyso <nico.geyso@fu-berlin.de> | 2014-12-07 16:02:27 +0100 |
---|---|---|
committer | Nico Geyso <nico.geyso@fu-berlin.de> | 2014-12-07 16:02:27 +0100 |
commit | ab487c574b6ac405a869528516bed55473e93c5f (patch) | |
tree | 51a8de9c4662fa3dcae87765430abeebfe7d89ad /app/templates/index.html | |
parent | c4a267e9cf9073547063d60f7a49b093df0e4570 (diff) | |
download | klausuren-ab487c574b6ac405a869528516bed55473e93c5f.tar.gz klausuren-ab487c574b6ac405a869528516bed55473e93c5f.tar.bz2 klausuren-ab487c574b6ac405a869528516bed55473e93c5f.zip |
Restructure project
Diffstat (limited to 'app/templates/index.html')
-rw-r--r-- | app/templates/index.html | 20 |
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 %} |