Show the reference tables collapsed and the task guide on expand, from one file
This commit is contained in:
@@ -507,12 +507,24 @@ $runningScripts = array_unique($runningScripts);
|
||||
<!-- Rendered from pages/readme/scheduler-readme.md, not maintained here. That file is
|
||||
also what the AI tab retrieves, so the panel you read and the answer the
|
||||
assistant gives are the same text and cannot drift — the same argument that
|
||||
makes this page parse script PURPOSE blocks instead of restating them. -->
|
||||
makes this page parse script PURPOSE blocks instead of restating them.
|
||||
Two tiers, one file. Collapsed leaves the reference tables visible: that is the
|
||||
terse per-control lookup this panel has always been, and it is what you want
|
||||
open while actually working. Expanding adds the task guide above it — the
|
||||
walkthroughs you need once and then stop reading. The split is taken from the
|
||||
section titles, so neither tier is a second copy of anything.
|
||||
vvToggleSug() toggles the header's immediate next sibling, so the guide must
|
||||
stay directly after the header and the quick tier must sit outside it. -->
|
||||
<div class="vv-sug-body vv-info-body">
|
||||
<div class="vv-doc">
|
||||
<?= vv_docs_render('Plugin/unraid/pages/readme/scheduler-readme.md', $_vv_doc_vars) ?>
|
||||
<?= vv_docs_render('Plugin/unraid/pages/readme/scheduler-readme.md', $_vv_doc_vars,
|
||||
fn($h) => !is_string($h) || !str_starts_with($h, 'Reference —')) ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="vv-info-body vv-doc vv-doc-quick">
|
||||
<?= vv_docs_render('Plugin/unraid/pages/readme/scheduler-readme.md', $_vv_doc_vars,
|
||||
fn($h) => is_string($h) && str_starts_with($h, 'Reference —')) ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ── Next Runs ── -->
|
||||
|
||||
Reference in New Issue
Block a user