Refactor and remove sqlite and replace with MySQL

This commit is contained in:
2025-10-23 18:43:31 +01:00
parent d53e27eea8
commit 21ebc9c34b
139 changed files with 1013 additions and 529 deletions

View 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 }}

View File

@@ -0,0 +1,3 @@
{{ define "content" }}
<h2>Not Found</h2> <p>The page doesn't exist.</p>
{{ end }}

View 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 }}

View 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 }}