mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
- i18n scanner: lastError sink, no false sinks on defaults and ternaries - shared src/i18n/marker.js for modules that only mark strings - wind field messages move to wind/fields.js; CITY_POIS imports from cityPois.js - drop review IDs, change history and stale references from comments and docs Co-Authored-By: Claude Opus 5.5 <[email protected]>
31 lines
2.2 KiB
HTML
31 lines
2.2 KiB
HTML
<!-- POWER UP — in-app key setup. Dev-server only: src/keySetup.js removes
|
|
both the chip and this dialog outright when /api/setup/status is not
|
|
there to answer (prod builds, LAN visitors). Rows are rendered from
|
|
that payload, so the key registry lives in src/keySetupCore.mjs alone. -->
|
|
<!-- Bottom-right HUD row: the POWER UP chip (while keys are missing) and
|
|
the language picker that src/ui/localePicker.js renders into #locale-picker. -->
|
|
<div id="corner-actions">
|
|
<button id="key-setup-chip" type="button" hidden aria-haspopup="dialog" aria-controls="key-setup">
|
|
<span class="material-symbols-outlined" aria-hidden="true">bolt</span>
|
|
<span data-key-setup-chip-label data-i18n>POWER UP</span>
|
|
</button>
|
|
<div id="locale-picker"></div>
|
|
</div>
|
|
<aside id="key-setup" role="dialog" aria-labelledby="key-setup-title" aria-describedby="key-setup-description" hidden>
|
|
<div class="key-setup-scanline" aria-hidden="true"></div>
|
|
<header class="key-setup-header">
|
|
<span class="key-setup-kicker" data-i18n>GROUND STATION · PROVIDER SETTINGS</span>
|
|
<button type="button" class="key-setup-close" data-key-setup-close aria-label="Close key setup" data-i18n-aria-label>
|
|
<span class="material-symbols-outlined" aria-hidden="true">close</span>
|
|
</button>
|
|
</header>
|
|
<h2 id="key-setup-title" data-i18n>Power up the globe</h2>
|
|
<p id="key-setup-description" data-i18n>The globe already flies keyless. Every key below switches on another real feed — paste one and it's saved into this app's local configuration, then the server restarts itself. Server-side keys stay on this machine; Google Maps and Cesium ion run in the browser and must be provider-restricted. Keys you configured elsewhere are shown but never touched.</p>
|
|
<div class="key-setup-rows" data-key-setup-rows></div>
|
|
<div class="key-setup-footer">
|
|
<button type="button" class="key-setup-apply" data-key-setup-apply data-i18n>SAVE KEYS</button>
|
|
<span class="key-setup-hint" data-i18n>ESC to close</span>
|
|
</div>
|
|
<p class="key-setup-note" data-key-setup-status role="status" aria-live="polite" data-i18n>The Google Maps key buys the photorealistic planet — everything else stacks on top.</p>
|
|
</aside>
|