From ccdd0286741cabfdd646f2bcd0fbca0b4eb5f658 Mon Sep 17 00:00:00 2001 From: Armingol Date: Fri, 6 Oct 2023 14:59:49 +0200 Subject: [PATCH] Add support to WebUI to show device inventory --- .../service/templates/device/detail.html | 37 ++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/src/webui/service/templates/device/detail.html b/src/webui/service/templates/device/detail.html index c35ae163d..bbdf1a82d 100644 --- a/src/webui/service/templates/device/detail.html +++ b/src/webui/service/templates/device/detail.html @@ -86,7 +86,42 @@ - + {% if device.components|length > 1 %} +
+ + + + + + + + + + + + {% for component in device.components %} + + + + + + + + {% endfor %} + +
Component UUIDNameTypeParentAttributes
+ {{ component.component_uuid.uuid }} + + {{ component.name }} + + {{ component.type }} + + {{ component.parent }} + + {{ component.attributes }} +
+
+ {% endif %} Configurations: -- GitLab