From e4842a334cc388043ab2ca83354170b35d114c74 Mon Sep 17 00:00:00 2001 From: coderick14 Date: Fri, 9 Jun 2017 18:27:06 +0530 Subject: Add Ajax call to toggle board state --- templates/admin/index.html | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) (limited to 'templates/admin') diff --git a/templates/admin/index.html b/templates/admin/index.html index 3e9ce15..3bd5e45 100644 --- a/templates/admin/index.html +++ b/templates/admin/index.html @@ -23,7 +23,7 @@ {% for b in boards %} {{ b.mid }} - {% if b.online %}Online{% else %}Offline{% endif %} + {% if b.temp_offline %}Temp Offline{% elif b.online %}Online{% else %}Offline{% endif %} View image View Download @@ -34,4 +34,43 @@ + + {% endblock %} \ No newline at end of file -- cgit