From 136177100f3f6eb34400928bddcaf88b9487f378 Mon Sep 17 00:00:00 2001
From: Dennis Fink
Date: Fri, 21 Aug 2026 13:14:25 +0200
Subject: style(core): remove responsive table wrappers
---
webmentions_ssg/templates/received.html | 144 ++++++++++++++++----------------
webmentions_ssg/templates/sent.html | 98 +++++++++++-----------
2 files changed, 119 insertions(+), 123 deletions(-)
(limited to 'webmentions_ssg/templates')
diff --git a/webmentions_ssg/templates/received.html b/webmentions_ssg/templates/received.html
index 7cfdce8..2feef1e 100644
--- a/webmentions_ssg/templates/received.html
+++ b/webmentions_ssg/templates/received.html
@@ -11,80 +11,78 @@ SPDX-License-Identifier: BSD-3-Clause
{{ webmentions.total }} total
{% if webmentions.items %}
-
-
-
-
- | Status |
- Source |
- Target |
- Received |
- Updated |
- Reason |
- Actions |
+
+
+
+ | Status |
+ Source |
+ Target |
+ Received |
+ Updated |
+ Reason |
+ Actions |
+
+
+
+ {% for webmention in webmentions %}
+ {% if webmention.status == "received" %}
+ {% set row_class = "table-info" %}
+ {% set display_status = "Pending" %}
+ {% elif webmention.status == "verifying" %}
+ {% set row_class = "table-warning" %}
+ {% set display_status = "Verifying" %}
+ {% elif webmention.status == "verified" %}
+ {% set row_class = "table-success" %}
+ {% set display_status = "Verified" %}
+ {% else %}
+ {% set row_class = "table-danger" %}
+ {% set display_status = "Declined" %}
+ {% endif %}
+
+ |
+ {{ display_status }}
+ |
+
+ {{ webmention.source }}
+ |
+
+ {{ webmention.target }}
+ |
+
+
+ |
+
+
+ |
+ {{ webmention.failure_reason or "—" }} |
+
+
+
+ |
-
-
- {% for webmention in webmentions %}
- {% if webmention.status == "received" %}
- {% set row_class = "table-info" %}
- {% set display_status = "Pending" %}
- {% elif webmention.status == "verifying" %}
- {% set row_class = "table-warning" %}
- {% set display_status = "Verifying" %}
- {% elif webmention.status == "verified" %}
- {% set row_class = "table-success" %}
- {% set display_status = "Verified" %}
- {% else %}
- {% set row_class = "table-danger" %}
- {% set display_status = "Declined" %}
- {% endif %}
-
- |
- {{ display_status }}
- |
-
- {{ webmention.source }}
- |
-
- {{ webmention.target }}
- |
-
-
- |
-
-
- |
- {{ webmention.failure_reason or "—" }} |
-
-
-
- |
-
- {% endfor %}
-
-
-
+ {% endfor %}
+
+
{% if webmentions.pages > 1 %}
{{ render_pagination(webmentions) }}
{% endif %}
diff --git a/webmentions_ssg/templates/sent.html b/webmentions_ssg/templates/sent.html
index 4ca75ce..844a243 100644
--- a/webmentions_ssg/templates/sent.html
+++ b/webmentions_ssg/templates/sent.html
@@ -22,57 +22,55 @@ SPDX-License-Identifier: BSD-3-Clause
{% if sources.items %}
-
-
-
-
- | Path |
- URL |
- Webmentions |
- Revision |
- Created |
- Last seen |
- Status |
+
+
+
+ | Path |
+ URL |
+ Webmentions |
+ Revision |
+ Created |
+ Last seen |
+ Status |
+
+
+
+ {% for source in sources %}
+ {% if source.deleted_at is none %}
+ {% set row_class = "table-success" %}
+ {% set badge_class = "text-bg-success" %}
+ {% set status_text = "Active" %}
+ {% else %}
+ {% set row_class = "table-danger" %}
+ {% set badge_class = "text-bg-danger" %}
+ {% set status_text = "Deleted" %}
+ {% endif %}
+
+ |
+ {{ source.path }}
+ |
+
+ {{ source.url }}
+ |
+ {{ source.sent_webmentions | length }} |
+ {{ source.revision }} |
+
+
+ |
+
+
+ |
+
+ {{ status_text }}
+ |
-
-
- {% for source in sources %}
- {% if source.deleted_at is none %}
- {% set row_class = "table-success" %}
- {% set badge_class = "text-bg-success" %}
- {% set status_text = "Active" %}
- {% else %}
- {% set row_class = "table-danger" %}
- {% set badge_class = "text-bg-danger" %}
- {% set status_text = "Deleted" %}
- {% endif %}
-
- |
- {{ source.path }}
- |
-
- {{ source.url }}
- |
- {{ source.sent_webmentions | length }} |
- {{ source.revision }} |
-
-
- |
-
-
- |
-
- {{ status_text }}
- |
-
- {% endfor %}
-
-
-
+ {% endfor %}
+
+
{% if sources.pages > 1 %}
{{ render_pagination(sources) }}
{% endif %}
--
cgit v1.3.1