Admin: Apply on the right; Service timing ⓘ in three sentences

The module forms' "Save & re-init" becomes "Apply", sitting at the right of
its row with the status text on the left — where a form's action belongs. The
PCO Plan Service timing help was a paragraph behind its ⓘ; it now says the
same thing in three sentences: who owns the clock and when it hands over, how
a service starts and ends, and where the document lists come from.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Waters Church
2026-09-13 13:55:36 -04:00
co-authored by Claude Fable 5.1
parent 54ed388591
commit b9d9e2894a
3 changed files with 8 additions and 5 deletions
+4 -4
View File
@@ -586,10 +586,10 @@ function buildModuleCard(mod) {
actions.className = 'module-actions';
const save = document.createElement('button');
save.className = 'btn primary';
save.textContent = 'Save & re-init';
save.textContent = 'Apply';
const status = document.createElement('span');
status.className = 'admin-status';
actions.append(save, status);
actions.append(status, save);
form.appendChild(actions);
card.appendChild(form);
@@ -597,14 +597,14 @@ function buildModuleCard(mod) {
const config = {};
for (const [key, read] of readers) config[key] = read();
save.disabled = true;
status.textContent = 'Saving…';
status.textContent = 'Applying…';
status.className = 'admin-status';
try {
await api(`/api/admin/modules/${encodeURIComponent(mod.id)}/config`, {
method: 'PUT',
body: JSON.stringify({ config }),
});
status.textContent = 'Saved — module re-initialised. Open tiles reconnect on their own.';
status.textContent = 'Applied — module re-initialised. Open tiles reconnect on their own.';
status.className = 'admin-status ok';
refreshStatus();
// What the module can list may have changed (credentials just