diff --git a/hotel/db.sqlite3 b/hotel/db.sqlite3 index 0ba0880..64b0294 100644 Binary files a/hotel/db.sqlite3 and b/hotel/db.sqlite3 differ diff --git a/hotel/rooms/__pycache__/models.cpython-36.pyc b/hotel/rooms/__pycache__/models.cpython-36.pyc index 1550250..3e02ac8 100644 Binary files a/hotel/rooms/__pycache__/models.cpython-36.pyc and b/hotel/rooms/__pycache__/models.cpython-36.pyc differ diff --git a/hotel/rooms/__pycache__/urls.cpython-36.pyc b/hotel/rooms/__pycache__/urls.cpython-36.pyc index 133b3a7..c5183b7 100644 Binary files a/hotel/rooms/__pycache__/urls.cpython-36.pyc and b/hotel/rooms/__pycache__/urls.cpython-36.pyc differ diff --git a/hotel/rooms/__pycache__/views.cpython-36.pyc b/hotel/rooms/__pycache__/views.cpython-36.pyc index 4658c51..90cc44c 100644 Binary files a/hotel/rooms/__pycache__/views.cpython-36.pyc and b/hotel/rooms/__pycache__/views.cpython-36.pyc differ diff --git a/hotel/rooms/static/style.css b/hotel/rooms/static/style.css index 5cd71f3..71fd2a1 100644 --- a/hotel/rooms/static/style.css +++ b/hotel/rooms/static/style.css @@ -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; +} diff --git a/hotel/rooms/templates/index.html b/hotel/rooms/templates/index.html index 6a3b8d6..3e7ad32 100644 --- a/hotel/rooms/templates/index.html +++ b/hotel/rooms/templates/index.html @@ -21,13 +21,19 @@ {{ room.price }} zł {% if room.reserved %} - ZAREZERWOWANE +
+ {% csrf_token %} + +
+ +
+
{% else %}
{% csrf_token %}
- +
{% endif %} diff --git a/hotel/rooms/templates/reservation.html b/hotel/rooms/templates/reservation.html index c0ba886..43cdf0b 100644 --- a/hotel/rooms/templates/reservation.html +++ b/hotel/rooms/templates/reservation.html @@ -1,10 +1,19 @@ +{% load static %} + - Title + Zarezerwowano pokój -{{ status }} +
+
+
+ {{ status }} +
+
+ +
- \ No newline at end of file +