diff options
Diffstat (limited to 'sbhs/templates/experiment')
-rw-r--r-- | sbhs/templates/experiment/logs.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sbhs/templates/experiment/logs.html b/sbhs/templates/experiment/logs.html new file mode 100644 index 0000000..7e118ac --- /dev/null +++ b/sbhs/templates/experiment/logs.html @@ -0,0 +1,31 @@ +{% extends "base.html" %} +{% block title %} + Download Previous log files +{% endblock %} +{% block content %} +<div class = "container"> + <div class = "row"> + <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 exp in experiment %} + <tr> + <td>{{exp.slot.start_time|date:"M d, Y"}}</td> + <td>{{exp.slot.start_time|time}} -- {{exp.slot.end_time|time}} </td> + <td>{{exp.logname}}</td> + <td><a href="{% url 'experiment_logs' exp.slot.id %}" target="_blank">Download</a></td> + </tr> + {% endfor %} + </tbody> + </table> + </div> +</div> +{% endblock %}
\ No newline at end of file |