From d005d323f4ab1d6be1615382eb662b7b1a23187c 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 6d994fd..c969919 100644 --- a/device/templates/details.html +++ b/device/templates/details.html @@ -5,24 +5,28 @@
-

{{ object.shortid }}

+

{{ object.shortid }} +

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