Added distinction between first and other people
This commit is contained in:
parent
2e40788bdb
commit
3cc0857973
1 changed files with 16 additions and 2 deletions
|
@ -1,6 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<style>
|
||||
body {
|
||||
background-color: #303030;
|
||||
color: white;
|
||||
}
|
||||
</style>
|
||||
<meta charset="UTF-8">
|
||||
<title>Pannenkoekenwachtrij</title>
|
||||
</head>
|
||||
|
@ -20,8 +26,16 @@
|
|||
</form>
|
||||
|
||||
<h2>Zie hieronder de lijst van personen die een pannenkoek willen</h2>
|
||||
<h3>Volgende Persoon:</h3>
|
||||
{% if people %}
|
||||
<tr>
|
||||
<th>{{ people[0].getName() + people[0].getRemark() + ": " }}</th>
|
||||
<td>{{ "Huidige status: " + people[0].getStatus() }}</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
<h3>Andere Personen:</h3>
|
||||
<table>
|
||||
{% for person in people %}
|
||||
{% for person in people[1:] %}
|
||||
<tr>
|
||||
<th>{{ person.getName() + person.getRemark() + ": " }}</th>
|
||||
<td>{{ "Huidige status: " + person.getStatus() }}</td>
|
||||
|
@ -30,4 +44,4 @@
|
|||
</table>
|
||||
</header>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue