aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSean Dolan <sed9182@rit.edu>2019-07-28 13:05:18 -0400
committerSean Dolan <sed9182@rit.edu>2019-07-28 13:05:18 -0400
commit9b2917bfc6d370ea5ff7bf156bb0f63268f8957e (patch)
treeab096d9e96d9c5fdb4b0e2bdfdfb455631f27b51 /templates
parent92532e125130b1bf51d070c0f410e37f9a24a2c1 (diff)
changed dropdowns based on new requirements; template auto-update
Diffstat (limited to 'templates')
-rw-r--r--templates/beerpage.jinja227
1 files changed, 11 insertions, 16 deletions
diff --git a/templates/beerpage.jinja2 b/templates/beerpage.jinja2
index 23ed6bf..6202422 100644
--- a/templates/beerpage.jinja2
+++ b/templates/beerpage.jinja2
@@ -17,25 +17,20 @@
</tr>
</table>
</div>
- <div id="machine">
+ <div class="row">
<select>
+ <option value="3">Much more</option>
+ <option value="2">More</option>
+ <option value="1">Little more</option>
+ <option value="-1">Little less</option>
+ <option value="-2">Less</option>
+ <option value="-3">Much less</option>
</select>
- </div>
-
- <div class="row">
- {% for attr in attrs %}
- <div class="col col-3">
- <select class="form-control" name="{{ attr }}">
- <option value="-3">A lot less {{ attr }}</option>
- <option value="-2">Less {{ attr }}</option>
- <option value="-1">A little less {{ attr }}</option>
- <option value="0" selected>Same {{ attr }}</option>
- <option value="1">A little more {{ attr }}</option>
- <option value="2">More {{ attr }}</option>
- <option value="3">A lot more {{ attr }}</option>
- </select>
- </div>
+ <select>
+ {% for attr in attrs %}
+ <option value="{{ attr }}"> {{ attr }}</option>
{% endfor %}
+ </select>
</div>
{% endblock %}