Added custom error pages, user password change, initial setup workflow with default admin user.
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user