start a new React-based UI (#111)

This doesn't do much yet but should provide a better foundation for
improvement than the jQuery UI, as described in the github issue.
This commit is contained in:
Scott Lamb
2021-01-31 21:55:25 -08:00
parent c547a49ac8
commit f281922359
67 changed files with 11454 additions and 8052 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 550 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 824 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -0,0 +1 @@
<svg version="1" xmlns="http://www.w3.org/2000/svg" width="933.333" height="933.333" viewBox="0 0 700.000000 700.000000"><path d="M327 1c-74.1 5.4-142.5 32.4-198.9 78.8C9.1 177.6-31.7 341 27.1 484.1c33.1 80.5 99 148.7 178.3 184.2 93 41.8 196.2 41.8 289.2 0 31.7-14.2 67.6-37.9 92.8-61.2 36.8-34.1 64.2-73 84.1-119.7 31.7-74.2 36.7-158.7 14-236.1-22.2-75.4-70.5-142.5-135.1-187.9C501.5 29.2 444.4 8 384.5 2.1 369.2.5 340.9 0 327 1z"/></svg>

After

Width:  |  Height:  |  Size: 439 B

46
ui/public/index.html Normal file
View File

@@ -0,0 +1,46 @@
<!DOCTYPE html>
<!--
- This file is part of Moonfire NVR, a security camera network video recorder.
- Copyright (C) 2021 The Moonfire NVR Authors; see AUTHORS and LICENSE.txt.
- SPDX-License-Identifier: GPL-v3.0-or-later WITH GPL-3.0-linking-exception
-->
<html lang="en">
<head>
<meta charset="utf-8" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="%PUBLIC_URL%/favicons/apple-touch-icon-94a09b5d2ddb5af47.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="%PUBLIC_URL%/favicons/favicon-32x32-ab95901a9e0d040e2.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="%PUBLIC_URL%/favicons/favicon-16x16-b16b3f2883aacf9f1.png"
/>
<link rel="manifest" href="%PUBLIC_URL%/site.webmanifest" />
<link
rel="mask-icon"
href="%PUBLIC_URL%/favicons/safari-pinned-tab-9792c2c82f04639f8.svg"
color="#e04e1b"
/>
<meta name="theme-color" content="#e04e1b" />
<meta
name="viewport"
content="minimum-scale=1, initial-scale=1, width=device-width"
/>
<meta name="description" content="security camera network video recorder" />
<title>Moonfire NVR</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
</body>
</html>

3
ui/public/robots.txt Normal file
View File

@@ -0,0 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow: /

View File

@@ -0,0 +1,21 @@
{
"name": "Moonfire NVR",
"short_name": "Moonfire",
"description": "security camera network video recorder",
"icons": [
{
"src": "/favicons/android-chrome-192x192-22fa756c4c8a94dde.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/favicons/android-chrome-512x512-0403b1c77057918bb.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#e04e1b",
"background_color": "#ffffff",
"display": "standalone",
"start_url": "."
}