From 02201fb4e3ce000d6aeb4e93a1ba28d34d28a07c Mon Sep 17 00:00:00 2001 From: orohi Date: Wed, 17 Jun 2026 06:00:01 +0300 Subject: [PATCH] fix: show issue SSL button for sites without certificate --- internal/handler/health.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/internal/handler/health.go b/internal/handler/health.go index 95356e0..f68164c 100644 --- a/internal/handler/health.go +++ b/internal/handler/health.go @@ -70,6 +70,7 @@ const baseCSS = ` .center-card .card { width: 100%; max-width: 420px; } label.check { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; font-size: .9rem; color: #cbd5e1; } label.check input { width: auto; margin: 0; } + .badge.ssl-none { background: #334155; color: #cbd5e1; } .badge.ssl-pending { background: #713f12; color: #fde68a; } .badge.ssl-active { background: #14532d; color: #bbf7d0; } .badge.ssl-error { background: #7f1d1d; color: #fecaca; } @@ -134,10 +135,12 @@ func dashboardPageHTML(username string) string {