From e3e195ea07fd57288d32c842689ebed7fba636f0 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Wed, 18 Nov 2026 17:41:44 +0100 Subject: style(core): improve mobile table layouts Hide secondary received and sent table columns below the `md` breakpoint while keeping status, primary identifiers, details, and actions accessible. Add responsive wrappers, mobile received timestamps, and wrapping for long paths and URLs to improve small-screen readability. --- webmentions_ssg/templates/sent.html | 98 +++++++++++++++++++------------------ 1 file changed, 50 insertions(+), 48 deletions(-) (limited to 'webmentions_ssg/templates/sent.html') diff --git a/webmentions_ssg/templates/sent.html b/webmentions_ssg/templates/sent.html index 2b0fbe4..d949f01 100644 --- a/webmentions_ssg/templates/sent.html +++ b/webmentions_ssg/templates/sent.html @@ -24,55 +24,57 @@ SPDX-License-Identifier: BSD-3-Clause {% if sources.items %} - - - - - - - - - - - - - - {% 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 %} - - - - - - - - +
+
PathURLWebmentionsRevisionCreatedLast seenStatus
- {{ source.path }} - - {{ source.url }} - {{ source.sent_webmentions | length }}{{ source.revision }} - - - - - {{ status_text }} -
+ + + + + + + + + - {% endfor %} - -
PathURLWebmentionsRevisionCreatedLast seenStatus
+ + + {% 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 %} + + + {% if sources.pages > 1 %}
{{ render_pagination(sources) }}
{% endif %} -- cgit v1.3.1