From 024bd224641f476c3afe835a682ddec23962ff00 Mon Sep 17 00:00:00 2001 From: shuki Date: Sat, 7 Mar 2026 05:06:04 +0200 Subject: [PATCH] Move schedule toggle switches to left of label Co-Authored-By: Claude Opus 4.6 --- tui/screens/schedule_edit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tui/screens/schedule_edit.py b/tui/screens/schedule_edit.py index cf32faa..c4f939e 100644 --- a/tui/screens/schedule_edit.py +++ b/tui/screens/schedule_edit.py @@ -108,13 +108,13 @@ class ScheduleEditScreen(Screen): yield Static("Sources (off=all):") for tname in list_conf_dir("targets.d"): with Horizontal(classes="sched-switch-row"): - yield Static(tname, classes="sched-switch-label") yield Switch(value=False, id=f"sched-src-{tname}") + yield Static(tname, classes="sched-switch-label") yield Static("Destinations (off=all):") for rname in list_conf_dir("remotes.d"): with Horizontal(classes="sched-switch-row"): - yield Static(rname, classes="sched-switch-label") yield Switch(value=False, id=f"sched-dst-{rname}") + yield Static(rname, classes="sched-switch-label") with Horizontal(id="sched-edit-buttons"): yield Button("Save", variant="primary", id="btn-save") yield Button("Cancel", id="btn-cancel")