diff --git a/ereuse_devicehub/static/css/devicehub.css b/ereuse_devicehub/static/css/devicehub.css index 46fae783..e82af14c 100644 --- a/ereuse_devicehub/static/css/devicehub.css +++ b/ereuse_devicehub/static/css/devicehub.css @@ -23,6 +23,16 @@ padding-top: 0px; padding-bottom: 5px; } +#ApplyDeviceLots { + color: #993365; + font-weight: bold; +} +#ApplyDeviceLots.disabled { + color: #adb5bd; + font-weight: normal; + pointer-events: none; + background-color: #fff; +} .help { color: #993365; } diff --git a/ereuse_devicehub/templates/inventory/erasure.html b/ereuse_devicehub/templates/inventory/erasure.html index 06ad6943..130ca3c1 100644 --- a/ereuse_devicehub/templates/inventory/erasure.html +++ b/ereuse_devicehub/templates/inventory/erasure.html @@ -320,14 +320,14 @@
Computer where was erase:
Title: {{ erasure.parent.__format__('ts') }}
DevicehubID: {{ erasure.parent.dhid }}
-
Hid: {{ erasure.parent.hid }}
+
Hid: {{ erasure.parent.chid }}
Tags: {{ erasure.parent.tags }}
{% if erasure.device.parent %}
Computer where it resides:
Title: {{ erasure.device.parent.__format__('ts') }}
DevicehubID: {{ erasure.device.parent.dhid }}
-
Hid: {{ erasure.device.parent.hid }}
+
Hid: {{ erasure.device.parent.chid }}
Tags: {{ erasure.device.parent.tags }}
{% endif %} {% endif %} @@ -344,6 +344,16 @@ {% endif %} + {% if erasure.device.proofs %} +
DLT Proofs:
+
+
    + {% for proof in erasure.device.proofs %} +
  1. {{ proof.type }}: {{ proof.timestamp }}
  2. + {% endfor %} +
+
+ {% endif %} {% endfor %}