style part 3
This commit is contained in:
parent
a2bc0b224e
commit
be223cf8ac
BIN
hotel/db.sqlite3
BIN
hotel/db.sqlite3
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -39,3 +39,12 @@ a {
|
||||
text-decoration: none !important;
|
||||
color: black;
|
||||
}
|
||||
#reservationbox {
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
font-size: 30px;
|
||||
background-color: white;
|
||||
color: black;
|
||||
width: 60%;
|
||||
padding: 30px;
|
||||
border: 2px solid grey;
|
||||
}
|
||||
|
@ -21,13 +21,19 @@
|
||||
<td>{{ room.price }} zł</td>
|
||||
<td>
|
||||
{% if room.reserved %}
|
||||
ZAREZERWOWANE
|
||||
<form action="{% url 'reservation' %}" method="POST">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="room" value="{{ room.room_number }}">
|
||||
<div class="button-box" >
|
||||
<button>Rezerwuj</button>
|
||||
</div>
|
||||
</form>
|
||||
{% else %}
|
||||
<form action="{% url 'reservation' %}" method="POST">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="room" value="{{ room.room_number }}">
|
||||
<div class="button-box" >
|
||||
<button>Zarezerwuj</button>
|
||||
<button>Rezerwuj</button>
|
||||
</div>
|
||||
</form>
|
||||
{% endif %}
|
||||
|
@ -1,10 +1,19 @@
|
||||
{% load static %}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<link rel="stylesheet" type="text/css" href="{% static 'style.css' %}">
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
<title>Zarezerwowano pokój</title>
|
||||
</head>
|
||||
<body>
|
||||
{{ status }}
|
||||
<br>
|
||||
<center>
|
||||
<div id="reservationbox">
|
||||
{{ status }}
|
||||
</div>
|
||||
<br>
|
||||
<button>Wróć na stronę główną</button>
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user