+
+
{title}
Copy
Add
-
+
{yamlPrefix}
{Object.keys(points).map((mainkey) => {
if (isMulti) {
@@ -460,7 +457,7 @@ function MaskValues({
{` ${mainkey}:\n mask:\n`}
{onAdd && showButtons ? (
-
+
{`Add to ${mainkey}`}
) : null}
@@ -506,13 +503,13 @@ function Item({ mainkey, subkey, editing, handleEdit, points, showButtons, handl
editing.key === mainkey && editing.subkey === subkey ? 'text-blue-800 dark:text-blue-600' : ''
}`}
onClick={handleEdit}
- title="Click to edit"
+ title='Click to edit'
>
{`${yamlKeyPrefix(points, mainkey, subkey)}${polylinePointsToPolyline(points)}`}
{showButtons ? (
+
- Debug {service.version}
+ Debug {service.version}
{!detectors ? (
@@ -44,8 +44,8 @@ export default function Debug() {
) : (
-
-
+
+
detector
@@ -67,8 +67,8 @@ export default function Debug() {
-
-
+
+
camera
@@ -96,12 +96,12 @@ export default function Debug() {
)}
-
-
Config
-
+
+
Config
+
Copy to Clipboard
-
+
{JSON.stringify(config, null, 2)}
diff --git a/web/src/routes/Events/index.jsx b/web/src/routes/Events/index.jsx
index 0f0c03cb8..e56bcd7a1 100644
--- a/web/src/routes/Events/index.jsx
+++ b/web/src/routes/Events/index.jsx
@@ -81,11 +81,11 @@ export default function Events({ path: pathname, limit = API_LIMIT } = {}) {
[apiHost, handleFilter, pathname, scrollToRef]
);
return (
-
+
Events
-
-
+
+
{events.map((props, idx) => {
@@ -95,7 +95,7 @@ export default function Events({ path: pathname, limit = API_LIMIT } = {}) {
-
+
{status === FetchStatus.LOADING ? : reachedEnd ? 'No more events' : null}
diff --git a/web/src/routes/Recording.jsx b/web/src/routes/Recording.jsx
index 0febe56a4..8689e0449 100644
--- a/web/src/routes/Recording.jsx
+++ b/web/src/routes/Recording.jsx
@@ -16,10 +16,10 @@ export default function Recording({ camera, date, hour, seconds }) {
if (data.length === 0) {
return (
-
+
{camera} Recordings
-
-
No Recordings Found
+
+
No Recordings Found
Make sure you have enabled the record role in your configuration for the {camera} camera.
@@ -69,7 +69,7 @@ export default function Recording({ camera, date, hour, seconds }) {
}
return (
-
+
{camera} Recordings
- Button
-
+
+
Button
+
Default
- Danger
- Save
- Gray
+ Danger
+ Save
+ Gray
Disabled
-
-
Default
-
+
+ Default
+
Danger
-
+
Save
-
+
Gray
-
+
Disabled
-
-
Default
-
+
+ Default
+
Danger
-
+
Save
-
+
Gray
-
+
Disabled
- Dialog
+ Dialog
{
setShowDialog(true);
@@ -76,8 +76,8 @@ export default function StyleGuide() {
{showDialog ? (
) : null}
- Switch
-
-
-
+
Switch
+
+
+
-
-
+
+
-
Select
-
-
+
Select
+
+
-
TextField
-
-
-
-
-
-
+
TextField
+
+
+
+
+
+
);