Hotel/hotel/rooms/templates/index.html

34 lines
765 B
HTML
Raw Normal View History

2019-01-13 15:17:14 +01:00
{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
2019-01-13 15:17:14 +01:00
<link rel="stylesheet" type="text/css" href="{% static 'style.css' %}">
<meta charset="UTF-8">
2019-01-13 15:17:14 +01:00
<title>Hotel INO Scrum</title>
</head>
<body>
2019-01-13 15:17:14 +01:00
<table id="hotels">
<th>Numer pokoju</th>
<th>Typ pokoju</th>
<th>Cena</th>
2019-01-13 15:17:14 +01:00
<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 %}
2019-01-13 15:17:14 +01:00
MIEJSCE NA PRZYCISK
{% endif %}
</td>
</tr>
{% endfor %}
</table>
</body>
2019-01-13 15:17:14 +01:00
</html>