diff --git a/templates/battery_add.html b/templates/battery_add.html index 433422d..9c4f117 100644 --- a/templates/battery_add.html +++ b/templates/battery_add.html @@ -7,12 +7,17 @@
- + + - - {% for b in brands|default([]) %} + placeholder="Type new brand name" required + style="display:none;margin-top:0.4rem;">
@@ -32,4 +37,34 @@
+ + {% endblock %} diff --git a/templates/device_detail.html b/templates/device_detail.html index 83d8a5b..e046e2a 100644 --- a/templates/device_detail.html +++ b/templates/device_detail.html @@ -29,22 +29,43 @@

Install Batteries

{% set free_slots = device.battery_slots - device.installed_count() %}

{{ free_slots }} slot(s) free

- - {% for b in brands|default([]) %}
-
+
Brand Qty - {% for _ in range(4) %} - + {% for i in range(1, 5) %} +
+ + +
{% endfor %}
+ +