diff --git a/device/templates/device_web.html b/device/templates/device_web.html index 90aa5dd..85d6f04 100644 --- a/device/templates/device_web.html +++ b/device/templates/device_web.html @@ -1,81 +1,173 @@ -{% extends 'base.html' %} - -{% block content %} - -

{{ title }}

- -
Details
-
-
Phid
-
{{ object.id }}
-
- -
-
Type
-
{{ object.type }}
-
- - {% if object.is_websnapshot %} - {% for k, v in object.last_user_evidence %} -
-
{{ k }}
-
{{ v|default:'' }}
-
- {% endfor %} - {% else %} -
-
Manufacturer
-
{{ object.manufacturer|default:'' }}
-
+ + + + + + {{ title }} + + + + + +
+

{{ title }}

-
Model
-
{{ object.model|default:'' }}
-
+
+

Details

+
+
Phid
+
+
{{ object.id }}
+
+
+
+
Type
+
{{ object.type }}
+
-
-
Serial Number
-
{{ object.last_evidence.doc.device.serialNumber|default:'' }}
-
- {% endif %} -
-
Identifiers
-
- {% for chid in object.hids %} -
-
{{ chid|default:'' }}
-
- {% endfor %} - - - {% comment %}

User Anotations

{% endcomment %} - -

Components

-
+

Components

+
+ {% for c in object.last_evidence.doc.components %} +
+
+
+
{{ c.type }}
+

+ Manufacturer: {{ c.manufacturer }}
+ Model: {{ c.model }}
+ Serial Number: {{ c.serialNumber }} +

+ {{ evidence.created }} +
+
+
+ {% endfor %} +
-

Last Evidence Snapshot

-

{{ snapshot }}

+

Last Evidence Snapshot

+
+
+

{{ snapshot }}

+
+
+
- {% comment %}

Lot Tags

- {% endcomment %} -{% endblock %} + + + + + \ No newline at end of file