This commit is contained in:
legop3
2025-11-16 04:06:26 -05:00
parent 9b80c2f4c6
commit 2afab19ff5
4 changed files with 11 additions and 9 deletions
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" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<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">
</head>
<body>
@@ -2,6 +2,7 @@ import { useMemo } from 'react';
import { useDriveControl } from '../context/DriveControlContext.jsx';
import { useSocket } from '../context/SocketContext.jsx';
import AuthPanel from './AuthPanel.jsx';
import AdminPanel from './AdminPanel.jsx';
const manualTabs = [
{ 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>}
</section>
<AuthPanel />
<AdminPanel />
</div>
);
}
+2 -2
View File
@@ -35,10 +35,10 @@ export default function RightPaneTabs({ layout }) {
<section className="rounded-sm bg-[#1a1d23] p-1 text-base text-slate-100">
<div className="flex gap-1">
<TabButton active={active === 'telemetry'} onClick={() => setActive('telemetry')}>
Telemetry
Rover Controls
</TabButton>
<TabButton active={active === 'room'} onClick={() => setActive('room')}>
Room
Room Controls
</TabButton>
<TabButton active={active === 'advanced'} onClick={() => setActive('advanced')}>
Advanced