From 4f77ce1e7ee32eba77c74c355356386b94e9cb6f Mon Sep 17 00:00:00 2001 From: Thomas Rusiecki Date: Thu, 12 Dec 2024 18:18:24 -0300 Subject: [PATCH] state button rework and warning if same state --- device/templates/details.html | 47 +++++++++++++++++++++++------------ 1 file changed, 31 insertions(+), 16 deletions(-) diff --git a/device/templates/details.html b/device/templates/details.html index c63497c..221c845 100644 --- a/device/templates/details.html +++ b/device/templates/details.html @@ -5,24 +5,28 @@
-

{{ object.shortid }}

+

{{ object.shortid }} +

{% if state_definitions %} + + +
{% else %}
-