diff --git a/device/templates/details.html b/device/templates/details.html index b731597..e2a5874 100644 --- a/device/templates/details.html +++ b/device/templates/details.html @@ -2,46 +2,9 @@ {% load i18n %} {% block content %} -
-
-

{{ object.shortid }}

-
-
- -
-
- -
-
-
- -
-
Details
-
-
Phid
-
{{ object.id }}
+
+
+

{{ object.shortid }}

@@ -49,25 +12,25 @@
@@ -85,61 +48,18 @@
{{ object.type }}
- - Add new document - - -
- -
Documents
- - - - - - - - - - - - {% for a in object.get_user_documents %} - - - - - - - - {% endfor %} - - -
KeyValueCreated on
{{ a.key }}{{ a.value }}{{ a.created }}
-
- -
-
Components last evidence
-
- {% for c in object.components %} -
-
-
{{ c.type }}
- {{ evidence.created }} + {% if object.is_websnapshot %} + {% for k, v in object.last_user_evidence %} +
+
{{ k }}
+
{{ v|default:'' }}
+
+ {% endfor %} + {% else %} +
+
Manufacturer
+
{{ object.manufacturer|default:'' }}
-

- {% for k, v in c.items %} - {% if k not in "actions,type" %} - {{ k }}: {{ v }}
- {% endif %} - {% endfor %} -
-

- - -
- {% endfor %} -
-
Model
@@ -248,16 +168,19 @@
Components last evidence
- {% for c in object.last_evidence.doc.components %} + {% for c in object.components %}
{{ c.type }}
{{ evidence.created }}

- {{ c.manufacturer }}
- {{ c.model }}
- {{ c.serialNumber }}
+ {% for k, v in c.items %} + {% if k not in 'actions,type' %} + {{ k }}: {{ v }}
+ {% endif %} + {% endfor %} +

@@ -284,3 +207,24 @@
{% endblock %} + +{% block extrascript %} + +{% endblock %}