diff --git a/ereuse_devicehub/templates/inventory/erasure.html b/ereuse_devicehub/templates/inventory/erasure.html index faf4bb7e..67bfa1ad 100644 --- a/ereuse_devicehub/templates/inventory/erasure.html +++ b/ereuse_devicehub/templates/inventory/erasure.html @@ -12,6 +12,7 @@ @page { size: A4 portrait; /* can use also 'landscape' for orientation */ margin: 1.0cm 1.5cm 3.5cm 1.5cm; + font-family: "Source Sans Pro", Calibri, Candra, Sans serif; @top { content: element(header); @@ -58,6 +59,10 @@ img {max-height: 150px; width: auto;} .company-logo {float: left;} .customer-logo {float: right;} + .page-break:not(section:first-of-type) { + page-break-before: always + } +} @@ -241,9 +246,7 @@ -

- -
+

Devices Summary

@@ -281,191 +284,39 @@
-

-
-
-
-

1927E18B43F4

-
-
-
-
- Result -
-
- Failed -
-
-
-
- Storage Drive -
-
-
-
-
-
- Manufacturer: -
-
- Crucial -
-
-
-
- Model: -
-
- CT240BX500ssd1 -
-
-
-
- SN: -
-
- 1927E18B43F4 -
-
-
-
- Storage Medium: -
-
- SSD -
-
-
-
- Connector: -
-
- SAS -
-
-
-
- Size: -
-
- 240GB -
-
-
-
-
-
- Method -
-
-
-
-
-
- Name: -
-
- Baseline -
-
-
-
- Standard: -
-
- NIST SP-800-88 -
-
-
-
- Removal process: -
-
- Overwriting -
-
-
-
- Program: -
-
- Shred -
-
-
-
- Verification status: -
-
- No -
-
-
-
- Detected bad sectors: -
-
- - -
-
-
-
- Hidden areas: -
-
- No -
-
-
-
- Warnings: -
-
- No -
-
-
-
- Overwriting steps -
-
- 1 (0) -
-
-
-
- Step: -
-
- 1 -
-
-
-
- Date Init: -
-
- 2022-12-20 11:00:24 -
-
-
-
- Date End: -
-
- 2022-12-20 11:26:24 -
-
-
-
- Duration: -
-
- 0:26:00 -
-
-
-
+{% for erasure in erasures %} +
+

{{ erasure.device.__format__('t') }}

+
+
Data storage:
+
{{ erasure.device.__format__('ts') }}
+ +
Computer where was erase:
+
Title: {{ erasure.parent.__format__('ts') }}
+
DevicehubID: {{ erasure.parent.dhid }}
+
Hid: {{ erasure.parent.hid }}
+
Tags: {{ erasure.parent.tags }}
+ +
Computer where it resides:
+
Title: {{ erasure.device.parent.__format__('ts') }}
+
DevicehubID: {{ erasure.device.parent.dhid }}
+
Hid: {{ erasure.device.parent.hid }}
+
Tags: {{ erasure.device.parent.tags }}
+ +
Erasure:
+
{{ erasure.__format__('ts') }}
+ {% if erasure.steps %} +
Erasure steps:
+
+
    + {% for step in erasure.steps %} +
  1. {{ step.__format__('') }}
  2. + {% endfor %} +
+
+ {% endif %} +
+{% endfor %} \ No newline at end of file