Alpha release
This commit is contained in:
parent
62681acd16
commit
eeda5062ae
14 changed files with 842 additions and 1 deletions
53
Server/Host/templates/index.html
Normal file
53
Server/Host/templates/index.html
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
<!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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue