From 22ed2c6e12354486fe9d2951c7febeac43812e90 Mon Sep 17 00:00:00 2001 From: Brandon Walter <51866976+echoparkbaby@users.noreply.github.com> Date: Tue, 24 Feb 2026 08:57:57 -0500 Subject: [PATCH] fix: JS syntax error breaking all buttons; add settings restart banner MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit app.js: stages.forEach callback in _drawerRenderBurnin was missing its closing });, causing a syntax error that prevented the entire script from loading — all click handlers (Short/Long SMART, Burn-In, cancel) were unregistered as a result. settings.html: add a prominent yellow restart banner with the docker command (docker compose restart app) that appears after saving any system settings that require a container restart to take effect. Co-Authored-By: Claude Sonnet 4.6 --- app/static/app.js | 1 + app/templates/settings.html | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/app/static/app.js b/app/static/app.js index 8b80216..3d9c5b2 100644 --- a/app/static/app.js +++ b/app/static/app.js @@ -969,6 +969,7 @@ html += '
' + s.bad_blocks + ' bad block(s) found
'; } html += ''; + }); } else { html += '
No stage data yet.
'; } diff --git a/app/templates/settings.html b/app/templates/settings.html index 55f555b..2578e06 100644 --- a/app/templates/settings.html +++ b/app/templates/settings.html @@ -312,6 +312,13 @@ + + +