feat: UI Titel KX-Bridge, Footer ViewIT 2026

This commit is contained in:
2026-04-20 21:56:13 +02:00
parent 950cad0871
commit 5cd995d13d

View File

@@ -528,7 +528,7 @@ class KobraXBridge:
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1"> <meta name="viewport" content="width=device-width,initial-scale=1">
<title>Kobra X</title> <title>KX-Bridge</title>
<style> <style>
:root{ :root{
--bg:#1a1a1f;--card:#24242c;--raised:#2e2e3a;--border:#3a3a4a; --bg:#1a1a1f;--card:#24242c;--raised:#2e2e3a;--border:#3a3a4a;
@@ -731,7 +731,7 @@ nav.bottom-nav{display:none;position:fixed;bottom:0;left:0;right:0;
<body> <body>
<header> <header>
<div class="logo">⬡ Kobra X</div> <div class="logo">⬡ KX-Bridge</div>
<div class="hname" id="h-pname">Anycubic Kobra X</div> <div class="hname" id="h-pname">Anycubic Kobra X</div>
<div class="hbadge" id="h-badge"><span class="dot"></span><span id="h-state">Standby</span></div> <div class="hbadge" id="h-badge"><span class="dot"></span><span id="h-state">Standby</span></div>
<button class="theme-btn" onclick="toggleTheme()">☀ / ☾</button> <button class="theme-btn" onclick="toggleTheme()">☀ / ☾</button>
@@ -1508,6 +1508,9 @@ function camStop(){
} }
function toggleCam(){if(camOn)camStop();else camStart()} function toggleCam(){if(camOn)camStop();else camStart()}
</script> </script>
<footer style="text-align:center;padding:12px;font-size:11px;color:var(--txt2);border-top:1px solid var(--border);margin-top:auto">
&copy; ViewIT 2026
</footer>
</body> </body>
</html>""" </html>"""
return web.Response(text=html, content_type="text/html", return web.Response(text=html, content_type="text/html",