From 84784a850f175cfbdc48101f1be9abd272ab43d3 Mon Sep 17 00:00:00 2001 From: Kendrick Chan Date: Wed, 17 Jan 2018 15:09:57 +0800 Subject: [PATCH] Improve usability of battery and customer forms --- templates/battery/form.html.twig | 199 +++++++++++++++--------------- templates/customer/form.html.twig | 30 ++--- 2 files changed, 114 insertions(+), 115 deletions(-) diff --git a/templates/battery/form.html.twig b/templates/battery/form.html.twig index 8e2a791e..e25270ba 100644 --- a/templates/battery/form.html.twig +++ b/templates/battery/form.html.twig @@ -51,39 +51,38 @@
- -
- - - Unique identifier for this product -
- -
- - -
+
+ + + +
+
+ + + +
- -
- - +
+ + +
- -
+
+
- -
+
+ In months
- -
+
+ - - In months -
-
-
-
-
-

- Specifications -

-
-
- -
- - - In millimeters (mm) -
- -
- - - In millimeters (mm) -
- -
- - - In millimeters (mm) -
-
-
- -
- - - In millimeters (mm) -
- -
- - - In minutes -
-
-
-
-
+ + In months +
+
+
+
+
+

+ Specifications +

+
+
+
+ + + + In millimeters (mm) +
+
+ + + + In millimeters (mm) +
+
+ + + + In millimeters (mm) +
+
+
+
+ + + + In millimeters (mm) +
+
+ + + + In minutes +
+
+
+ +
diff --git a/templates/customer/form.html.twig b/templates/customer/form.html.twig index 79a4bdb8..13790b3e 100644 --- a/templates/customer/form.html.twig +++ b/templates/customer/form.html.twig @@ -48,20 +48,20 @@
- -
- - -
- -
- - -
+
+ + + +
+
+ + + +
@@ -1018,4 +1018,4 @@ var vehicleTable = $("#data-vehicles").mDatatable(vehicleOptions); }); -{% endblock %} \ No newline at end of file +{% endblock %}