summaryrefslogtreecommitdiff
path: root/templates/experiment/logs.html
blob: 51c0c354c9d8dc65ca3b3c7ca1ed763cc29e743b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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 'experiment_logs' e.id e.logname %}" target="_blank">Download</a></td>
                </tr>
                {% endfor %}
            </tbody>
        </table>
        </div>
    </div>
</div>
{% endblock %}