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:
@@ -25,6 +25,7 @@
|
||||
//
|
||||
// DEPENDS ON
|
||||
// api/watchdog.php polled every 30s → include/watchdog.php
|
||||
require_once dirname(__DIR__) . '/include/confui.php';
|
||||
?>
|
||||
<style>
|
||||
.vv-wd-card { background:#161616;border:1px solid #2a2a2a;border-radius:6px;padding:10px;min-width:0; }
|
||||
@@ -78,6 +79,13 @@
|
||||
<div style="grid-column:1/-1;color:#444;font-size:12px;padding:16px 0;text-align:center;">Loading…</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-watchdog', 'watchdog', 'Watchdog settings');
|
||||
?>
|
||||
<script>
|
||||
(function() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user