diff --git a/web/src/icons/About.jsx b/web/src/icons/About.jsx new file mode 100644 index 000000000..444ad3227 --- /dev/null +++ b/web/src/icons/About.jsx @@ -0,0 +1,20 @@ +import { h } from 'preact'; +import { memo } from 'preact/compat'; + +export function About({ className = '' }) { + return ( + + + + ); +} + +export default memo(About); + diff --git a/web/src/routes/Storage.jsx b/web/src/routes/Storage.jsx index 4539df6f1..dd7f969c7 100644 --- a/web/src/routes/Storage.jsx +++ b/web/src/routes/Storage.jsx @@ -5,6 +5,8 @@ import { useWs } from '../api/ws'; import useSWR from 'swr'; import { Table, Tbody, Thead, Tr, Th, Td } from '../components/Table'; import Link from '../components/Link'; +import Button from '../components/Button'; +import { About } from '../icons/About'; const emptyObject = Object.freeze({}); @@ -66,9 +68,19 @@ export default function Storage() { Overview -
+
-
Data
+
+
Data
+ +
@@ -83,7 +95,17 @@ export default function Storage() {
-
Memory
+
+
Memory
+ +
@@ -110,7 +132,17 @@ export default function Storage() { - Cameras +
+ Cameras + +
{Object.entries(storage).map(([name, camera]) => (
diff --git a/web/src/routes/System.jsx b/web/src/routes/System.jsx index b6e4d3c9d..4eeaa71a7 100644 --- a/web/src/routes/System.jsx +++ b/web/src/routes/System.jsx @@ -11,6 +11,7 @@ import { useState } from 'preact/hooks'; import Dialog from '../components/Dialog'; import TimeAgo from '../components/TimeAgo'; import copy from 'copy-to-clipboard'; +import { About } from '../icons/About'; const emptyObject = Object.freeze({}); @@ -208,7 +209,19 @@ export default function System() {
) : ( - Detectors +
+ + Detectors + + +
{detectorNames.map((detector) => (
@@ -237,8 +250,20 @@ export default function System() { ))}
-
- GPUs +
+
+ + GPUs + + +
@@ -282,7 +307,19 @@ export default function System() {
)} - Cameras +
+ + Cameras + + +
{!cameras ? ( ) : ( @@ -347,7 +384,19 @@ export default function System() {
)} - Other Processes +
+ + Other Processes + + +
{processesNames.map((process) => (