From 4bd1d9e348918b2e55db47a1ac3489d035cf55e2 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Thu, 12 Nov 2026 19:57:08 +0100 Subject: refactor(core): split modules by responsibility Break up monolithic views, task helpers, networking, CLI, and application extension setup so each module owns a focused concern. Reorganize the test suite around the new boundaries while preserving existing Webmention behavior and coverage. --- webmentions_ssg/templates/received.html | 51 +++++++++++++++++++-------------- 1 file changed, 30 insertions(+), 21 deletions(-) (limited to 'webmentions_ssg/templates/received.html') diff --git a/webmentions_ssg/templates/received.html b/webmentions_ssg/templates/received.html index 1ff3690..3dbb896 100644 --- a/webmentions_ssg/templates/received.html +++ b/webmentions_ssg/templates/received.html @@ -6,6 +6,33 @@ SPDX-License-Identifier: BSD-3-Clause {% extends "base.html" %} {% from "bootstrap5/pagination.html" import render_pagination %} +{% set received_status_presentation = { + "received": { + "row_class": "table-info", + "badge_class": "text-bg-info", + "label": "Pending" + }, + "verifying": { + "row_class": "table-warning", + "badge_class": "text-bg-warning", + "label": "Verifying" + }, + "verified": { + "row_class": "table-success", + "badge_class": "text-bg-success", + "label": "Verified" + }, + "failed": { + "row_class": "table-danger", + "badge_class": "text-bg-danger", + "label": "Declined" + }, + "deleted": { + "row_class": "table-danger", + "badge_class": "text-bg-danger", + "label": "Declined" + } +} %} {% block content %}