mirror of
https://github.com/perstarkse/minne.git
synced 2026-04-22 08:48:30 +02:00
feat: refactored error handling
This commit is contained in:
14
templates/errors/error.html
Normal file
14
templates/errors/error.html
Normal file
@@ -0,0 +1,14 @@
|
||||
{% extends "body_base.html" %}
|
||||
|
||||
{% block main %}
|
||||
<div class="container mx-auto px-4 flex items-center justify-center">
|
||||
<div class="flex flex-col space-y-4 text-center">
|
||||
<h1 class="text-2xl font-bold text-error">
|
||||
{{ status_code }}
|
||||
</h1>
|
||||
<p class="text-2xl my-4">{{ error }}</p>
|
||||
<p class="text-base-content/60">{{ description }}</p>
|
||||
<a href="/" class="btn btn-primary mt-8">Go Home</a>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user