From 0c5ff34bf24753cd6768a3eee4760013fb90e9bb Mon Sep 17 00:00:00 2001 From: CallMeTechie <34693633+CallMeTechie@users.noreply.github.com> Date: Fri, 3 Jul 2026 09:02:56 +0200 Subject: [PATCH] feat(pihole): timer-icon controls in Pi-hole card, drop separate control card Replace the standalone 'Blockierung steuern' card with compact stopwatch icon buttons (30s/5m/30m + enable) placed in the Pi-hole card: the donut card title area in aurora, the page header in default/pro. Blocking badge (with live countdown) moves alongside in default/pro. Full labels kept as title/aria-label; short durations via new pihole.dur_* keys (de+en). All button/badge ids preserved (JS wiring + aurora_theme id assertions intact). --- CHANGELOG.md | 7 +++++++ src/i18n/de.json | 3 +++ src/i18n/en.json | 3 +++ templates/aurora/pages/pihole.njk | 24 ++++++++---------------- templates/default/pages/pihole.njk | 23 +++++++---------------- templates/pro/pages/pihole.njk | 23 +++++++---------------- 6 files changed, 35 insertions(+), 48 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e1395ad..f0939823 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [Unreleased] + +### Änderungen +- Pi-hole: Pause-/Aktivieren-Steuerung als Timer-Icons in die Pi-hole-Karte verlegt; separate „Blockierung steuern"-Karte entfernt + +--- + ## [1.114.2] — 2026-07-02 ### Fixes diff --git a/src/i18n/de.json b/src/i18n/de.json index 637128a9..071c6928 100644 --- a/src/i18n/de.json +++ b/src/i18n/de.json @@ -1842,6 +1842,9 @@ "pihole.pause_30s": "30 Sekunden pausieren", "pihole.pause_5m": "5 Minuten pausieren", "pihole.pause_30m": "30 Minuten pausieren", + "pihole.dur_30s": "30 s", + "pihole.dur_5m": "5 min", + "pihole.dur_30m": "30 min", "pihole.enable_blocking": "Blockierung aktivieren", "pihole.blocking_on": "Aktiv", "pihole.blocking_off": "Deaktiviert", diff --git a/src/i18n/en.json b/src/i18n/en.json index 0667804e..2eb4ab12 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -1897,6 +1897,9 @@ "pihole.pause_30s": "Pause 30 seconds", "pihole.pause_5m": "Pause 5 minutes", "pihole.pause_30m": "Pause 30 minutes", + "pihole.dur_30s": "30s", + "pihole.dur_5m": "5m", + "pihole.dur_30m": "30m", "pihole.enable_blocking": "Enable blocking", "pihole.blocking_on": "Enabled", "pihole.blocking_off": "Disabled", diff --git a/templates/aurora/pages/pihole.njk b/templates/aurora/pages/pihole.njk index d6956ec8..7f224630 100644 --- a/templates/aurora/pages/pihole.njk +++ b/templates/aurora/pages/pihole.njk @@ -30,6 +30,12 @@ {{ t('pihole.title') }} — +