From 87d32d9c64f88aa43387cc8d6577973a682040d2 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Mon, 18 Jun 2018 19:24:10 +0530 Subject: [PATCH] storage: Remove unnecessary column sizing - Convert a div to a paragraph to get proper margins. Signed-off-by: Manish Tripathy Signed-off-by: Sunil Mohan Adapa Reviewed-by: Sunil Mohan Adapa --- plinth/modules/storage/templates/storage.html | 77 +++++++++---------- 1 file changed, 37 insertions(+), 40 deletions(-) diff --git a/plinth/modules/storage/templates/storage.html b/plinth/modules/storage/templates/storage.html index 2cf31128b..ab65cc12e 100644 --- a/plinth/modules/storage/templates/storage.html +++ b/plinth/modules/storage/templates/storage.html @@ -44,47 +44,44 @@

{% endif %} -
{% trans "The following disks are in use:" %}
-
-
- - - - - - - - - - - {% for disk in disks %} - - - - - + + {% endfor %} + +
{% trans "Device" %}{% trans "Mount Point" %}{% trans "Type" %}{% trans "Used" %}
{{ disk.dev_kname }}{{ disk.mount_point }}{{ disk.file_system_type }} -
- {% if disk.percent_used < 75 %} -
- {{ disk.percent_used }}% -
+

{% trans "The following disks are in use:" %}

+ + + + + + + + + + + + {% for disk in disks %} + + + + + - - {% endfor %} - -
{% trans "Device" %}{% trans "Mount Point" %}{% trans "Type" %}{% trans "Used" %}
{{ disk.dev_kname }}{{ disk.mount_point }}{{ disk.file_system_type }} +
+ {% if disk.percent_used < 75 %} +
+ {{ disk.percent_used }}%
-
{{ disk.used_str }} / {{ disk.size_str }}
-
-
- + +
{{ disk.used_str }} / {{ disk.size_str }}
+

{% trans "Partition Expansion" %}

{% if expandable_root_size %}