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_source.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 'webmentions_ssg/templates/sent_source.html')
| -rw-r--r-- | webmentions_ssg/templates/sent_source.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/webmentions_ssg/templates/sent_source.html b/webmentions_ssg/templates/sent_source.html index 8d22068..689c651 100644 --- a/webmentions_ssg/templates/sent_source.html +++ b/webmentions_ssg/templates/sent_source.html @@ -4,10 +4,12 @@ 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="mb-3"> - <a href="{{ url_for("root.sent") }}">← 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> @@ -191,7 +193,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.resend_sent_webmention", source_identifier=source.uuid, webmention_identifier=webmention.uuid) }}" + data-action="{{ url_for('root.resend_sent_webmention', source_identifier=source.uuid, webmention_identifier=webmention.uuid) }}" data-title="Resend Webmention?" data-message="This Webmention will be queued again for delivery to {{ webmention.target }}." data-confirm-label="Resend" @@ -209,6 +211,7 @@ SPDX-License-Identifier: BSD-3-Clause <p class="text-body-secondary">No Webmentions have been discovered for this source.</p> {% endif %} {% endblock %} + {% block scripts %} {{ super() }} <script src="{{ url_for('static', filename='js/confirmation-modal.js') }}"></script> |
