diff options
author | ttt | 2017-05-13 00:29:47 +0530 |
---|---|---|
committer | ttt | 2017-05-13 00:29:47 +0530 |
commit | abf599be33b383a6a5baf9493093b2126a622ac8 (patch) | |
tree | 4c5ab6e0d935d5e65fabcf0258e4a00dd20a5afa /templates/experiment | |
download | SBHS-2018-Rpi-abf599be33b383a6a5baf9493093b2126a622ac8.tar.gz SBHS-2018-Rpi-abf599be33b383a6a5baf9493093b2126a622ac8.tar.bz2 SBHS-2018-Rpi-abf599be33b383a6a5baf9493093b2126a622ac8.zip |
added all server files
Diffstat (limited to 'templates/experiment')
-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 |