fix hide hid of erasure certificate
This commit is contained in:
parent
56c970e810
commit
a27dc0914c
|
@ -23,6 +23,16 @@
|
||||||
padding-top: 0px;
|
padding-top: 0px;
|
||||||
padding-bottom: 5px;
|
padding-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
#ApplyDeviceLots {
|
||||||
|
color: #993365;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
#ApplyDeviceLots.disabled {
|
||||||
|
color: #adb5bd;
|
||||||
|
font-weight: normal;
|
||||||
|
pointer-events: none;
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
.help {
|
.help {
|
||||||
color: #993365;
|
color: #993365;
|
||||||
}
|
}
|
||||||
|
|
|
@ -320,14 +320,14 @@
|
||||||
<dt>Computer where was erase:</dt>
|
<dt>Computer where was erase:</dt>
|
||||||
<dd>Title: {{ erasure.parent.__format__('ts') }}</dd>
|
<dd>Title: {{ erasure.parent.__format__('ts') }}</dd>
|
||||||
<dd>DevicehubID: {{ erasure.parent.dhid }}</dd>
|
<dd>DevicehubID: {{ erasure.parent.dhid }}</dd>
|
||||||
<dd>Hid: {{ erasure.parent.hid }}</dd>
|
<dd>Hid: {{ erasure.parent.chid }}</dd>
|
||||||
<dd>Tags: {{ erasure.parent.tags }}</dd>
|
<dd>Tags: {{ erasure.parent.tags }}</dd>
|
||||||
|
|
||||||
{% if erasure.device.parent %}
|
{% if erasure.device.parent %}
|
||||||
<dt>Computer where it resides:</dt>
|
<dt>Computer where it resides:</dt>
|
||||||
<dd>Title: {{ erasure.device.parent.__format__('ts') }}</dd>
|
<dd>Title: {{ erasure.device.parent.__format__('ts') }}</dd>
|
||||||
<dd>DevicehubID: {{ erasure.device.parent.dhid }}</dd>
|
<dd>DevicehubID: {{ erasure.device.parent.dhid }}</dd>
|
||||||
<dd>Hid: {{ erasure.device.parent.hid }}</dd>
|
<dd>Hid: {{ erasure.device.parent.chid }}</dd>
|
||||||
<dd>Tags: {{ erasure.device.parent.tags }}</dd>
|
<dd>Tags: {{ erasure.device.parent.tags }}</dd>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -344,6 +344,16 @@
|
||||||
</ol>
|
</ol>
|
||||||
</dd>
|
</dd>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if erasure.device.proofs %}
|
||||||
|
<dt>DLT Proofs:</dt>
|
||||||
|
<dd>
|
||||||
|
<ol>
|
||||||
|
{% for proof in erasure.device.proofs %}
|
||||||
|
<li>{{ proof.type }}: {{ proof.timestamp }}</li>
|
||||||
|
{% endfor %}
|
||||||
|
</ol>
|
||||||
|
</dd>
|
||||||
|
{% endif %}
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Reference in a new issue