diff --git a/device/templates/device_web.html b/device/templates/device_web.html index 919dec7..539c2f9 100644 --- a/device/templates/device_web.html +++ b/device/templates/device_web.html @@ -1,173 +1,193 @@ -
- - + + +
- Manufacturer: {{ c.manufacturer }}
- Model: {{ c.model }}
- Serial Number: {{ c.serialNumber }}
-
{{ snapshot }}
+
+ Manufacturer: {{ component.manufacturer }}
+ Model: {{ component.model }}
+ Serial Number: {{ component.serialNumber }}
+
+ {% for component_key, component_value in component.items %}
+ {% if component_key not in 'actions,type' %}
+ {{ component_key }}: {{ component_value }}
+ {% endif %}
+ {% endfor %}
+
{{ snapshot }}
+