mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-02 02:43:44 +00:00
The NexusDashboard-parity dashboard (dDashboardServer) and everything built on it on the experimental branch: accounts, characters, properties and moderation tools, permissions shared with in-game slash commands, economy reports, World 3D and property 3D views with client scenery, scheduled events (features, vanity changes, live events, announcements, restarts), vanity files and events, the CDClient browser, the message inspector with saved captures, chat filter tools, community challenges, live ops, the AI moderator helper, and the server-side changes they need. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 lines
849 B
Django/Jinja
10 lines
849 B
Django/Jinja
{# Top bar of the pages open to visitors who aren't signed in (base.jinja2). public_page: {name, status, showcase} from PublicRoutes.cpp #}
|
|
<header class="d-flex flex-wrap align-items-center gap-2 border-bottom px-3 py-2 bg-body-tertiary">
|
|
<span class="fw-semibold me-auto">{{ public_page.name }}</span>
|
|
<nav class="d-flex flex-wrap gap-1" aria-label="Public pages">
|
|
{% if public_page.status %}<a class="btn btn-sm btn-link text-body text-decoration-none{% if current_page == "status" %} fw-semibold{% endif %}" href="/status">Server status</a>{% endif %}
|
|
{% if public_page.showcase %}<a class="btn btn-sm btn-link text-body text-decoration-none{% if current_page == "showcase" %} fw-semibold{% endif %}" href="/showcase">Property showcase</a>{% endif %}
|
|
<a class="btn btn-sm btn-outline-primary" href="/login">Sign in</a>
|
|
</nav>
|
|
</header>
|