From ad1e5e06d91f00da7823887a1645cf2a8808676a Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Thu, 16 Mar 2023 10:35:37 +0100 Subject: [PATCH] proofs in details --- .../templates/inventory/device_detail.html | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/ereuse_devicehub/templates/inventory/device_detail.html b/ereuse_devicehub/templates/inventory/device_detail.html index 44fa8e8f..0935f546 100644 --- a/ereuse_devicehub/templates/inventory/device_detail.html +++ b/ereuse_devicehub/templates/inventory/device_detail.html @@ -85,6 +85,9 @@ + {% endif %} @@ -284,6 +287,7 @@
Time Stamp
{{ dpp.timestamp }} +

{{ dpp.key }}
@@ -297,6 +301,54 @@

{% endif %} + {% if placeholder.binding %} +
+
Proofs
+ {% for proof in placeholder.binding.proofs %} +
+
+
+
+
+
Time Stamp
+ {{ proof.timestamp }} +
+
+
+

+ {{ proof.type }}
+

+ {{ proof.created.strftime('%H:%M %d-%m-%Y') }} +
+
+
+
+ {% endfor %} + {% for component in placeholder.binding.components %} + {% for proof in component.proofs %} +
+
+
+
+
+
Time Stamp
+ {{ proof.timestamp }} +
+
+
+

+ {{ proof.type }}
+

+ {{ proof.created.strftime('%H:%M %d-%m-%Y') }} +
+
+
+
+ {% endfor %} + {% endfor %} +
+ {% endif %} +