From fa48a381ffe2a6daefd40c2d8dc597d35a151f67 Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Wed, 24 Jun 2026 00:24:47 +0200 Subject: [PATCH] asdasd --- modules/pihole/assets/pihole.css | 30 ++++++++++++++- modules/pihole/assets/pihole.js | 64 ++++++++++++++++++++++++++------ 2 files changed, 81 insertions(+), 13 deletions(-) diff --git a/modules/pihole/assets/pihole.css b/modules/pihole/assets/pihole.css index 4320e456..fdf3efe0 100644 --- a/modules/pihole/assets/pihole.css +++ b/modules/pihole/assets/pihole.css @@ -305,12 +305,24 @@ background: rgba(255, 255, 255, 0.98); box-shadow: 0 28px 64px rgba(15, 23, 42, 0.18); padding: 20px; + color: #0f172a; } .modal-header { display: flex; justify-content: space-between; gap: 16px; + align-items: flex-start; +} + +.pihole-console-heading { + display: grid; + gap: 6px; +} + +.pihole-console-heading strong { + font-size: 1.05rem; + color: #0f172a; } .icon-button { @@ -318,9 +330,11 @@ border-radius: 12px; background: #fff; color: #0f172a; - width: 40px; + min-width: 110px; height: 40px; cursor: pointer; + font: inherit; + font-weight: 600; } .pihole-console-body { @@ -339,6 +353,14 @@ border-radius: 14px; border: 1px solid rgba(148, 163, 184, 0.24); background: rgba(255, 255, 255, 0.75); + color: #0f172a; +} + +.pihole-console-meta { + display: flex; + justify-content: space-between; + gap: 12px; + flex-wrap: wrap; } .pihole-console-line span { @@ -348,6 +370,12 @@ .pihole-console-line strong { font-weight: 600; + color: #0f172a; +} + +.pihole-console-detail { + font-size: 0.92rem; + color: #334155; } .pihole-console-line.is-success { diff --git a/modules/pihole/assets/pihole.js b/modules/pihole/assets/pihole.js index c92c0522..83945f9e 100644 --- a/modules/pihole/assets/pihole.js +++ b/modules/pihole/assets/pihole.js @@ -27,6 +27,8 @@ let actionConsoleApi = null; let actionConsoleBody = null; let actionConsoleClose = null; + let actionConsoleTitle = null; + let actionConsoleSubtitle = null; const apiCall = async (action, payload = {}) => { const res = await fetch(`/api/pihole/index.php?action=${encodeURIComponent(action)}`, { @@ -64,13 +66,13 @@ root.innerHTML = `