Nav active highlighting; reorder add battery form; export/import icons
This commit is contained in:
+13
-13
@@ -23,6 +23,19 @@
|
||||
style="display:none;margin-top:0.4rem;">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>Size</label>
|
||||
<select id="size-select" onchange="metaSelectChanged(this,'size')">
|
||||
<option value="">— none —</option>
|
||||
{% for opt in ['AA','AAA','C','D','9V','18650','21700','14500','26650','CR2032','CR123A'] %}
|
||||
<option value="{{ opt }}">{{ opt }}</option>
|
||||
{% endfor %}
|
||||
<option value="__new__">Other…</option>
|
||||
</select>
|
||||
<input type="text" id="size" name="size" value=""
|
||||
placeholder="Enter size" style="display:none;margin-top:0.4rem;">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="count">Quantity</label>
|
||||
<input type="number" id="count" name="count" value="{{ form_count|default(1) }}" min="1" max="50">
|
||||
@@ -42,19 +55,6 @@
|
||||
value="" placeholder="e.g. 2000 — optional">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>Size</label>
|
||||
<select id="size-select" onchange="metaSelectChanged(this,'size')">
|
||||
<option value="">— none —</option>
|
||||
{% for opt in ['AA','AAA','C','D','9V','18650','21700','14500','26650','CR2032','CR123A'] %}
|
||||
<option value="{{ opt }}">{{ opt }}</option>
|
||||
{% endfor %}
|
||||
<option value="__new__">Other…</option>
|
||||
</select>
|
||||
<input type="text" id="size" name="size" value=""
|
||||
placeholder="Enter size" style="display:none;margin-top:0.4rem;">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>Chemistry</label>
|
||||
<select id="chemistry-select" onchange="metaSelectChanged(this,'chemistry')">
|
||||
|
||||
Reference in New Issue
Block a user