diff --git a/web/src/components/CameraControlPanel.jsx b/web/src/components/CameraControlPanel.jsx index 06d89fe40..078d94752 100644 --- a/web/src/components/CameraControlPanel.jsx +++ b/web/src/components/CameraControlPanel.jsx @@ -104,79 +104,81 @@ export default function CameraControlPanel({ camera = '' }) { }); return ( -
- {ptz.features.includes('pt') && ( -
- - Pan / Tilt - -
- -
-
- - -
-
- +
+ {ptz.features.includes('zoom') && ( +
+
+ + Pan / Tilt + +
+ +
+
+ + +
+
+ +
)} {ptz.features.includes('zoom') && ( -
+
Zoom diff --git a/web/src/routes/Birdseye.jsx b/web/src/routes/Birdseye.jsx index b67eedd53..8255436c9 100644 --- a/web/src/routes/Birdseye.jsx +++ b/web/src/routes/Birdseye.jsx @@ -94,7 +94,7 @@ export default function Birdseye() { {player} {ptzCameras && ( -
+
Control Panel {ptzCameras.map((camera) => (
diff --git a/web/src/routes/Camera.jsx b/web/src/routes/Camera.jsx index 2a21abc55..4a415e32d 100644 --- a/web/src/routes/Camera.jsx +++ b/web/src/routes/Camera.jsx @@ -190,7 +190,7 @@ export default function Camera({ camera }) { {player} {cameraConfig?.onvif?.host && ( -
+
Control Panel