Notifications move to /admin/settings. /admin/log lists everything failing now (crossposts, response checks, outgoing webmentions, reply contexts, WebSub, notifications, refused silo credentials) with the affected post, the error and Retry/Check now. Back to Dashboard button removed; nav gains Webmentions, Log (with error count) and Settings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
29 lines
1.2 KiB
HTML
29 lines
1.2 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{# Admin pages use a wider frame so tables fit under the header #}
|
|
{% block body_class %} class="admin-page"{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="admin-container">
|
|
<nav class="admin-nav">
|
|
<a href="{{ url_for('admin.dashboard') }}">Dashboard</a>
|
|
<a href="{{ url_for('admin.new_note_form') }}">New Note</a>
|
|
{% if config.WEBMENTION_ENABLED %}<a href="{{ url_for('admin.webmentions') }}">Webmentions</a>{% endif %}
|
|
<a href="{{ url_for('admin.error_log') }}">Log{% if error_count %} <span class="badge badge-error">{{ error_count }}</span>{% endif %}</a>
|
|
<a href="{{ url_for('admin.tokens') }}">Connected Apps</a>
|
|
<a href="{{ url_for('admin.settings') }}">Settings</a>
|
|
<form action="{{ url_for('auth.logout') }}" method="POST" class="logout-form"><input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
|
<button type="submit" class="button button-secondary">Logout</button>
|
|
</form>
|
|
</nav>
|
|
|
|
<div class="admin-content">
|
|
{% if user_me %}
|
|
<p class="user-identity">Logged in as: <strong>{{ user_me }}</strong></p>
|
|
{% endif %}
|
|
|
|
{% block admin_content %}{% endblock %}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|