49 lines
918 B
HTML
49 lines
918 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Sitzplan</title>
|
|
<style>
|
|
body {
|
|
font-family: Arial;
|
|
text-align: center;
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, 120px);
|
|
gap: 10px;
|
|
justify-content: center;
|
|
margin-top: 50px;
|
|
}
|
|
|
|
.seat {
|
|
border: 2px solid black;
|
|
padding: 20px;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.seat .nachricht {
|
|
margin-top: 8px;
|
|
color: #2563eb;
|
|
font-size: 0.85em;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>Sitzplan</h1>
|
|
|
|
<div class="grid">
|
|
{% for platz in sitzplan %}
|
|
<div class="seat">
|
|
{{ platz.name }}
|
|
{% if platz.nachricht %}
|
|
<div class="nachricht">{{ platz.nachricht }}</div>
|
|
{% endif %}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|