From b84648fa3730d8b258bbc4ada0dcbde5a033f747 Mon Sep 17 00:00:00 2001 From: CruiseDevice Date: Mon, 19 Feb 2018 15:01:22 +0530 Subject: initial commit --- templates/admin/index.html | 121 ++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 113 insertions(+), 8 deletions(-) (limited to 'templates/admin/index.html') diff --git a/templates/admin/index.html b/templates/admin/index.html index a28935f..b08d5aa 100644 --- a/templates/admin/index.html +++ b/templates/admin/index.html @@ -1,6 +1,51 @@ {% extends "layout.html" %} {% load staticfiles %} - +{% block style_block %} + +{% endblock %} {% block content %}
@@ -14,16 +59,19 @@ Board MID Status + Power Status Webcam Temperature Profile Download Logs + {% for b in boards %} - {{ b.mid }} + {{ b.mid }} {% if not b.online %}Offline{% elif b.temp_offline %}Temp Offline{% else %}Online{% endif %} + {% if not b.power_status %}OFF{% else %}ON{% endif %} View image View Download @@ -38,16 +86,21 @@ -{% endblock %} \ No newline at end of file +{% endblock %} -- cgit