29 lines
800 B
HTML
29 lines
800 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>Rezerwacja</title>
|
|
<script>
|
|
function changeBackground(imageUrl) {
|
|
if(imageUrl != null) {
|
|
document.body.style.background = "url(" + imageUrl + ") no-repeat center center fixed";
|
|
document.body.style.backgroundSize = "cover";
|
|
localStorage.backgroundImage = imageUrl;
|
|
}
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onLoad="changeBackground(imageUrl = localStorage.backgroundImage)">
|
|
<br>
|
|
<center>
|
|
<div id="reservationbox">
|
|
{{ status }}
|
|
</div>
|
|
<br>
|
|
<a href="{% url 'index' %}"><button>Wróć na stronę główną</button></a>
|
|
</center>
|
|
</body>
|
|
</html>
|