From ee98813ea5a68eff51c194f4b751ee7f8540953c Mon Sep 17 00:00:00 2001 From: KarnerF Date: Tue, 11 Aug 2026 20:58:11 +0200 Subject: [PATCH] Split Autostart and Auto-Remove into separate panels --- main.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/main.c b/main.c index 87f84c1..0befd49 100644 --- a/main.c +++ b/main.c @@ -985,7 +985,8 @@ static void fn(struct mg_connection *c, int ev, void *ev_data) { H("
"); H("
", L(LS_PREF_ELF), elfname); - H(""); } /* close autostart section only, panel-auto stays open */ - /* Auto-Remove section inside panel-auto */ - H("
" - "
Auto-Remove
",has_autoremove?"1":"0.35",has_autoremove?"auto":"none"); + H("
"); } /* close autostart section + panel-auto */ + + /* Panel: Auto-Remove */ + H("
",has_autoremove?"1":"0.35",has_autoremove?"auto":"none"); H("
" "" "
", @@ -1062,7 +1063,7 @@ static void fn(struct mg_connection *c, int ev, void *ev_data) { H("
" "
", L(LS_DELAY_SEC),has_autoremove?"display:none;":"",cfg.auto_remove_missing_delay_seconds); - H("
"); /* close section + ar-wrap + panel-auto */ + H(""); /* close section + ar-wrap + panel-arm */ /* Panel: Mounting / Scan */ H("
");