summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntanas Uršulis <antanas.ursulis@gmail.com>2013-08-02 10:12:25 +0300
committerAntanas Uršulis <antanas.ursulis@gmail.com>2013-08-02 10:12:25 +0300
commit5c567070fc3a18ae08c7d4b5ffa9af5ae3a72e5e (patch)
treec54748a73d340a7f6e2ee25b662ce376fc132cb7 /templates
parentGroup list view (diff)
downloadlog-analysis-master.tar.gz
log-analysis-master.tar.bz2
log-analysis-master.zip
Simple file list templateHEADmaster
TODO: it should provide a link to file, instead of printing the path.
Diffstat (limited to 'templates')
-rw-r--r--templates/file_list.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/file_list.html b/templates/file_list.html
new file mode 100644
index 0000000..8980776
--- /dev/null
+++ b/templates/file_list.html
@@ -0,0 +1,16 @@
+{% extends "base.html" %}
+{% block title %}List of log files{% endblock %}
+{% block body %}
+ <table>
+ <tr>
+ <th>group id</th>
+ <th>path</th>
+ </tr>
+ {% for file in files %}
+ <tr>
+ <td>{{ file.group_id }}</td>
+ <td>{{ file.path }}</td>
+ </tr>
+ {% endfor %}
+ </table>
+{% endblock %}