summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorcoderick142017-05-26 18:04:57 +0530
committercoderick142017-05-26 18:04:57 +0530
commit817ce63b3f3985113da5256ca905be2b7704702b (patch)
treeaf235c4c24d37fa5d6ffb47fd50881e02e8eb02c /templates
parent2bb2b5306d15b23a71d586ef65285e330e02dec9 (diff)
downloadSBHS-2018-Rpi-817ce63b3f3985113da5256ca905be2b7704702b.tar.gz
SBHS-2018-Rpi-817ce63b3f3985113da5256ca905be2b7704702b.tar.bz2
SBHS-2018-Rpi-817ce63b3f3985113da5256ca905be2b7704702b.zip
Add download logs feature for admin
Diffstat (limited to 'templates')
-rw-r--r--templates/admin/index.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/admin/index.html b/templates/admin/index.html
index 95956f5..3e9ce15 100644
--- a/templates/admin/index.html
+++ b/templates/admin/index.html
@@ -15,6 +15,8 @@
<th>Board MID</th>
<th>Status</th>
<th>Webcam</th>
+ <th>Temperature Profile</th>
+ <th>Download Logs</th>
</tr>
</thead>
<tbody>
@@ -23,7 +25,8 @@
<td>{{ b.mid }}</td>
<td><span class="label label-{% if b.online %}success{% else %}important{% endif %}">{% if b.online %}Online{% else %}Offline{% endif %}</span></td>
<td><a href="{% url 'webcam_show_video_to_admin' b.mid %}" target="_blank">View image</a></td>
- <td><a href="{% url 'admin_profile' b.mid %}">View temperature profile</a></td>
+ <td><a href="{% url 'admin_profile' b.mid %}">View</a></td>
+ <td><a href="{% url 'admin_logs' b.mid %}">Download</a></td>
</tr>
{% endfor %}
</tbody>