mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-15 17:12:59 -04:00
guh
This commit is contained in:
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-CD08Z3yR.js"></script>
|
<script type="module" crossorigin src="/assets/index-ByW9zzwu.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/index-pos682hi.css">
|
<link rel="stylesheet" crossorigin href="/assets/index-pos682hi.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ import { useMemo } from 'react';
|
|||||||
import { useDriveControl } from '../context/DriveControlContext.jsx';
|
import { useDriveControl } from '../context/DriveControlContext.jsx';
|
||||||
import { useSocket } from '../context/SocketContext.jsx';
|
import { useSocket } from '../context/SocketContext.jsx';
|
||||||
import AuthPanel from './AuthPanel.jsx';
|
import AuthPanel from './AuthPanel.jsx';
|
||||||
|
import AdminPanel from './AdminPanel.jsx';
|
||||||
|
|
||||||
const manualTabs = [
|
const manualTabs = [
|
||||||
{ key: 'start', label: 'Start OI' },
|
{ key: 'start', label: 'Start OI' },
|
||||||
@@ -69,6 +70,7 @@ export default function AdvancedSettings() {
|
|||||||
{!canControl && <p className="mt-1 text-xs text-slate-500">Assign a rover to toggle streams.</p>}
|
{!canControl && <p className="mt-1 text-xs text-slate-500">Assign a rover to toggle streams.</p>}
|
||||||
</section>
|
</section>
|
||||||
<AuthPanel />
|
<AuthPanel />
|
||||||
|
<AdminPanel />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,10 +35,10 @@ export default function RightPaneTabs({ layout }) {
|
|||||||
<section className="rounded-sm bg-[#1a1d23] p-1 text-base text-slate-100">
|
<section className="rounded-sm bg-[#1a1d23] p-1 text-base text-slate-100">
|
||||||
<div className="flex gap-1">
|
<div className="flex gap-1">
|
||||||
<TabButton active={active === 'telemetry'} onClick={() => setActive('telemetry')}>
|
<TabButton active={active === 'telemetry'} onClick={() => setActive('telemetry')}>
|
||||||
Telemetry
|
Rover Controls
|
||||||
</TabButton>
|
</TabButton>
|
||||||
<TabButton active={active === 'room'} onClick={() => setActive('room')}>
|
<TabButton active={active === 'room'} onClick={() => setActive('room')}>
|
||||||
Room
|
Room Controls
|
||||||
</TabButton>
|
</TabButton>
|
||||||
<TabButton active={active === 'advanced'} onClick={() => setActive('advanced')}>
|
<TabButton active={active === 'advanced'} onClick={() => setActive('advanced')}>
|
||||||
Advanced
|
Advanced
|
||||||
|
|||||||
Reference in New Issue
Block a user