Added container dropdown. Modified container-dropdown onchange event.

This commit is contained in:
2018-11-11 20:45:08 +01:00
parent 3788060c78
commit 863ce49e98
2 changed files with 19 additions and 5 deletions
+4 -1
View File
@@ -44,11 +44,14 @@
<table id="details">
<tr id="location-head"><td>LOCATION</td></tr>
<tr id="location"><td><p></p>
<select class="pinfo-input" onchange="update_map()">
<select class="pinfo-input" id="container-dorpdown" onchange="container_onchange()">
{% for container in containers %}
<option value="{{container['id']}}">{{container['name']}}</option>
{% endfor %}
</select>
<select id="location-dropdown">
<option value="-1">-- Select a container --</option>
</select>
</td></tr>
<tr id="partno-head"><td>PART NUMBER</td></tr>
<tr id="partno"><td><p></p><input type="text" name="partno-input" placeholder="Part Number" class="pinfo-input"/></td></tr>