Code style
This commit is contained in:
parent
4ccefd1c7f
commit
357fea64d1
4 changed files with 52 additions and 28 deletions
|
@ -1,9 +1,13 @@
|
|||
{% extends "error_base.html" %}
|
||||
|
||||
{% block title %}403 - Access Forbidden{% endblock title %}
|
||||
|
||||
{% block error_alt %}Access Forbidden{% endblock error_alt %}
|
||||
|
||||
{% block error_title %}Access Forbidden{% endblock error_title %}
|
||||
|
||||
{% block error_message %}You are not authorized to access this page.{% endblock error_message %}
|
||||
{% block title %}
|
||||
403 - Access Forbidden
|
||||
{% endblock title %}
|
||||
{% block error_alt %}
|
||||
Access Forbidden
|
||||
{% endblock error_alt %}
|
||||
{% block error_title %}
|
||||
Access Forbidden
|
||||
{% endblock error_title %}
|
||||
{% block error_message %}
|
||||
You are not authorized to access this page.
|
||||
{% endblock error_message %}
|
||||
|
|
|
@ -1,9 +1,13 @@
|
|||
{% extends "error_base.html" %}
|
||||
|
||||
{% block title %}404 - Page Not Found{% endblock title %}
|
||||
|
||||
{% block error_alt %}Not Found{% endblock error_alt %}
|
||||
|
||||
{% block error_title %}Page Not Found{% endblock error_title %}
|
||||
|
||||
{% block error_message %}The page you are looking for could not be found.{% endblock error_message %}
|
||||
{% block title %}
|
||||
404 - Page Not Found
|
||||
{% endblock title %}
|
||||
{% block error_alt %}
|
||||
Not Found
|
||||
{% endblock error_alt %}
|
||||
{% block error_title %}
|
||||
Page Not Found
|
||||
{% endblock error_title %}
|
||||
{% block error_message %}
|
||||
The page you are looking for could not be found.
|
||||
{% endblock error_message %}
|
||||
|
|
|
@ -1,9 +1,13 @@
|
|||
{% extends "error_base.html" %}
|
||||
|
||||
{% block title %}500 - Server Error{% endblock title %}
|
||||
|
||||
{% block error_alt %}Server Error{% endblock error_alt %}
|
||||
|
||||
{% block error_title %}Server Error{% endblock error_title %}
|
||||
|
||||
{% block error_message %}The website is currently unavailable. Please try again later or contact support.{% endblock error_message %}
|
||||
{% block title %}
|
||||
500 - Server Error
|
||||
{% endblock title %}
|
||||
{% block error_alt %}
|
||||
Server Error
|
||||
{% endblock error_alt %}
|
||||
{% block error_title %}
|
||||
Server Error
|
||||
{% endblock error_title %}
|
||||
{% block error_message %}
|
||||
The website is currently unavailable. Please try again later or contact support.
|
||||
{% endblock error_message %}
|
||||
|
|
|
@ -4,7 +4,11 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{% block title %}Error{% endblock title %} - Servala</title>
|
||||
<title>
|
||||
{% block title %}
|
||||
Error
|
||||
{% endblock title %}
|
||||
- Servala</title>
|
||||
<link rel="shortcut icon"
|
||||
href="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2033%2034'%20fill-rule='evenodd'%20stroke-linejoin='round'%20stroke-miterlimit='2'%20xmlns:v='https://vecta.io/nano'%3e%3cpath%20d='M3%2027.472c0%204.409%206.18%205.552%2013.5%205.552%207.281%200%2013.5-1.103%2013.5-5.513s-6.179-5.552-13.5-5.552c-7.281%200-13.5%201.103-13.5%205.513z'%20fill='%23435ebe'%20fill-rule='nonzero'/%3e%3ccircle%20cx='16.5'%20cy='8.8'%20r='8.8'%20fill='%2341bbdd'/%3e%3c/svg%3e"
|
||||
type="image/x-icon">
|
||||
|
@ -22,12 +26,20 @@
|
|||
alt="Sir Vala - {% block error_alt %}Error{% endblock error_alt %}"
|
||||
style="max-width: 300px;
|
||||
margin-bottom: 2rem">
|
||||
<h1 class="error-title">{% block error_title %}Error{% endblock error_title %}</h1>
|
||||
<p class="fs-5 text-gray-600">{% block error_message %}An error occurred.{% endblock error_message %}</p>
|
||||
<h1 class="error-title">
|
||||
{% block error_title %}
|
||||
Error
|
||||
{% endblock error_title %}
|
||||
</h1>
|
||||
<p class="fs-5 text-gray-600">
|
||||
{% block error_message %}
|
||||
An error occurred.
|
||||
{% endblock error_message %}
|
||||
</p>
|
||||
<a href="/" class="btn btn-lg btn-outline-primary mt-3">Go Home</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue