From 1da6484f26db607e203a64a6d46bc21f0e1c2e7b Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Tue, 28 Dec 2021 14:14:02 +0100 Subject: [PATCH] adding table --- .../templates/inventory/device_list.html | 50 ++++++++++--------- 1 file changed, 27 insertions(+), 23 deletions(-) diff --git a/ereuse_devicehub/templates/inventory/device_list.html b/ereuse_devicehub/templates/inventory/device_list.html index 140b7860..0b9bc84b 100644 --- a/ereuse_devicehub/templates/inventory/device_list.html +++ b/ereuse_devicehub/templates/inventory/device_list.html @@ -44,30 +44,34 @@
Computers
- -
-
Title
-
DHID
-
Tags
-
Status
-
Update
-
- {% for dev in devices %} - -
-
{{ dev.type }} {{ dev.manufacturer }} {{ dev.model }}
-
{{ dev.devicehub_id }}
-
- {% for t in dev.tags %} - {{ t.code }} + + + + + + + + + + + + + {% for dev in devices %} + + + + + + + + {% endfor %} - -
{% if dev.status %}{{ dev.status }}{% endif %}
-
{{ dev.updated.strftime('%H:%M %d-%m-%Y') }}
- - - {% endfor %} - + +
TitleDHIDTagsStatusUpdateSelect all
{{ dev.type }} {{ dev.manufacturer }} {{ dev.model }}{{ dev.devicehub_id }} + {% for t in dev.tags %} + {{ t.code }}{% if not loop.last %},{% endif %} + {% endfor %} + {% if dev.status %}{{ dev.status }}{% endif %}{{ dev.updated.strftime('%H:%M %d-%m-%Y') }}