diff options
| author | Dennis Fink | 2026-10-31 19:07:58 +0100 |
|---|---|---|
| committer | Dennis Fink | 2026-10-31 19:07:58 +0100 |
| commit | 0afc76fb78518bf8185c02e548e83e63c8bb0153 (patch) | |
| tree | 0fc9a08b6fde613492378ed694f0d65f32a69be9 /webmentions_ssg/templates/sent.html | |
| parent | 95a13558fb9c3e083cdf43206f3bfa328631761b (diff) | |
| download | webmentions-ssg-0afc76fb78518bf8185c02e548e83e63c8bb0153.tar.gz webmentions-ssg-0afc76fb78518bf8185c02e548e83e63c8bb0153.zip | |
chore(core): add djlint template tooling
Add djlint to the development toolchain with Jinja, CSS, and JavaScript
formatting rules so template style can be checked and normalized
consistently.
Reformat existing templates to match the configured conventions.
Diffstat (limited to '')
| -rw-r--r-- | webmentions_ssg/templates/sent.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/webmentions_ssg/templates/sent.html b/webmentions_ssg/templates/sent.html index 844a243..c9662b9 100644 --- a/webmentions_ssg/templates/sent.html +++ b/webmentions_ssg/templates/sent.html @@ -4,7 +4,9 @@ SPDX-FileCopyrightText: 2026 Dennis Fink <me+coding@dennisfink.me> SPDX-License-Identifier: BSD-3-Clause --> {% extends "base.html" %} + {% from "bootstrap5/pagination.html" import render_pagination %} + {% block content %} <div class="d-flex justify-content-between align-items-center mb-3"> <h1 class="mb-0">Sources</h1> @@ -14,7 +16,7 @@ SPDX-License-Identifier: BSD-3-Clause class="btn btn-sm btn-primary" data-bs-toggle="modal" data-bs-target="#confirmation-modal" - data-action="{{ url_for("root.rescan_sent_sources") }}" + data-action="{{ url_for('root.rescan_sent_sources') }}" data-title="Rescan sources?" data-message="All sources will be scanned again for changes and webmentions." data-confirm-label="Rescan" @@ -79,6 +81,7 @@ SPDX-License-Identifier: BSD-3-Clause <p class="text-body-secondary">No Webmention sources have been discovered yet.</p> {% endif %} {% endblock %} + {% block scripts %} {{ super() }} <script src="{{ url_for('static', filename='js/confirmation-modal.js') }}"></script> |
