mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-15 17:12:59 -04:00
re ddead
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -5,8 +5,8 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>webui</title>
|
||||
<script type="module" crossorigin src="/assets/index-MmT1vZc4.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-CQMHW1dj.css">
|
||||
<script type="module" crossorigin src="/assets/index-Bjef2-xg.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-DTwN9tlx.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
@@ -50,7 +50,7 @@ export default function TelemetryPanel() {
|
||||
) : !frame ? (
|
||||
<p className="mt-1 text-[0.75rem] text-slate-400">Waiting for sensor frames…</p>
|
||||
) : (
|
||||
<div className="mt-1 space-y-1 text-base flex">
|
||||
<div className="mt-1 space-y-1 flex gap-0.5">
|
||||
<Metric label="Charge" value={formatMetric(charge != null && capacity != null ? `${charge}/${capacity} mAh` : null)} />
|
||||
<Metric label="Charging" value={formatMetric(sensors.chargingState?.label)} />
|
||||
<Metric label="OI mode" value={formatMetric(sensors.oiMode?.label)} />
|
||||
@@ -102,7 +102,7 @@ function Metric({ label, value }) {
|
||||
// <span className="text-slate-400">{label}</span>
|
||||
// <span className="text-slate-200">{value}</span>
|
||||
// </div>
|
||||
<div className="bg-gray-500 rounded-sm p-0.5">
|
||||
<div className="bg-gray-500 rounded-sm p-0.5 text-sm">
|
||||
{label}: {value}
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user