Hotel/hotel/rooms/templates/error.html

29 lines
802 B
HTML
Raw Normal View History

2019-01-22 22:20:06 +01:00
{% 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>
2019-01-30 21:46:01 +01:00
<body onLoad="changeBackground(imageUrl = 'static/images/background5.jpg')">
2019-01-22 22:20:06 +01:00
<br>
<center>
<div id="reservationbox">
{{ error }}
</div>
<br>
<a href="{% url 'index' %}"><button>Wróć na stronę główną</button></a>
</center>
</body>
</html>