Added custom error pages, user password change, initial setup workflow with default admin user.

This commit is contained in:
2025-09-07 11:40:45 -04:00
parent ee1715ff4f
commit c94c0554df
9 changed files with 1444 additions and 89 deletions

View File

@@ -319,9 +319,9 @@
</div>
{% if current_user %}
<span class="text-sm text-primary">
Welcome, {{ current_user.username }}
</span>
<a href="/profile" class="text-sm text-accent hover:text-accent-hover transition-colors">
{{ current_user.username }}
</a>
<button onclick="logout()" class="bg-red-600 hover:bg-red-700 px-4 py-2 rounded text-sm transition-colors">
Logout
</button>
@@ -403,8 +403,12 @@
</div>
{% if current_user %}
<div class="text-base font-medium text-primary">{{ current_user.username }}</div>
<button onclick="logout()" class="bg-red-600 hover:bg-red-700 px-4 py-2 rounded text-sm w-full mt-3 transition-colors">
<div class="mb-3">
<a href="/profile" class="text-base font-medium text-accent hover:text-accent-hover transition-colors">
{{ current_user.username }}
</a>
</div>
<button onclick="logout()" class="bg-red-600 hover:bg-red-700 px-4 py-2 rounded text-sm w-full transition-colors">
Logout
</button>
{% else %}