diff options
author | Nico Geyso <nico.geyso@fu-berlin.de> | 2014-12-07 18:25:29 +0100 |
---|---|---|
committer | Nico Geyso <nico.geyso@fu-berlin.de> | 2014-12-07 18:25:29 +0100 |
commit | 79788b3590aba6384611a2c29012bbd821c290ee (patch) | |
tree | 183dcc14c9bc5394c32bb664d1361d783860ceb0 /app/templates | |
parent | 4ea12c4b97fc7775ab5ae3cb4607f715b880aede (diff) | |
download | klausuren-79788b3590aba6384611a2c29012bbd821c290ee.tar.gz klausuren-79788b3590aba6384611a2c29012bbd821c290ee.tar.bz2 klausuren-79788b3590aba6384611a2c29012bbd821c290ee.zip |
Added write functionality to Storage backend
Diffstat (limited to 'app/templates')
-rw-r--r-- | app/templates/layout.html | 6 | ||||
-rw-r--r-- | app/templates/module_list.html | 2 | ||||
-rw-r--r-- | app/templates/upload.html | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/app/templates/layout.html b/app/templates/layout.html index 06901e9..14ec7c5 100644 --- a/app/templates/layout.html +++ b/app/templates/layout.html @@ -19,13 +19,13 @@ <p> {% if not request.base_url.endswith(url_for('.upload', study=study, module = module))%} {% if not request.base_url.endswith(url_for('errorhandler')) %} - <a href="{{url_for('main.upload', study=study, module=module)}}">neue Klausur hochladen</a> + <a href="{{url_for('.upload', study=study, module=module)}}">neue Klausur hochladen</a> {% endif %} {% else %} - <a href="{{url_for('main.study_index', study=study, module=module)}}">zurück</a> + <a href="{{url_for('.study_index', study=study, module=module)}}">zurück</a> {% endif %} </p> - <h2><a href="{{url_for('main.study_index', study=study)}}">{{study.capitalize()}}</a></h2> + <h2><a href="{{url_for('.study_index', study=study)}}">{{study.capitalize()}}</a></h2> {% endif %} <ul class="flashes"> diff --git a/app/templates/module_list.html b/app/templates/module_list.html index 9e1409c..9469020 100644 --- a/app/templates/module_list.html +++ b/app/templates/module_list.html @@ -5,7 +5,7 @@ <ul> {% for module in modules %} <li> - <a href="{{url_for('main.study_index', study = study, module=module)}}">{{module}}</a> + <a href="{{url_for('.study_index', study = study, module=module)}}">{{module}}</a> </li> {% else %} <li>Keine Klausuren bisher hochgeladen!</li> diff --git a/app/templates/upload.html b/app/templates/upload.html index 67c47ea..0e00354 100644 --- a/app/templates/upload.html +++ b/app/templates/upload.html @@ -26,7 +26,7 @@ <div id="upload"> <form method="POST" enctype="multipart/form-data" - action="{{url_for('main.upload', study=study, module=module)}}"> + action="{{url_for('.upload', study=study, module=module)}}"> {{ form.csrf_token }} {{ render_field(form.exam) }} |