47 lines
1.2 KiB
HTML
47 lines
1.2 KiB
HTML
{% extends "base.html" %}
|
|
{% load i18n %}
|
|
{% block content %}
|
|
<style>
|
|
.error-page {
|
|
text-align: center;
|
|
margin-top: 100px;
|
|
background-color: #f7f7f7;
|
|
padding: 50px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.error-code {
|
|
font-size: 64px;
|
|
font-weight: bold;
|
|
color: #333;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.error-message {
|
|
font-size: 18px;
|
|
color: #666;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.error-button {
|
|
background-color: #4CAF50;
|
|
color: #fff;
|
|
padding: 10px 20px;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.error-button:hover {
|
|
background-color: #3e8e41;
|
|
}
|
|
</style>
|
|
<div class="error-page">
|
|
<h1 class="error-code">{% trans "400" %}</h1>
|
|
<p class="error-message">{% trans "Bad Request" %}</p>
|
|
<a href="{% url 'inventory_stats' request.dealer.slug %}"
|
|
class="error-button">{% trans "Go Back" %}</a>
|
|
</div>
|
|
{% endblock content %}
|