From bb588b10d2492c5b97275a01b62ae8ef91945e4a Mon Sep 17 00:00:00 2001 From: Santiago Lamora Date: Mon, 7 Mar 2022 18:28:45 +0100 Subject: [PATCH] Refactor HTML: use d-flex --- .../templates/inventory/device_list.html | 46 +++++++------------ 1 file changed, 17 insertions(+), 29 deletions(-) diff --git a/ereuse_devicehub/templates/inventory/device_list.html b/ereuse_devicehub/templates/inventory/device_list.html index 4736f1a1..7575cf0f 100644 --- a/ereuse_devicehub/templates/inventory/device_list.html +++ b/ereuse_devicehub/templates/inventory/device_list.html @@ -32,36 +32,24 @@
-
- -
- {% if lot and lot.is_temporary %} - - - - Remove Lot - - {% endif %} -
-
- {% if lot and lot.is_temporary %} - - - Add supplier - - {% endif %} -
-
- {% if lot and lot.is_temporary %} - - - Add receiver - - {% endif %} -
+
+

{{ lot.name }}

+ +
+ {% if lot.is_temporary %} + + + Remove Lot + + + Add supplier + + + Add receiver + + {% endif %}
+
{% endif %}