diff --git a/unilabos/app/web/templates/status.html b/unilabos/app/web/templates/status.html index f4ef011a..e1105b7b 100644 --- a/unilabos/app/web/templates/status.html +++ b/unilabos/app/web/templates/status.html @@ -333,8 +333,13 @@
-
{{ device.class|tojson(indent=4) }}
- + {% if device.class %} +
{{ device.class | tojson(indent=4) }}
+ {% else %} + +
// No data
+ {% endif %} + {% if device.is_online %}
在线
{% endif %} @@ -366,7 +371,12 @@