Skip to content

A spy satellite simulator in your browser, except the data is real. Live open source spatial intelligence on a photorealistic 3D globe.

2.2 KB
Raw Blame
  <!-- 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>