mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-02 20:59:56 -05:00
Controller: add help.sh to the Maintenance Scripts.
A new wrolpi-help-script.service oneshot runs /opt/wrolpi/help.sh so the Controller UI can run system diagnostics and show the output from the journal. The confirmation modal hides the warnings block for scripts with no warnings. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
d6b019c24e
commit
e42e4ed06e
4 changed files with 29 additions and 1 deletions
|
|
@ -2070,6 +2070,7 @@
|
|||
|
||||
const warningsList = document.getElementById('script-warnings-list');
|
||||
warningsList.innerHTML = script.warnings.map(w => `<li>${w}</li>`).join('');
|
||||
document.getElementById('script-confirm-warnings').style.display = script.warnings.length ? '' : 'none';
|
||||
|
||||
// Generate parameter inputs dynamically
|
||||
const paramsContainer = document.getElementById('script-params-container');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue