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
@@ -35,6 +35,7 @@
// api/create_api_key.php credential provisioning
// api/run.php long-running deploy operations
// api/confform.php inline conf edits
require_once dirname(__DIR__) . '/include/confui.php';
?>
<style>
.vv-pt-grid { display:grid; gap:12px; }
@@ -157,6 +158,13 @@ textarea.vv-pt-set-input { resize:vertical; white-space:pre; }
<div id="vv-pt-settings-body" style="display:none;margin-top:10px;"></div>
</div>
<?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-partnership', 'partnership', 'Partnership settings');
?>
<script>
// ── Toggle states — persist across 10s poll re-renders ────────────────────────
const _vvOnboarding = {}; // hostId → true when onboard steps are expanded