diff --git a/internal/core/templates/console.html b/internal/core/templates/console.html index 53b506c..24697f9 100644 --- a/internal/core/templates/console.html +++ b/internal/core/templates/console.html @@ -14,17 +14,25 @@ {{/* Confirm/location prompts. Connecting the modem sends a signed login that -confirms access (server-side); these banners reflect the state at page load and -are hidden live by console.js once a confirmed/location status arrives. */}} +confirms access (server-side). These reflect the state at page load; console.js +then updates them live — hiding the confirm prompt and revealing the location +prompt once a "confirmed" status arrives, and hiding the location prompt once a +"location" status arrives. The location prompt is always rendered when no +location is stored (hidden until the repeater is confirmed with admin) so the +swap needs no new markup. The flex row is nested so the [hidden] attribute wins +(Bootstrap's .d-flex is display:flex !important and would otherwise show it). */}} {{if not .Repeater.Confirmed}} -{{else if and .Repeater.IsAdmin (not .Repeater.Latitude)}} -