web admin mode

This commit is contained in:
2026-08-05 16:44:10 +02:00
parent c2d5ae45a2
commit 9458a88122
5 changed files with 234 additions and 7 deletions
+1 -1
View File
@@ -219,7 +219,7 @@
<div class="meta">
Angemeldet als <strong>{{ current_user }}</strong>
{% if is_admin %}(Admin, sieht alle Accounts){% else %}(Account: {{ account_name }}){% endif %}
{% if is_admin %}(<a href="/admin" style="color:inherit">Admin</a>{% if show_all %}, sieht alle Accounts{% endif %}){% else %}(Account: {{ account_name }}){% endif %}
</div>
<form class="search-form" method="get" action="/search">