mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 09:31:20 -04:00
guh
This commit is contained in:
+1
-1
@@ -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
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user