Merge pull request #59 from altf4arnold/fixing-4040-and-500-page
[FIX] 404 and 500 page not centered
This commit is contained in:
commit
2f920dfba3
12
staticfiles/404.html
Normal file
12
staticfiles/404.html
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="refresh" content="1;url=https://tldtest.net">
|
||||||
|
<title>Redirecting...</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>This page is redirecting you to another page...</p>
|
||||||
|
<p>If you are not redirected in 5 seconds, <a href="https://tldtest.net">click here</a>.</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -1,5 +1,11 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% block title %}Error 404{% endblock %}
|
{% block title %}Error 404{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
<div class="grid gap-4">
|
||||||
|
<div class="row-start-2">
|
||||||
|
<div class="flex justify-center">
|
||||||
<img src="https://http.cat/images/404.jpg">
|
<img src="https://http.cat/images/404.jpg">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% block title %}Error 404{% endblock %}
|
{% block title %}Error 404{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
<div class="grid gap-4">
|
||||||
|
<div class="row-start-2">
|
||||||
|
<div class="flex justify-center">
|
||||||
<img src="https://http.cat/images/500.jpg">
|
<img src="https://http.cat/images/500.jpg">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|
Loading…
Reference in a new issue