From fee98f9d304bdbbe0cacf48a9308198afd936af4 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Mon, 17 Oct 2022 11:35:14 +0200 Subject: [PATCH] second version of layout for settings --- .../templates/workbench/settings.html | 193 ++++++------------ ereuse_devicehub/workbench/__init__.py | 4 +- ereuse_devicehub/workbench/views.py | 6 +- 3 files changed, 63 insertions(+), 140 deletions(-) diff --git a/ereuse_devicehub/templates/workbench/settings.html b/ereuse_devicehub/templates/workbench/settings.html index c302f0b7..c4c31139 100644 --- a/ereuse_devicehub/templates/workbench/settings.html +++ b/ereuse_devicehub/templates/workbench/settings.html @@ -68,7 +68,7 @@
-
+
@@ -82,122 +82,13 @@
-
+
-
-
- - {% if demo %}
-
- -
-
- -
-
Usody Metadata Snapshots
-
- -
-

- Download Checksum: SHA512SUM | - Help

-

-
-
-
-
- -
- -
-
-
-
- - {% else %} - {% for d, v in iso.items() %} - {% if d != 'demo' %} -
-
- -
-
- -
-
Workbench {{ d }}
- {% if d == 'v14' %} -
- -
-

- Settings for basic data erasure. | Help -

-
-
-
- -
-

- Settings for advanced data erasure through sectors and hidden areas. Guarantee of data removal. | Help -

-
-
- {% else %} -
- -
-

- Settings for register devices. -

-
-
- {% endif %} - {% if iso %} -
-
- -
-

- {{ v.iso }} -

-

- Download Checksum: SHA512SUM | - Help

-

-
-
- {% endif %} -
-
- -
- -
-
-
-
- {% endif %} - {% endfor %} - - {% endif %} - - -
@@ -208,12 +99,14 @@

- Download Checksum: SHA512SUM | - Help

+ Download Checksum: SHA512SUM | + Help

@@ -222,16 +115,22 @@
-

HW and Smart test

- Download settings file +
Hardware Capture
+

HW Metadata Capture and Smart test

+ Download settings file
-
+ + + + {% if not demo %} +
+
@@ -240,12 +139,14 @@

- Download Checksum: SHA512SUM | - Help

+ Download Checksum: SHA512SUM | + Help

@@ -254,14 +155,14 @@
+
Basic Erasure

- Settings for basic data erasure using shred fast non-100% secured way of erasing data storage. -

-

- One overwriting round using a randomn pattern. - Compliant with British HMG Infosec Standard 5, - Baseline Standard + Settings for basic data erasure using shred Linux command. + A software-based fast non-100%-secured way of erasing data storage.

+

+ Performs 1 pass overwriting one round using all zeros. Compliant with NIST SP-800-88 +

@@ -269,20 +170,42 @@
+
+
Baseline Secure Erasure

- Settings for basic data erasure using shred fast non-100% secured way of erasing data storage. + Settings for advanced data erasure using badblocks Linux software. + A secured-way of erasing data storages, erase hidden areas, checking the erase sector by sector.

- Settings for basic data erasure using shred fast non-100% secured way of erasing data storage. + Performs 1 pass overwriting each sector with zeros and a final verification. + Compliant with HMG Infosec Standard 5 Baseline. +

+ + Download settings file + +
+
+ +
+
+
Enhanced Secure Erasure
+

+ Settings for advanced data erasure using badblocks Linux software. + A secured-way of erasing data storages, erase hidden areas, checking the erase sector by sector.

- One overwriting round using a randomn pattern. - Compliant with British HMG Infosec Standard 5, - Baseline Standard -

- Download settings file + Performs 3 passes overwriting every sector with zeros and ones, and final verification. + Compliant with HMG Infosec Standard 5 Enhanced. +

+ + Download settings file +
@@ -291,11 +214,9 @@
- -
-
+ {% endif %} {% endblock main %} diff --git a/ereuse_devicehub/workbench/__init__.py b/ereuse_devicehub/workbench/__init__.py index bf0e2926..bd4530a4 100644 --- a/ereuse_devicehub/workbench/__init__.py +++ b/ereuse_devicehub/workbench/__init__.py @@ -3,11 +3,11 @@ isos = { 'iso': "USODY_2022.8.0-Demo.iso", 'url': 'http://releases.usody.com/demo/', }, - "2022": { + "register": { 'iso': "USODY_2022.8.0-beta.iso", 'url': 'http://releases.usody.com/2022/', }, - "v14": { + "erease": { 'iso': "USODY_14.0.0.iso", 'url': 'http://releases.usody.com/v14/', }, diff --git a/ereuse_devicehub/workbench/views.py b/ereuse_devicehub/workbench/views.py index 60c34fd3..28842826 100644 --- a/ereuse_devicehub/workbench/views.py +++ b/ereuse_devicehub/workbench/views.py @@ -23,7 +23,7 @@ class SettingsView(GenericMixin): decorators = [login_required] methods = ['GET', 'POST'] template_name = 'workbench/settings.html' - page_title = "Workbench" + page_title = "Snapshots" def dispatch_request(self): self.get_context() @@ -32,7 +32,9 @@ class SettingsView(GenericMixin): { 'page_title': self.page_title, 'demo': g.user.email == app.config['EMAIL_DEMO'], - 'iso': isos, + 'iso_demo': isos['demo'], + 'iso_register': isos['register'], + 'iso_erease': isos['erease'], 'form': form_kangaroo, } )