From 1cb26aff20f8e190b14341ea1876fce9c9ce2aa2 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 3 Jun 2026 00:06:01 -0600 Subject: [PATCH] Add full-screen alarm acknowledgement overlay --- simulator/static/style.css | 51 ++++++++++++++++++++++ simulator/templates/index.html | 77 ++++++++++++++++++++++++++++++++++ 2 files changed, 128 insertions(+) diff --git a/simulator/static/style.css b/simulator/static/style.css index ca14106..e590a02 100644 --- a/simulator/static/style.css +++ b/simulator/static/style.css @@ -155,3 +155,54 @@ nav button { font-size: 0.9rem; border-radius: 10px; } + + +.alarm-overlay { + position: fixed; + inset: 0; + background: #200; + color: white; + z-index: 9999; + display: flex; + align-items: center; + justify-content: center; + padding: 24px; +} + +.alarm-overlay.hidden { + display: none; +} + +.alarm-box { + width: min(720px, 100%); + background: #3a0000; + border: 4px solid #ffdddd; + border-radius: 24px; + padding: 36px; + text-align: center; + box-shadow: 0 0 40px rgba(0,0,0,0.7); +} + +.alarm-icon { + font-size: 5rem; + margin-bottom: 12px; +} + +.alarm-box h1 { + font-size: 2.4rem; + margin-bottom: 18px; +} + +.alarm-box p { + font-size: 1.8rem; + margin-bottom: 28px; +} + +.alarm-box button { + width: 100%; + font-size: 1.5rem; + padding: 24px; + background: white; + color: #300; + font-weight: bold; +} diff --git a/simulator/templates/index.html b/simulator/templates/index.html index abdc92a..093daae 100644 --- a/simulator/templates/index.html +++ b/simulator/templates/index.html @@ -5,6 +5,15 @@ + +

Xterra Dashboard

@@ -80,6 +89,8 @@