Upload files to "templates/admin"
This commit is contained in:
12
templates/admin/unauthorized.html
Normal file
12
templates/admin/unauthorized.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Unauthorized — KittyRec Admin{% endblock %}
|
||||
{% block content %}
|
||||
<div style="text-align:center;padding:5rem 1rem">
|
||||
<h1 style="font-size:2rem;margin-bottom:.5rem">Access Denied</h1>
|
||||
<p style="color:var(--text2);margin-bottom:2rem">Your account doesn't have admin or moderator permissions for KittyRec.</p>
|
||||
{% if account %}
|
||||
<p style="color:var(--text3);font-size:.85rem;margin-bottom:2rem">Signed in as <strong style="color:var(--text)">{{ account.username }}</strong> — scopes: {{ scopes|join(', ') or 'none' }}</p>
|
||||
{% endif %}
|
||||
<a href="/admin/logout" class="btn btn-ghost">Sign out</a>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user