Put each page's settings on that page

A watchdog threshold was reachable only from the bottom of a list of a hundred
and twenty on another tab.
This commit is contained in:
Gmer4Lfe
2026-08-12 19:55:51 -04:00
parent 8ca52c64b9
commit e64d26af6c
13 changed files with 284 additions and 151 deletions
+8
View File
@@ -36,6 +36,7 @@
// api/rsync_win_arrays.php share array editing
// api/flag_toggle.php enable/disable toggles
// api/confform.php inline conf edits
require_once dirname(__DIR__) . '/include/confui.php';
?>
<style>
.vv-ry-card { background:#161616;border:1px solid #2a2a2a;border-radius:6px;padding:10px 12px;min-width:0; }
@@ -511,6 +512,13 @@
</div><!-- /layer -->
<?php
// The conf sections this page is about, drawn by the shared renderer. They were reachable
// only from the Settings tab's catch-all, which is a long way to go for a setting named
// after the page you are already looking at.
vv_conf_ui_card('vv-cf-rsync', 'rsync', 'Rsync settings');
?>
<script>
// Shared state — globals so IIFE internals and onclick handlers can both reach them
var _vvRyWinOpen = new Set(); // which window panels are expanded