summaryrefslogtreecommitdiffstats
path: root/Tools/TestResultServer/templates/dashboardfilelist.html
blob: 818cb91b98c93eec665e4e58fbbee9abf1249a65 (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
36
37
38
<!DOCTYPE html>
<html>
<head>
<title>Dashboard Files</title>
<link type="text/css" rel="stylesheet" href="/stylesheets/dashboardfile.css" />
</head>
<body>
<h1>Dashboard Files
</h1>
<div>
    <table>
        <tr>
            <th>File</th>
            <th>Date</th>
            {% if admin %}
            <th></th>
            {% endif %}
        {% for file in files %}
        <tr>{% if file.name %}
            <td><a href="/dashboards/{{ file.name }}" >
                {{ file.name }}
                </a>
            </td>
            <td>{{ file.date|date:"d-M-Y H:i:s" }}
            </td>
            {% if admin %}
            <td><a href="/dashboards/delete?file={{ file.name }}" >
                Delete
                </a>
            </td>
            {% endif %}
        {% endif %}
        </tr>
    {% endfor %}
    </table>
</div>
</body>
</html>