diff --git a/src/applets/disks/disks.html b/src/applets/disks/disks.html index c7d34bd..1cb217f 100644 --- a/src/applets/disks/disks.html +++ b/src/applets/disks/disks.html @@ -1,31 +1,9 @@ {% extends "layout.html" %} {% block body %} -
How would you like to install Debian?
+How would you like to install Debian?
There are {{ blockdevs["blockdevices"]|count }} block devices detected.
-They are
-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)
There are {{ blockdevs["blockdevices"]|count }} block devices detected.
+They are
+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 %}
+
+
+
+
Would you like fries with that?
+Would you like fries with that?