From 6dfc6ddb3b404f7c3d48e36c3c1e6fd9a63c22bf Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 14 Mar 2022 12:17:22 +0100 Subject: [passthrough] Redesign list; collapse non-VGA classes by default --- .../passthrough/templates/hardware-list.html | 129 ++++++++++++--------- 1 file changed, 71 insertions(+), 58 deletions(-) (limited to 'modules-available/passthrough/templates') diff --git a/modules-available/passthrough/templates/hardware-list.html b/modules-available/passthrough/templates/hardware-list.html index 720427fd..b00baea7 100644 --- a/modules-available/passthrough/templates/hardware-list.html +++ b/modules-available/passthrough/templates/hardware-list.html @@ -1,63 +1,74 @@
- - - - - - - - - - - {{#list}} - - {{#class_name}} - - {{/class_name}} - {{^class_name}} - - - - - {{/class_name}} - - {{/list}} - -
{{lang_deviceIdNumeric}}{{lang_deviceName}}{{lang_useCount}}{{lang_passthroughGroup}}
+ {{#classlist}} +
+
+ {{#collapse}} + + + {{/collapse}} {{class}}{{class_name}} -
{{vendor}}:{{device}} [{{rev}}] - + {{#collapse}} + + {{/collapse}} + +
+
+ - + + + + + + + {{#devlist}} + + + + + + + {{/devlist}} +
- {{device_name}} - {{lang_deviceIdNumeric}}{{lang_deviceName}}{{lang_useCount}}{{lang_passthroughGroup}}
{{vendor}}:{{device}} [{{rev}}] + + + + +
+ {{device_name}} +
+
+ {{vendor_name}} +
+
{{connected_count}} + +
-
- {{vendor_name}} -
-
{{connected_count}} - -
-
-
-
- - +
+ {{/classlist}} +
+
+
+
+ +
+