This commit is contained in:
legop3
2025-11-18 14:22:47 -05:00
parent 8ca1acb172
commit 457ad42565
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -19,5 +19,5 @@
- things inside panels should be a darker gray - things inside panels should be a darker gray
- buttons should be even darker, almost black - buttons should be even darker, almost black
- all buttons should have a hover effect which lightens them a little - all buttons should have a hover effect which lightens them a little
- text should be either white or gray - text should be either white or the same gray
- -
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -5,7 +5,7 @@
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> <link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>webui</title> <title>webui</title>
<script type="module" crossorigin src="/assets/index-BWMrB-XN.js"></script> <script type="module" crossorigin src="/assets/index-Be0x3WiZ.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-BTX_m20O.css"> <link rel="stylesheet" crossorigin href="/assets/index-BTX_m20O.css">
</head> </head>
<body> <body>
+3 -3
View File
@@ -159,7 +159,7 @@ function BatteryBar({ charge, config, label, status }) {
return ( return (
<div className="rounded-sm bg-[#1e1e1e] px-1 py-1 text-sm text-slate-200"> <div className="rounded-sm bg-[#1e1e1e] px-1 py-1 text-sm text-slate-200">
<div className="flex items-center justify-between text-xs text-slate-400"> <div className="flex items-center justify-between text-xs text-slate-400">
<span>{label}</span> {/* <span>{label}</span> */}
<span>{status}</span> <span>{status}</span>
</div> </div>
<p className="mt-1 text-xs text-slate-400">Battery telemetry unavailable</p> <p className="mt-1 text-xs text-slate-400">Battery telemetry unavailable</p>
@@ -179,7 +179,7 @@ function BatteryBar({ charge, config, label, status }) {
return ( return (
<div className="space-y-2 rounded-sm bg-[#1e1e1e] px-1 py-1 text-sm text-slate-200"> <div className="space-y-2 rounded-sm bg-[#1e1e1e] px-1 py-1 text-sm text-slate-200">
<div className="flex items-center justify-between text-xs text-slate-400"> <div className="flex items-center justify-between text-xs text-slate-400">
<span>{label}</span> {/* <span>{label}</span> */}
<span>{status}</span> <span>{status}</span>
</div> </div>
<div className="relative h-4 w-full rounded-full bg-slate-800"> <div className="relative h-4 w-full rounded-full bg-slate-800">
@@ -233,7 +233,7 @@ function HudOverlay({ frame, label }) {
</div> */} </div> */}
{/* status that tells you the name of your rover (label) */} {/* status that tells you the name of your rover (label) */}
<div className="absolute bottom-3 left-1/2 -translate-x-1/2 flex gap-2 rounded-full bg-gray-900/40 px-2 py-0.5 text-[0.65rem] font-medium text-slate-200"> <div className="absolute bottom-3 left-1/2 -translate-x-1/2 flex gap-2 rounded-full bg-gray-900/40 px-2 py-0.5 text-[0.65rem] font-medium text-slate-200">
<span>{label || 'Unnamed Rover'}</span> <span>You are driving {label || 'Unnamed Rover'}</span>
<span>|</span> <span>|</span>
<span>{pulse ? 'Sensors Active' : 'No Recent Sensor Data'}</span> <span>{pulse ? 'Sensors Active' : 'No Recent Sensor Data'}</span>
</div> </div>