thesandwi.ch/src/partials/thecockpit.html
Isaac Mills 27e443e073
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Add background color to cockpit canvas
2025-07-18 21:47:29 -06:00

18 lines
No EOL
542 B
HTML

<x-tab.content selected="3">
<x-section-head header="The Cockpit">
<djot>
## Fact:
In Myrtle Beach South Carolina, Richard and Isaac counted 100 Chrysler Pacificas in the span of a week.
</djot>
</x-section-head>
<div id="cockpit-canvas" style="height: 80vh; margin: 8px; background-color: #000;"></div>#000
</x-tab.content>
<script>
var interval = setInterval(function () {
if (typeof window.run_cockpit === 'function') {
clearInterval(interval);
window.run_cockpit();
}
}, 100);
</script>