aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--webmentions_ssg/static/images/favicon.pngbin0 -> 926 bytes
-rw-r--r--webmentions_ssg/static/images/logo.svg8
-rw-r--r--webmentions_ssg/templates/base.html20
-rw-r--r--webmentions_ssg/templates/login.html1
-rw-r--r--webmentions_ssg/templates/sent_source.html2
-rw-r--r--webmentions_ssg/templates/status.html1
6 files changed, 25 insertions, 7 deletions
diff --git a/webmentions_ssg/static/images/favicon.png b/webmentions_ssg/static/images/favicon.png
new file mode 100644
index 0000000..da829e4
--- /dev/null
+++ b/webmentions_ssg/static/images/favicon.png
Binary files differ
diff --git a/webmentions_ssg/static/images/logo.svg b/webmentions_ssg/static/images/logo.svg
new file mode 100644
index 0000000..7da228a
--- /dev/null
+++ b/webmentions_ssg/static/images/logo.svg
@@ -0,0 +1,8 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 800">
+ <path fill="#f9f9f9" d="M89.4 0C40.1 0 0 40 0 89.4v621.2C0 759.9 40 800 89.4 800h621.2c49.3 0 89.4-40 89.4-89.4V89.4C800 40.1 760 0 710.6 0Zm0 18.9h621.2A70 70 0 0 1 781 89.4v621.2a70 70 0 0 1-70.5 70.5H89.4A70 70 0 0 1 19 710.6V89.4A70 70 0 0 1 89.4 19" overflow="visible"/>
+ <path fill="#f9f9f9" d="M195.8 250c0 55.8 21.3 111.5 63.7 154a24.4 24.4 0 0 0 34.6 0 24.4 24.4 0 0 0 0-34.5 168.4 168.4 0 0 1 0-239 24.4 24.4 0 0 0 0-34.4 24.4 24.4 0 0 0-34.6 0 217 217 0 0 0-63.7 154" overflow="visible"/>
+ <path fill="#f9f9f9" d="M293.3 250c0 43.4 16.5 86.8 49.6 119.8a24.4 24.4 0 0 0 34.5 0 24.4 24.4 0 0 0 0-34.5 120 120 0 0 1 0-170.6 24.4 24.4 0 0 0 0-34.5 24.4 24.4 0 0 0-34.5 0A169 169 0 0 0 293.3 250m286.5 0H433.3m-24.3 0a24.4 24.4 0 0 0 24.3 24.4h146.5a24.4 24.4 0 0 0 24.4-24.4 24.4 24.4 0 0 0-24.4-24.4H433.3A24.4 24.4 0 0 0 409 250m170.8 0-69-68.9" overflow="visible"/>
+ <path fill="#f9f9f9" d="M487.2 187.4a24 24 0 0 0 6.3 11l69 68.8a24.4 24.4 0 0 0 34.5 0 24.4 24.4 0 0 0 0-34.4l-69-69a24.4 24.4 0 0 0-34.5 0 24 24 0 0 0-6.3 23.6m92.6 62.6-69 69" overflow="visible"/>
+ <path fill="#f9f9f9" d="M487.2 325.2a24 24 0 0 0 6.3 11 24.4 24.4 0 0 0 34.5 0l69-69a24.4 24.4 0 0 0 0-34.4 24.4 24.4 0 0 0-34.5 0l-69 68.9a24 24 0 0 0-6.3 23.5" overflow="visible"/>
+ <path fill="#f9f9f9" d="M318.7 495.6q-.7-8.7 2.7-12.7 3.4-4.3 11.5-4.3 6.4 0 9.6 3.6 3.4 3.5 4 9.3L359.7 677l22.9-128q1.5-7.5 5.6-11 4.2-3.7 11.7-3.7t11.5 3.8q4.2 3.4 5.8 10.9l23 128 13.3-185.5q.5-5.8 3.6-9.3 3.4-3.6 10-3.6 8 0 11.4 4.3 3.4 4 2.8 12.8l-18.2 196.8q-1 9.3-6.3 13.9T442 711q-9.6 0-15-4.7-5.4-4.6-6.9-14l-20-117.8L379.9 692q-1.6 9.7-7.2 14.3-5.2 4.7-14.7 4.7t-15.2-4.7q-5.3-4.6-6.2-14.3z"/>
+</svg>
diff --git a/webmentions_ssg/templates/base.html b/webmentions_ssg/templates/base.html
index 1275391..fabfaaf 100644
--- a/webmentions_ssg/templates/base.html
+++ b/webmentions_ssg/templates/base.html
@@ -3,7 +3,6 @@ SPDX-FileCopyrightText: 2026 Dennis Fink <me+coding@dennisfink.me>
SPDX-License-Identifier: BSD-3-Clause
-->
-
{% from "bootstrap5/utils.html" import render_messages %}
<!DOCTYPE html>
<html lang="en" data-bs-theme="dark">
@@ -13,6 +12,14 @@ SPDX-License-Identifier: BSD-3-Clause
<meta charset="utf-8">
<meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <link rel="icon"
+ type="image/svg+xml"
+ sizes="any"
+ href="{{ url_for('static', filename='images/logo.svg') }}">
+ <link rel="icon"
+ type="image/png"
+ sizes="32x32"
+ href="{{ url_for('static', filename='images/favicon.png') }}">
{% block styles %}
<!-- Bootstrap CSS -->
{{ bootstrap.load_css() }}
@@ -24,7 +31,13 @@ SPDX-License-Identifier: BSD-3-Clause
<header>
<nav class="navbar bg-primary py-1">
<div class="container-fluid px3">
- <a class="navbar-brand fs-6 mb-0" href="{{ url_for("root.index") }}">Webmentions</a>
+ <a class="navbar-brand fs-6 mb-0" href="{{ url_for("root.index") }}">
+ <img src="{{ url_for('static', filename='images/logo.svg') }}"
+ width="30"
+ height="30"
+ class="d-inline-block align-center">
+ Webmentions
+ </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 %}"
@@ -40,8 +53,7 @@ SPDX-License-Identifier: BSD-3-Clause
</header>
<div class="mt-4">{{ render_messages(container=True) }}</div>
<div class="container py-4">
- {% block content %}
- {% endblock %}
+ {% block content %}{% endblock %}
</div>
{% block scripts %}
<!-- Optional JavaScript -->
diff --git a/webmentions_ssg/templates/login.html b/webmentions_ssg/templates/login.html
index 9b9884e..3c40ea6 100644
--- a/webmentions_ssg/templates/login.html
+++ b/webmentions_ssg/templates/login.html
@@ -3,7 +3,6 @@ SPDX-FileCopyrightText: 2026 Dennis Fink <me+coding@dennisfink.me>
SPDX-License-Identifier: BSD-3-Clause
-->
-
{% extends "base.html" %}
{% set title = "Login" %}
{% from "bootstrap5/form.html" import render_form %}
diff --git a/webmentions_ssg/templates/sent_source.html b/webmentions_ssg/templates/sent_source.html
index 45fd5cb..e840f8f 100644
--- a/webmentions_ssg/templates/sent_source.html
+++ b/webmentions_ssg/templates/sent_source.html
@@ -7,7 +7,7 @@ SPDX-License-Identifier: BSD-3-Clause
{% from "bootstrap5/pagination.html" import render_pagination %}
{% block content %}
<div class="mb-3">
- <a href="{{ url_for("root.sent") }}">&larr; Back to sources</a>
+ <a href="{{ url_for("root.sent") }}">← Back to sources</a>
</div>
<div class="d-flex justify-content-between align-items-start mb-3">
<h1 class="mb-0">Source Details</h1>
diff --git a/webmentions_ssg/templates/status.html b/webmentions_ssg/templates/status.html
index 9140c95..437a507 100644
--- a/webmentions_ssg/templates/status.html
+++ b/webmentions_ssg/templates/status.html
@@ -3,7 +3,6 @@ SPDX-FileCopyrightText: 2026 Dennis Fink <me+coding@dennisfink.me>
SPDX-License-Identifier: BSD-3-Clause
-->
-
{% extends "base.html" %}
{% from "bootstrap5/utils.html" import render_icon %}
{% block content %}