2019-01-30 17:54:05 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>Pannenkoekenwachtrij</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header>
|
|
|
|
<h1>Welkom bij de pannenkoekenwachtrij</h1>
|
|
|
|
|
|
|
|
<form action="/addPerson" method="POST">
|
|
|
|
<p>Naam van de volgende <input type="text" name="name"></p>
|
|
|
|
<p>Specifieke opmerkingen <input type="text" name="remark"></p>
|
|
|
|
<p><input type="submit" value="Persoon toevoegen"></p>
|
|
|
|
</form>
|
|
|
|
|
2019-01-30 18:37:09 +01:00
|
|
|
<form action="/statusUpdate" method="POST">
|
|
|
|
<p>Up te daten persoon <input type="text" name="name"></p>
|
|
|
|
<p><input type="submit" value="Updaten"></p>
|
|
|
|
</form>
|
|
|
|
|
2019-01-30 17:54:05 +01:00
|
|
|
<h2>Zie hieronder de lijst van personen die een pannenkoek willen</h2>
|
|
|
|
<table>
|
|
|
|
{% for person in people %}
|
|
|
|
<tr>
|
|
|
|
<th>{{ person.getName() + person.getRemark() + ": " }}</th>
|
|
|
|
<td>{{ "Huidige status: " + person.getStatus() }}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
</header>
|
|
|
|
</body>
|
|
|
|
</html>
|