Refactor and remove sqlite and replace with MySQL
This commit is contained in:
5
web/templates/error/403.html
Normal file
5
web/templates/error/403.html
Normal file
@@ -0,0 +1,5 @@
|
||||
{{ define "content" }}
|
||||
<h2 class="text-red-600 text-xl font-bold">🚫 Forbidden</h2>
|
||||
<p class="mt-2">You do not have permission to access this page.</p>
|
||||
<a href="/" class="text-blue-500 underline mt-4 inline-block">Return to Home</a>
|
||||
{{ end }}
|
||||
3
web/templates/error/404.html
Normal file
3
web/templates/error/404.html
Normal file
@@ -0,0 +1,3 @@
|
||||
{{ define "content" }}
|
||||
<h2>Not Found</h2> <p>The page doesn't exist.</p>
|
||||
{{ end }}
|
||||
7
web/templates/error/429.html
Normal file
7
web/templates/error/429.html
Normal file
@@ -0,0 +1,7 @@
|
||||
{{ define "content" }}
|
||||
<div class="container py-5 text-center">
|
||||
<h1 class="text-danger">🚫 Too Many Requests</h1>
|
||||
<p>Whoa there! You're making requests too quickly. Please slow down and try again in a moment.</p>
|
||||
<a href="/" class="btn btn-primary mt-3">Back to home</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
14
web/templates/error/500.html
Normal file
14
web/templates/error/500.html
Normal file
@@ -0,0 +1,14 @@
|
||||
{{ define "content" }}
|
||||
<div class="container py-5 text-center">
|
||||
<h1 class="display-4 text-danger">500 - Server Error</h1>
|
||||
<p class="lead">Something went wrong on our end. We're working to fix it.</p>
|
||||
|
||||
<div class="mt-4">
|
||||
<i class="bi bi-exclamation-triangle-fill text-warning" style="font-size: 3rem;"></i>
|
||||
</div>
|
||||
|
||||
<p class="mt-4 text-muted">Please try again later or contact support if the issue persists.</p>
|
||||
|
||||
<a href="/" class="btn btn-primary mt-3">Return to Homepage</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user