aboutsummaryrefslogtreecommitdiff
path: root/webmentions_ssg/templates/base.html
diff options
context:
space:
mode:
authorDennis Fink2026-11-15 20:42:20 +0100
committerDennis Fink2026-11-15 20:42:20 +0100
commit509d93b2976e353d29441a7a7b7e78ca466dc4fd (patch)
tree753e637aefabd4293f808addbf9c310eaf0aa552 /webmentions_ssg/templates/base.html
parentc74feda222745ab7cca8993df83d9ea5f9d07e5b (diff)
downloadwebmentions-ssg-509d93b2976e353d29441a7a7b7e78ca466dc4fd.tar.gz
webmentions-ssg-509d93b2976e353d29441a7a7b7e78ca466dc4fd.zip
refactor(core)!: standardize application terminology
Rename configuration keys, task helpers, forms, network utilities, and view endpoints to make their responsibilities and domains more explicit. Align source-management routes and templates with the new terminology and rename the target-matching module and related task abstractions consistently. BREAKING CHANGE: configuration keys have been renamed and sent-source routes move from `/sent` to `/sources`, with corresponding blueprint endpoint changes.
Diffstat (limited to 'webmentions_ssg/templates/base.html')
-rw-r--r--webmentions_ssg/templates/base.html15
1 files changed, 9 insertions, 6 deletions
diff --git a/webmentions_ssg/templates/base.html b/webmentions_ssg/templates/base.html
index 19412ed..69e5215 100644
--- a/webmentions_ssg/templates/base.html
+++ b/webmentions_ssg/templates/base.html
@@ -32,7 +32,8 @@ SPDX-License-Identifier: BSD-3-Clause
<header>
<nav class="navbar bg-primary py-1">
<div class="container-fluid px-3">
- <a class="navbar-brand fs-6 mb-0" href="{{ url_for('root.index') }}">
+ <a class="navbar-brand fs-6 mb-0"
+ href="{{ url_for('webmentions.index') }}">
<img src="{{ url_for('static', filename='images/logo.svg') }}"
width="30"
height="30"
@@ -42,11 +43,13 @@ SPDX-License-Identifier: BSD-3-Clause
</a>
{% if current_user.is_authenticated %}
<div class="navbar-nav flex-row gap-3">
- <a class="nav-link{% if request.endpoint == 'root.received' %} active{% endif %}"
- href='{{ url_for("root.received") }}'>Received</a>
- <a class="nav-link{% if request.endpoint == 'root.sent' %} active{% endif %}"
- href='{{ url_for("root.sent") }}'>Sent</a>
- <form action="{{ url_for('root.logout') }}" method="post" class="m-0">
+ <a class="nav-link{% if request.endpoint == 'webmentions.received_list' %} active{% endif %}"
+ href='{{ url_for("webmentions.received_list") }}'>Received</a>
+ <a class="nav-link{% if request.endpoint == 'webmentions.source_list' %} active{% endif %}"
+ href='{{ url_for("webmentions.source_list") }}'>Sent</a>
+ <form action="{{ url_for('webmentions.logout') }}"
+ method="post"
+ class="m-0">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
<button type="submit" class="nav-link border-0 bg-transparent">Logout</button>
</form>