From 61d2ec25e429b8b33dcc6407fd87ae9a267202ec Mon Sep 17 00:00:00 2001 From: Mikhail Yenuchenko Date: Mon, 3 Aug 2026 16:26:20 +0300 Subject: [PATCH] panel: make the status page's "Full queue" a button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It was a bare link trailing the queue-summary sentence, while the two other card actions on the same page (Re-check DNS, Reload configuration) are buttons. Pull it out of the paragraph and give it the filled button style through a new a.btn class — the same base rule a.danger already used, so an action that happens to be a navigation still looks like every other action. Co-Authored-By: Claude Opus 5 --- CHANGELOG.md | 6 ++++-- internal/web/static/panel.css | 18 ++++++++++-------- internal/web/templates/status_body.html | 4 ++-- 3 files changed, 16 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4787a7c..1cf88d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,8 +19,10 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); version render as bold blue text while everything else was a button, so the same kind of control looked like two different things, sometimes within one card. They are all buttons now: filled for a card's own action, compact and - outlined where actions cluster in a table row or the nav bar. An `` is - once again only used for navigation. + outlined where actions cluster in a table row or the nav bar. The two + actions that are really navigations — "Delete domain" and the status page's + "Full queue" — are anchors carrying the same button styling. A bare link is + left only where it reads as part of a sentence, a table cell or the nav. - panel: on the domain page **Add an application** now sits directly above the **Applications** list — the same order the domains page uses for its own add form — instead of being stranded below the domain rate limit. diff --git a/internal/web/static/panel.css b/internal/web/static/panel.css index cd3a9e8..6bcaa2a 100644 --- a/internal/web/static/panel.css +++ b/internal/web/static/panel.css @@ -28,18 +28,20 @@ input { border: 1px solid #cfd4da; border-radius: 6px; background: #fff; } /* One vocabulary for actions. Anything that performs an action looks like a - button; an stays a plain link and is only used for navigation. Several - actions used to render as bold blue text instead — a POST wrapped in - form.inline, a
toggle, the delete links — which read as links and - left two appearances for the same kind of control. They all get the button - look now: filled for a card's own action, and the compact outlined variant - further down where actions cluster (table rows, the nav bar). */ -button, a.danger { + button: a