diff --git a/device/templates/details.html b/device/templates/details.html index d51960f..5723477 100644 --- a/device/templates/details.html +++ b/device/templates/details.html @@ -2,189 +2,127 @@ {% load i18n %} {% block content %} -
-
-

{{ object.shortid }}

+
+
+

{{ object.shortid }}

+
-
-
-
-
- - {% if object.is_eraseserver %} -
-
{% trans "Is a erase server" %}
-
-
- {% endif %} - -
-
{% trans "Type" %}
-
{{ object.type }}
-
- - {% if object.is_websnapshot %} - {% for k, v in object.last_user_evidence %} -
-
{{ k }}
-
{{ v|default:"" }}
-
- {% endfor %} - {% else %} -
-
Manufacturer
-
{{ object.manufacturer|default:"" }}
-
- -
-
Model
-
{{ object.model|default:"" }}
-
- -
-
Serial Number
-
{{ object.last_evidence.doc.device.serialNumber|default:"" }}
-
- {% endif %} -
-
Identifiers
-
- {% for chid in object.hids %} -
-
{{ chid |default:"" }}
-
- {% endfor %}
-
- - -
{% trans "Annotations" %}
- - - - - - - - - - - - {% for a in object.get_user_annotations %} - - - - - - - - {% endfor %} - - -
KeyValueCreated on
{{ a.key }}{{ a.value }}{{ a.created }}
-
-
Details
+
{% trans 'Details' %}
-
Phid
+
Phid
{{ object.id }}
-
-
Type
+ {% if object.is_eraseserver %} +
+
+ {% trans 'Is a erase server' %} +
+
+
+ {% endif %} + +
+
Phid
+
{{ object.id }}
+
{{ object.type }}
{% if object.is_websnapshot %} {% for k, v in object.last_user_evidence %} -
+
{{ k }}
{{ v|default:'' }}
{% endfor %} {% else %} -
-
Manufacturer
+
+
+ {% trans 'Manufacturer' %} +
{{ object.manufacturer|default:'' }}
-
-
Model
+
+
+ {% trans 'Model' %} +
{{ object.model|default:'' }}
-
-
Serial Number
+
+
+ {% trans 'Serial Number' %} +
{{ object.last_evidence.doc.device.serialNumber|default:'' }}
{% endif %} -
-
Identifiers
+ +
+
+ {% trans 'Identifiers' %} +
{% for chid in object.hids %} -
+
{{ chid|default:'' }}
{% endfor %}
-
-