Every page sat in the 40rem reading column, so the admin wrapper's 60rem never applied and the notes table, which can't shrink that far, ran past the header's right edge. Admin pages now set a 60rem frame for header, content and footer; post previews wrap, and tables scroll sideways on narrow screens. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
27 lines
884 B
HTML
27 lines
884 B
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>
|
|
<a href="{{ url_for('admin.metrics_dashboard') }}">Metrics</a>
|
|
<a href="{{ url_for('admin.tokens') }}">Connected Apps</a>
|
|
<form action="{{ url_for('auth.logout') }}" method="POST" class="logout-form">
|
|
<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 %}
|