equal
deleted
inserted
replaced
|
1 <!DOCTYPE html> |
|
2 <html> |
|
3 <head> |
|
4 <title>Dashboard Files</title> |
|
5 <link type="text/css" rel="stylesheet" href="/stylesheets/dashboardfile.css" /> |
|
6 </head> |
|
7 <body> |
|
8 <h1>Dashboard Files |
|
9 </h1> |
|
10 <div> |
|
11 <table> |
|
12 <tr> |
|
13 <th>File</th> |
|
14 <th>Date</th> |
|
15 {% if admin %} |
|
16 <th></th> |
|
17 {% endif %} |
|
18 {% for file in files %} |
|
19 <tr>{% if file.name %} |
|
20 <td><a href="/dashboards/{{ file.name }}" > |
|
21 {{ file.name }} |
|
22 </a> |
|
23 </td> |
|
24 <td>{{ file.date|date:"d-M-Y H:i:s" }} |
|
25 </td> |
|
26 {% if admin %} |
|
27 <td><a href="/dashboards/delete?file={{ file.name }}" > |
|
28 Delete |
|
29 </a> |
|
30 </td> |
|
31 {% endif %} |
|
32 {% endif %} |
|
33 </tr> |
|
34 {% endfor %} |
|
35 </table> |
|
36 </div> |
|
37 </body> |
|
38 </html> |