diff --git a/src/applets/disks/disks.html b/src/applets/disks/disks.html index 0f8f601..c7d34bd 100644 --- a/src/applets/disks/disks.html +++ b/src/applets/disks/disks.html @@ -1,17 +1,25 @@ {% extends "layout.html" %} {% block body %} -
Proposed layout:
+There are {{ blockdevs["blockdevices"]|count }} block devices detected.
+They are
Physical disk: TOSHIBA HDWD120 (2000 GB)Healthy
+{% for disk in blockdevs["blockdevices"] %} +Diskname: {{ disk['name'] }}
+Model: {{ disk['model'] }}
+Serial: {{ disk['serial'] }}
+Removable: {{ disk['rm'] }}
+Size: {{ (disk['size'] | int) / 1024000000 | round(2) }} GiB
+ID: {{disk['id'] }}
+pttype: {{disk['pttype'] }}
+Maj:min: {{disk['maj:min']}}
+phy-sec: {{ disk['phy-sec'] }}. log-sec: {{ disk['log-sec'] }}
+There are {{ disk['children']|count }} Children
+{% for child in disk['children'] %} +Name: {{ child['name'] }}. Path: {{ child['path'] }}. {{ child['size'] }}. Block: {{ child['subsystems'] }} {{ child['maj:min'] }} {{ child['type'] }}
+Fstype: {{ child['fstype'] }}. Label: {{ child['label'] }}. Rota: {{ child['rota'] }}
+ Parttypename: {{ child['parttypename'] }}
+
+{% endfor %}
+
+{% endfor %}
+
+
Proposed layout:
Physical disk: TOSHIBA HDWD120 (2000 GB)
+
+
Physical disk: TOSHIBA HDWD120 (2000 GB)
-
+
-