53 lines
No EOL
1.6 KiB
HTML
53 lines
No EOL
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link rel="stylesheet" href="/static/style.css">
|
|
<title>Document</title>
|
|
</head>
|
|
<body>
|
|
<form name="order" onsubmit="return validateForm()" action="{{ url_for('order_get') }}" method="POST" class="flex-container">
|
|
<li class="box desk-nr">Tisch Nummer
|
|
<div>
|
|
<select name="desk" class="desk-select">
|
|
{% for e in range(1, MAX_DESKS+1) %}
|
|
|
|
{% if desk == e %}
|
|
<option selected>{{e}}</option>
|
|
|
|
{% else %}
|
|
<option>{{e}}</option>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</select>
|
|
</div>
|
|
</li>
|
|
<li class="box content">Menu
|
|
{% for category in orderableItems.get('products') %}
|
|
|
|
|
|
<div>
|
|
<details>
|
|
<summary>{{ category }}</summary>
|
|
|
|
|
|
{% for product in orderableItems.get('products').get(category)%}
|
|
|
|
<div class="products" id="{ product['name'] }">
|
|
{{product['name']}}
|
|
<input id="points" type="number" value=0 name="{{ "order-name." + product['name'] }}" step="1">
|
|
</div>
|
|
|
|
{% endfor %}
|
|
</details>
|
|
</div>
|
|
{% endfor %}
|
|
|
|
|
|
</li>
|
|
|
|
<button type="submit" class="box order">Weiter</button>
|
|
</form>
|
|
</body>
|
|
</html> |