Upload files to "templates/admin"

This commit is contained in:
2026-07-24 15:28:57 +00:00
parent 28dec6f5b2
commit 176812ed22
5 changed files with 674 additions and 0 deletions

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