Files
onepilot/dragonpilot/dashy/web/dist/index.html
T
2026-06-11 20:00:23 +08:00

38 lines
1.6 KiB
HTML

<!DOCTYPE html>
<html lang="en" data-theme="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, viewport-fit=cover">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<title>Dashy by dragonpilot</title>
<link rel="icon" href="/icons/icon-192x192.png">
<link rel="stylesheet" href="/css/styles.css">
</head>
<body>
<div id="app-container" class="w-full h-full">
<!-- Loading Overlay (shown when server is unreachable, hidden by JS when connected) -->
<div id="loading-screen" style="display: flex" class="fixed inset-0 z-[400] flex-col items-center justify-center bg-black/95">
<img src="/icons/dashy.png" alt="Dashy" class="w-24 h-24 mb-6">
<span class="loading loading-spinner loading-lg text-primary mb-4"></span>
<div id="loading-status" class="text-white/70 text-sm">Connecting to device...</div>
</div>
<!-- HUD Page (full-screen, default when enabled) -->
<div id="hud-page" class="hud-page">
<div id="hud-page-content" class="relative w-full h-full">
<!-- Video element created dynamically by theme if needed -->
<canvas id="uiCanvas" class="absolute inset-0 w-full h-full pointer-events-none z-10"></canvas>
</div>
</div>
</div>
<!-- Main app -->
<script src="/js/app.js"></script>
</body>
</html>