/** * javascript/settings.js * * Settings panel: reads/writes unraid-podman's own configuration via * ajax/settings.php (podman.cfg + the autostart list) — not a * PodmanClient/libpod concern, see that file's header comment. */ (function () { 'use strict'; const P = window.Podman; let autostartNames = []; function renderAutostart() { const tbody = P.el('autostart-tbody'); tbody.innerHTML = autostartNames.length ? autostartNames.map(function (name, i) { return '