Added distinction between first and other people

This commit is contained in:
hannes-kl 2019-02-13 21:40:23 +01:00
parent 2e40788bdb
commit 3cc0857973
1 changed files with 16 additions and 2 deletions

View File

@ -1,6 +1,12 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<style>
body {
background-color: #303030;
color: white;
}
</style>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Pannenkoekenwachtrij</title> <title>Pannenkoekenwachtrij</title>
</head> </head>
@ -20,8 +26,16 @@
</form> </form>
<h2>Zie hieronder de lijst van personen die een pannenkoek willen</h2> <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> <table>
{% for person in people %} {% for person in people[1:] %}
<tr> <tr>
<th>{{ person.getName() + person.getRemark() + ": " }}</th> <th>{{ person.getName() + person.getRemark() + ": " }}</th>
<td>{{ "Huidige status: " + person.getStatus() }}</td> <td>{{ "Huidige status: " + person.getStatus() }}</td>
@ -30,4 +44,4 @@
</table> </table>
</header> </header>
</body> </body>
</html> </html>