Commit graph

3 commits

Author SHA1 Message Date
7cc9649f03 Fix unsupported prompt() confirm; bluer neon theme + themed modal
Bug: the OLT flooding-mode and ONU-delete flows gated on window.prompt()
for the typed APPLY/DELETE confirmation, but Electron does not support
prompt() — it returns null and shows nothing, so clicking OK on the first
dialog silently fell through to "Cancelled." and nothing happened.

Fix: replace window.confirm + window.prompt with an in-app confirmTyped()
modal (Promise<boolean>). It combines the summary and the typed-word gate
into one dialog: the confirm button stays disabled until the operator
types the exact word; Enter confirms, Escape/backdrop cancels. Wired into
all three confirmations (OLT flood change, ONU delete, firmware execute).

Theme: shift the palette electric-blue, turn up the glow (stronger
multi-layer box/text shadows, bluer ambient vignette), and style the new
modal to match (neon border, red glow for destructive variant).

Verified: npm run check passes; rendered the login + modal offscreen and
functionally confirmed the typed-word gate enables the button and resolves
true on confirm.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 13:13:42 +02:00
49a0e1cba1 Restyle UI with neon/terminal "hackertyper" theme
Darker phosphor-black background with ambient neon vignette, monospace
everywhere, glowing neon-green accents, and CRT scanline + brand-flicker
effects. Restyle only — every class name HTML/app.js depends on is
preserved (status pills, fec-cell, slot-arrow, table classes, etc.).

- Neon-green primary / cyan secondary / magenta-red danger, all with
  text-shadow + box-shadow glow
- Glowing focus rings on inputs, glowing buttons and selected rows
- CRT scanline overlay (body::after, non-interactive) + subtle flicker
- Neon scrollbars and selection highlight

Verified by rendering the login view offscreen via Electron.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 12:59:22 +02:00
0eb9b55717 initial commit 2026-05-26 11:16:18 +02:00