Hotel/hotel/rooms/templates/index.html
2019-01-13 15:17:14 +01:00

34 lines
765 B
HTML

{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" type="text/css" href="{% static 'style.css' %}">
<meta charset="UTF-8">
<title>Hotel INO Scrum</title>
</head>
<body>
<table id="hotels">
<th>Numer pokoju</th>
<th>Typ pokoju</th>
<th>Cena</th>
<th>Rezerwacja</th>
{% for room in rooms %}
<tr>
<td>{{ room.room_number }}</td>
<td>{{ room.room_type }}</td>
<td>{{ room.price }} zł</td>
<td>
{% if room.reserved %}
ZAREZERWOWANE
{% else %}
MIEJSCE NA PRZYCISK
{% endif %}
</td>
</tr>
{% endfor %}
</table>
</body>
</html>