diff options
author | ttt | 2017-05-13 00:29:47 +0530 |
---|---|---|
committer | ttt | 2017-05-13 00:29:47 +0530 |
commit | 4336f5f06f61de30ae3fa54650fce63a9d5ef5be (patch) | |
tree | 23b4ee9b8e8f24bf732acf2f7ad22ed50cdd5670 /templates/experiment/logs.html | |
download | SBHS-2018-Rpi-4336f5f06f61de30ae3fa54650fce63a9d5ef5be.tar.gz SBHS-2018-Rpi-4336f5f06f61de30ae3fa54650fce63a9d5ef5be.tar.bz2 SBHS-2018-Rpi-4336f5f06f61de30ae3fa54650fce63a9d5ef5be.zip |
added all server files
Diffstat (limited to 'templates/experiment/logs.html')
-rw-r--r-- | templates/experiment/logs.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/templates/experiment/logs.html b/templates/experiment/logs.html new file mode 100644 index 0000000..61816dd --- /dev/null +++ b/templates/experiment/logs.html @@ -0,0 +1,35 @@ +{% extends "layout.html" %} + +{% block content %} +<div class="container"> + <div class="row"> + {% include "account/sub_nav.html" %} + <script> + document.getElementById("download-log-nav").classList.add("active"); + </script> + <div class="span12"> + <h3>Download previous log files</h3> + <table class="table table-condensed"> + <thead> + <tr> + <th>Date</th> + <th>Slot timings</th> + <th>Filename</th> + <th>Download</th> + </tr> + </thead> + <tbody> + {% for e in experiments %} + <tr> + <td>{{ e.booking.start_time|date:"M d, Y" }}</td> + <td>{{ e.booking.slot }}</td> + <td>{{ e.logname }}</td> + <td><a href="{% url 'sbhs_server.experiment.views.download_log' e.id e.logname %}" target="_blank">Download</a></td> + </tr> + {% endfor %} + </tbody> + </table> + </div> + </div> +</div> +{% endblock %}
\ No newline at end of file |