new theme!
This commit is contained in:
parent
baa3a02a15
commit
d960a1413c
1 changed files with 120 additions and 77 deletions
|
@ -1,86 +1,129 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" data-theme="light">
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="https://unpkg.com/sakura.css/css/sakura.css" type="text/css">
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.5">
|
||||
<title>Pannenkoekenwachtrij</title>
|
||||
<link href="https://cdn.jsdelivr.net/npm/tuicss@2.1.1/dist/tuicss.min.css" rel="stylesheet"/>
|
||||
<style>
|
||||
body {
|
||||
max-width: 54em;
|
||||
.tui-window {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.col {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.row {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
td, th {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.tui-table tbody tr td {
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<main class="container">
|
||||
<h1>Welkom bij de pannenkoekenwachtrij</h1>
|
||||
<div class="grid">
|
||||
<body class="tui-bg-green-black">
|
||||
<div style="position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80%">
|
||||
<div class="container" style="width: 100%">
|
||||
<div class="row">
|
||||
<div class="col m12">
|
||||
<div class="tui-window red-168">
|
||||
<fieldset class="tui-fieldset">
|
||||
Welkom bij de pannenkoekenwachtrij
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col m12">
|
||||
<div class="tui-window red-168">
|
||||
<fieldset class="tui-fieldset">
|
||||
<form action="/add_person" method="POST">
|
||||
<label for="name">
|
||||
Naam van de volgende
|
||||
<input type="text" id="name" name="name"></label>
|
||||
<label for="remark">
|
||||
Specifieke opmerkingen
|
||||
<input type="text" id="remark" name="remark">
|
||||
</label>
|
||||
<p><input type="submit" value="Persoon toevoegen"></p>
|
||||
<div class="row">
|
||||
<div class="col m12" style="display: inline-flex">
|
||||
Naam van de volgende:
|
||||
<input class="tui-input" type="text" id="name" name="name" style="margin-left: 10px; flex: 1">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col m12" style="display: inline-flex">
|
||||
Specifieke opmerkingen:
|
||||
<input class="tui-input" type="text" id="remark" name="remark" style="margin-left: 10px; flex: 1">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row" style="margin-bottom: 10px">
|
||||
<div class="col m12" style="display: inline-flex">
|
||||
<input class="tui-button green-168" type="submit" value="Persoon toevoegen" style="flex: 1; margin-bottom: 0px;">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col m12">
|
||||
<div class="tui-window red-168">
|
||||
<fieldset class="tui-fieldset">
|
||||
<form action="/status_update" method="POST">
|
||||
<input type="hidden" name="index" value="0">
|
||||
<p><input type="submit" value="Update First Person"></p>
|
||||
<input class="tui-button green-168" type="submit" value="Update First Person" style="width: 100%">
|
||||
</form>
|
||||
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col m12">
|
||||
<div class="tui-window red-168">
|
||||
<fieldset class="tui-fieldset">
|
||||
<h2>Zie hieronder de lijst van personen die een pannenkoek willen</h2>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Huidige status</th>
|
||||
<th>Bestel tijd</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<table class="tui-table" style="width: 100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td colspan="4" style='text-align:center; vertical-align:middle; background-color: #dcdcdc'>Volgende
|
||||
persoon
|
||||
</td>
|
||||
<td colspan="4" style="text-align:center; vertical-align:middle; padding-top: 20px">Volgende persoon</td>
|
||||
</tr>
|
||||
{% for person in people[:1] %}
|
||||
<tr>
|
||||
<th>{{ person.get_name() + person.get_remark() }}</th>
|
||||
<td>{{ person.get_name() + person.get_remark() }}</td>
|
||||
<td>{{ person.get_status() }}</td>
|
||||
<td>{{ person.order_time_humanized() if person.order_time else "Unknown" }}</td>
|
||||
<td>
|
||||
<form action="/status_update" method="POST">
|
||||
<input type="hidden" name="name" value="{{ person.get_name() }}">
|
||||
<input type="submit" value="Update">
|
||||
<input class="tui-button green-168" type="submit" value="Update">
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
<tr>
|
||||
<td colspan="4" style='text-align:center; vertical-align:middle; background-color: #dcdcdc'>Andere
|
||||
personen
|
||||
</td>
|
||||
<td colspan="4" style='text-align:center; vertical-align:middle'>Andere personen</td>
|
||||
</tr>
|
||||
{% for person in people[1:] %}
|
||||
<tr>
|
||||
<th>{{ person.get_name() + person.get_remark() }}</th>
|
||||
<td>{{ person.get_name() + person.get_remark() }}</td>
|
||||
<td>{{ person.get_status() }}</td>
|
||||
<td>{{ person.order_time_humanized() if person.order_time else "Unknown" }}</td>
|
||||
<td>
|
||||
<form action="/status_update" method="POST">
|
||||
<input type="hidden" name="name" value="{{ person.get_name() }}">
|
||||
<input type="submit" value="Update">
|
||||
<input class="tui-button green-168" type="submit" value="Update">
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</main>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue