OXYGENHUB
# 306aec1839aa oxygenhub / templates / backdrop.html
573 B · HTML · last changed No inline code in pages, so the CSP can be enforced (#227) 18 days ago source blame history raw
1
{# A backdrop (docs/backgrounds.md): the scene the page's
2
   `#backdrop-data` names (written just before this include) drawn by the
3
   engine, Rust compiled to WebAssembly. The viewer's choice (Settings › Appearance) is a cookie;
4
   unset, a touch-only device or Save-Data gets a still sky. Any failure
5
   leaves no backdrop and nothing else changed. A sky with `live` polls
6
   `/sky/arrivals` for what happened since and adds it. #}
7
<canvas id="backdrop" aria-hidden="true"></canvas>
8
<script type="module" src="/static/backdrop-boot.js?v={{ shell.assets() }}"></script>