summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorNico von Geyso <Nico.Geyso@FU-Berlin.de>2012-05-14 12:50:36 +0200
committerNico von Geyso <Nico.Geyso@FU-Berlin.de>2012-05-14 12:50:36 +0200
commit9f5d3eb02c6af92d386bfbf36b8bc56bc1d3f7a9 (patch)
tree179f777dab16f5d007ff5bc799aa5822cb92d5ff /templates
parent0a2ed52efaf75405928644b04093f34dc5fff9d8 (diff)
downloadklausuren-9f5d3eb02c6af92d386bfbf36b8bc56bc1d3f7a9.tar.gz
klausuren-9f5d3eb02c6af92d386bfbf36b8bc56bc1d3f7a9.tar.bz2
klausuren-9f5d3eb02c6af92d386bfbf36b8bc56bc1d3f7a9.zip
simple css customization
Diffstat (limited to 'templates')
-rw-r--r--templates/layout.html55
1 files changed, 38 insertions, 17 deletions
diff --git a/templates/layout.html b/templates/layout.html
index f97af39..61f56b7 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -20,28 +20,49 @@
</div>
<div id="content">
- <ul class="flashes">
- {% with messages = get_flashed_messages() %}
- {% for message in messages %}
- <li>{{ message }}</li>
- {% endfor %}
- {% endwith %}
- </ul>
-
- <div id="container">
- <h2>Upload</h2>
- <form id="upload-form" method="POST" enctype="multipart/form-data" action="/">
- <input type="file" name="file" />
- <input type="text" name="tags" />
- <input type="submit" />
- </form>
-
- <ul id="filelist"><li>No runtime found.</li></ul>
+
+ <div id="sub-header">
+ {% with url = url_for('list') %}
+ <p id="all-files" >
+ {% if not request.base_url.endswith(url) %}
+ <a href="{{url_for('list')}}">view all files</a>
+ {% else %}
+ <a href="{{url_for('index')}}">view all tags</a>
+ {% endif %}
+ </p>
+ {% endwith %}
+
+ <ul class="flashes">
+ {% with messages = get_flashed_messages() %}
+ {% for message in messages %}
+ <li>{{ message }}</li>
+ {% endfor %}
+ {% endwith %}
+ </ul>
+
+ <div id="container">
+ <h2>Upload</h2>
+ <form id="upload-form" method="POST" enctype="multipart/form-data" action="/">
+ <input type="file" name="file" />
+ <input type="text" name="tags" />
+ <input type="submit" />
+ </form>
+
+ <ul id="filelist"><li>No runtime found.</li></ul>
+ </div>
</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>