fix: Rationalize custom icons to avoid duplication (#1639)
This commit is contained in:
+84
-67
@@ -2,36 +2,44 @@
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.91 r13725"
|
||||
width="64"
|
||||
height="64"
|
||||
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
|
||||
width="24"
|
||||
height="24"
|
||||
xml:space="preserve"
|
||||
sodipodi:docname="motioneye-icon.svg"
|
||||
sodipodi:docname="motioneye.svg"
|
||||
inkscape:export-filename="/home/ccrisan/projects/motioneye/static/img/motioneye-logo.png"
|
||||
inkscape:export-xdpi="960"
|
||||
inkscape:export-ydpi="960"><metadata
|
||||
inkscape:export-ydpi="960"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"><metadata
|
||||
id="metadata8"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title /></cc:Work></rdf:RDF></metadata><defs
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
|
||||
id="defs6"><linearGradient
|
||||
id="linearGradient4351"
|
||||
inkscape:collect="always"><stop
|
||||
id="stop4353"
|
||||
inkscape:collect="always"
|
||||
id="linearGradient2058"><stop
|
||||
style="stop-color:#ffffff;stop-opacity:1;"
|
||||
offset="0"
|
||||
style="stop-color:#737373;stop-opacity:1" /><stop
|
||||
id="stop4355"
|
||||
id="stop2054" /><stop
|
||||
style="stop-color:#585858;stop-opacity:1"
|
||||
offset="1"
|
||||
style="stop-color:#585858;stop-opacity:1" /></linearGradient><linearGradient
|
||||
id="stop2056" /></linearGradient><linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient2005"><stop
|
||||
style="stop-color:#ffffff;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop2001" /><stop
|
||||
style="stop-color:#808080;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop2003" /></linearGradient><linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient4205"><stop
|
||||
style="stop-color:#4aa3e0;stop-opacity:1"
|
||||
@@ -42,21 +50,13 @@
|
||||
id="stop4209" /></linearGradient><linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient4197"><stop
|
||||
style="stop-color:#787878;stop-opacity:1"
|
||||
style="stop-color:#ffffff;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop4199" /><stop
|
||||
style="stop-color:#585858;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop4201" /></linearGradient><linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4351"
|
||||
id="linearGradient4203"
|
||||
x1="26.445793"
|
||||
y1="47.517574"
|
||||
x2="26.445793"
|
||||
y2="3.8183768"
|
||||
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4205"
|
||||
id="linearGradient4211"
|
||||
x1="26.602072"
|
||||
@@ -65,7 +65,7 @@
|
||||
y2="29.466328"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.96428571,0,0,0.96428571,0.91428571,0.91428571)" /><filter
|
||||
style="color-interpolation-filters:sRGB;"
|
||||
style="color-interpolation-filters:sRGB"
|
||||
inkscape:label="Drop Shadow"
|
||||
id="filter4285"><feFlood
|
||||
flood-opacity="0.588235"
|
||||
@@ -91,7 +91,7 @@
|
||||
result="composite2"
|
||||
id="feComposite4295" /></filter><linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4197"
|
||||
xlink:href="#linearGradient2005"
|
||||
id="linearGradient4309"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="26.445793"
|
||||
@@ -107,18 +107,20 @@
|
||||
x2="26.445793"
|
||||
y2="3.8183768" /><linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4197"
|
||||
xlink:href="#linearGradient2058"
|
||||
id="linearGradient4313"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="26.445793"
|
||||
y1="47.517574"
|
||||
x2="26.445793"
|
||||
y2="3.8183768" /><filter
|
||||
style="color-interpolation-filters:sRGB;"
|
||||
style="color-interpolation-filters:sRGB"
|
||||
inkscape:label="Drop Shadow"
|
||||
id="filter4315"
|
||||
x="-0.10000000000000001"
|
||||
y="-0.16000000000000003"><feFlood
|
||||
x="-0.03618178"
|
||||
y="-0.20783284"
|
||||
width="1.0723636"
|
||||
height="1.3304883"><feFlood
|
||||
flood-opacity="0.588235"
|
||||
flood-color="rgb(0,0,0)"
|
||||
result="flood"
|
||||
@@ -141,9 +143,13 @@
|
||||
operator="over"
|
||||
result="composite2"
|
||||
id="feComposite4325" /></filter><filter
|
||||
style="color-interpolation-filters:sRGB;"
|
||||
style="color-interpolation-filters:sRGB"
|
||||
inkscape:label="Drop Shadow"
|
||||
id="filter4327"><feFlood
|
||||
id="filter4327"
|
||||
x="-0.27857143"
|
||||
y="-0.4720238"
|
||||
width="1.5571429"
|
||||
height="1.7505952"><feFlood
|
||||
flood-opacity="0.588235"
|
||||
flood-color="rgb(0,0,0)"
|
||||
result="flood"
|
||||
@@ -166,9 +172,13 @@
|
||||
operator="over"
|
||||
result="composite2"
|
||||
id="feComposite4337" /></filter><filter
|
||||
style="color-interpolation-filters:sRGB;"
|
||||
style="color-interpolation-filters:sRGB"
|
||||
inkscape:label="Drop Shadow"
|
||||
id="filter4339"><feFlood
|
||||
id="filter4339"
|
||||
x="-0.0202507"
|
||||
y="-0.13980794"
|
||||
width="1.0405014"
|
||||
height="1.2082853"><feFlood
|
||||
flood-opacity="0.588235"
|
||||
flood-color="rgb(0,0,0)"
|
||||
result="flood"
|
||||
@@ -191,7 +201,7 @@
|
||||
operator="over"
|
||||
result="composite2"
|
||||
id="feComposite4349" /></filter></defs><sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
pagecolor="#ff0d0d"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
@@ -199,44 +209,51 @@
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1025"
|
||||
inkscape:window-width="3840"
|
||||
inkscape:window-height="1527"
|
||||
id="namedview4"
|
||||
showgrid="false"
|
||||
inkscape:zoom="2"
|
||||
inkscape:cx="-94.597631"
|
||||
inkscape:cy="10.226517"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="27"
|
||||
inkscape:zoom="29.890116"
|
||||
inkscape:cx="19.973158"
|
||||
inkscape:cy="16.577386"
|
||||
inkscape:window-x="1080"
|
||||
inkscape:window-y="227"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g10"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true" /><g
|
||||
inkscape:guide-bbox="true"
|
||||
inkscape:showpageshadow="true"
|
||||
inkscape:pagecheckerboard="false"
|
||||
inkscape:deskcolor="#d1d1d1" /><g
|
||||
id="g10"
|
||||
inkscape:groupmode="layer"
|
||||
inkscape:label="ink_ext_XXXXXX"
|
||||
transform="matrix(1.25,0,0,-1.25,0,64)"><g
|
||||
id="g4170"
|
||||
style="fill:url(#linearGradient4203);fill-opacity:1;filter:url(#filter4327)"
|
||||
transform="matrix(0.96428571,0,0,0.96428571,0.91428571,0.91428571)"><path
|
||||
id="g4823"
|
||||
transform="matrix(1.0344694,0,0,1.0344694,-3.551886,-0.86695248)"><path
|
||||
id="path4244"
|
||||
d="M 8.9346154,40.515385 C 5.3647588,36.547307 3.2,31.357779 3.2,25.6 3.2,13.228821 13.228821,3.2 25.6,3.2 37.971179,3.2 48,13.228821 48,25.6 c 0,5.736682 -2.161128,10.952493 -5.707692,14.915385 -1.695935,-0.623286 -3.387833,-1.349065 -5.061539,-2.288462 3.2394,-0.937363 5.6,-3.937988 5.6,-7.457692 0,-4.260339 -3.469626,-7.753846 -7.753846,-7.753846 -3.633936,0 -6.690552,2.51055 -7.538461,5.869231 l -3.876924,0 c -0.840685,-3.360193 -3.903443,-5.869231 -7.538461,-5.869231 -4.284219,0 -7.7807693,3.493507 -7.7807693,7.753846 0,3.56112 2.4570323,6.5856 5.7615383,7.484616 -1.676267,0.912203 -3.404813,1.620556 -5.1692306,2.261538 z M 25.6,26.461538 c 0.532632,-1.981435 1.101793,-3.947553 3.446154,-5.16923 L 25.6,16.123077 22.153846,21.292308 c 2.053593,1.454966 3.000771,3.237758 3.446154,5.16923 z"
|
||||
style="fill:url(#linearGradient4309);fill-opacity:1;stroke:none"
|
||||
inkscape:connector-curvature="0" /><path
|
||||
d="M 8.9346154,40.515385 C 5.3647588,36.547307 3.2,31.357779 3.2,25.6 3.2,13.228821 13.228821,3.2 25.6,3.2 37.971179,3.2 48,13.228821 48,25.6 c 0,5.736682 -2.161128,10.952493 -5.707692,14.915385 -1.695935,-0.623286 -3.387833,-1.349065 -5.061539,-2.288462 3.2394,-0.937363 5.6,-3.937988 5.6,-7.457692 0,-4.260339 -3.469626,-7.753846 -7.753846,-7.753846 -3.633936,0 -6.690552,2.51055 -7.538461,5.869231 h -3.876924 c -0.840685,-3.360193 -3.903443,-5.869231 -7.538461,-5.869231 -4.284219,0 -7.7807693,3.493507 -7.7807693,7.753846 0,3.56112 2.4570323,6.5856 5.7615383,7.484616 -1.676267,0.912203 -3.404813,1.620556 -5.1692306,2.261538 z M 25.6,26.461538 c 0.532632,-1.981435 1.101793,-3.947553 3.446154,-5.16923 L 25.6,16.123077 22.153846,21.292308 c 2.053593,1.454966 3.000771,3.237758 3.446154,5.16923 z"
|
||||
style="fill:url(#linearGradient4309);fill-opacity:1;stroke:none;filter:url(#filter4327)"
|
||||
inkscape:connector-curvature="0"
|
||||
transform="matrix(0.38078533,0,0,0.38078533,2.9655495,31.335499)" /><path
|
||||
id="path4242"
|
||||
d="m 16.123077,33.353847 c -1.427443,0 -2.584616,-1.157173 -2.584616,-2.584616 0,-1.427444 1.157173,-2.584615 2.584616,-2.584615 1.427444,0 2.584615,1.157171 2.584615,2.584615 0,1.427443 -1.157171,2.584616 -2.584615,2.584616 z"
|
||||
style="fill:url(#linearGradient4311);fill-opacity:1;stroke:none"
|
||||
inkscape:connector-curvature="0" /><path
|
||||
style="fill:url(#linearGradient4311);fill-opacity:1;stroke:none;filter:url(#filter4327)"
|
||||
inkscape:connector-curvature="0"
|
||||
transform="matrix(0.38078533,0,0,0.38078533,2.9655495,31.335499)" /><path
|
||||
id="path4240"
|
||||
d="m 35.076923,33.353847 c -1.427443,0 -2.584615,-1.157173 -2.584615,-2.584616 0,-1.427444 1.157172,-2.584615 2.584615,-2.584615 1.427443,0 2.584616,1.157171 2.584616,2.584615 0,1.427443 -1.157173,2.584616 -2.584616,2.584616 z"
|
||||
style="fill:url(#linearGradient4313);fill-opacity:1;stroke:none"
|
||||
inkscape:connector-curvature="0" /></g><path
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#737373;fill-opacity:1;stroke:none;filter:url(#filter4339)"
|
||||
d="m 25.6,47.2 c -4.373944,0 -8.437159,-1.399808 -11.838461,-3.634616 3.677605,-0.394237 7.305921,-1.342945 11.423077,-3.375 4.166157,2.122533 8.434154,3.008875 12.279808,3.452886 C 34.057131,45.890032 29.986674,47.2 25.6,47.2 Z"
|
||||
id="path4248" /><path
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:url(#linearGradient4211);fill-opacity:1;stroke:none;filter:url(#filter4315)"
|
||||
d="M 39.723077,42.552884 C 35.394064,42.5242 29.479588,40.397223 25.184616,38.432418 20.668821,40.064102 16.035448,42.649343 10.801923,42.526924 10.453022,42.51873 10.118061,42.50105 9.7634616,42.475 L 5.6615384,42.1375 9.5557693,40.839424 c 5.3417977,-1.74056 10.0398397,-2.851302 14.1749997,-10.025963 0.959101,0 2.845924,-4.15e-4 3.738462,-4.15e-4 4.11884,7.134039 9.059296,8.324614 14.149039,10.026378 L 45.460577,42.085577 41.4625,42.475 c -0.544847,0.05181 -1.120992,0.08198 -1.739423,0.07788 z"
|
||||
id="path4246"
|
||||
sodipodi:nodetypes="cccccccccccc" /></g></svg>
|
||||
style="fill:url(#linearGradient4313);fill-opacity:1;stroke:none;filter:url(#filter4327)"
|
||||
inkscape:connector-curvature="0"
|
||||
transform="matrix(0.38078533,0,0,0.38078533,2.9655495,31.335499)" /><path
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#d9d9d9;fill-opacity:1;stroke:none;filter:url(#filter4339)"
|
||||
d="m 25.6,47.2 c -4.373944,0 -8.437159,-1.399808 -11.838461,-3.634616 3.677605,-0.394237 7.305921,-1.342945 11.423077,-3.375 4.166157,2.122533 8.434154,3.008875 12.279808,3.452886 C 34.057131,45.890032 29.986674,47.2 25.6,47.2 Z"
|
||||
id="path4248"
|
||||
transform="matrix(0.39488848,0,0,0.39488848,2.6045087,30.974457)" /><path
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:url(#linearGradient4211);fill-opacity:1;stroke:none;filter:url(#filter4315)"
|
||||
d="M 39.723077,42.552884 C 35.394064,42.5242 29.479588,40.397223 25.184616,38.432418 20.668821,40.064102 16.035448,42.649343 10.801923,42.526924 10.453022,42.51873 10.118061,42.50105 9.7634616,42.475 L 5.6615384,42.1375 9.5557693,40.839424 c 5.3417977,-1.74056 10.0398397,-2.851302 14.1749997,-10.025963 0.959101,0 2.845924,-4.15e-4 3.738462,-4.15e-4 4.11884,7.134039 9.059296,8.324614 14.149039,10.026378 L 45.460577,42.085577 41.4625,42.475 c -0.544847,0.05181 -1.120992,0.08198 -1.739423,0.07788 z"
|
||||
id="path4246"
|
||||
sodipodi:nodetypes="cccccccccccc"
|
||||
transform="matrix(0.39488848,0,0,0.39488848,2.6045087,30.974457)" /></g></g></svg>
|
||||
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 11 KiB |
@@ -41,7 +41,7 @@ import {
|
||||
QueryResultsType,
|
||||
QueryReturnType,
|
||||
} from '../types';
|
||||
import motioneyeLogo from './assets/motioneye-logo.svg';
|
||||
import motioneyeLogo from './assets/motioneye.svg';
|
||||
import { MotionEyeEventQueryResults } from './types';
|
||||
|
||||
class MotionEyeQueryResultsClassifier {
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
// Converted from https://raw.githubusercontent.com/motioneye-project/motioneye/python2/motioneye/static/img/motioneye-icon.svg .
|
||||
export const MOTIONEYE_ICON_SVG_VIEWBOX = '0 0 64 64';
|
||||
export const MOTIONEYE_ICON_SVG_PATH =
|
||||
'M 49.65,10.81 ' +
|
||||
'C 44.24,10.84 36.85,13.50 31.48,15.96 ' +
|
||||
'25.84,13.92 20.04,10.69 13.50,10.84 ' +
|
||||
'13.07,10.85 12.65,10.87 12.20,10.91 ' +
|
||||
'12.20,10.91 7.08,11.33 7.08,11.33 ' +
|
||||
'7.08,11.33 11.94,12.95 11.94,12.95 ' +
|
||||
'18.62,15.13 24.49,16.51 29.66,25.48 ' +
|
||||
'30.86,25.48 33.22,25.48 34.34,25.48 ' +
|
||||
'39.49,16.57 45.66,15.08 52.02,12.95 ' +
|
||||
'52.02,12.95 56.83,11.39 56.83,11.39 ' +
|
||||
'56.83,11.39 51.83,10.91 51.83,10.91 ' +
|
||||
'51.15,10.84 50.43,10.80 49.65,10.81 ' +
|
||||
'49.65,10.81 49.65,10.81 49.65,10.81 Z ' +
|
||||
'M 32.00,5.00 ' +
|
||||
'C 26.53,5.00 21.45,6.75 17.20,9.54 ' +
|
||||
'21.80,10.04 26.33,11.22 31.48,13.76 ' +
|
||||
'36.69,11.11 42.02,10.00 46.83,9.45 ' +
|
||||
'42.57,6.64 37.48,5.00 32.00,5.00 Z ' +
|
||||
'M 43.42,22.65 ' +
|
||||
'C 41.70,22.65 40.31,24.05 40.31,25.77 ' +
|
||||
'40.31,27.49 41.70,28.88 43.42,28.88 ' +
|
||||
'45.14,28.88 46.54,27.49 46.54,25.77 ' +
|
||||
'46.54,24.05 45.14,22.65 43.42,22.65 Z ' +
|
||||
'M 20.58,22.65 ' +
|
||||
'C 18.86,22.65 17.46,24.05 17.46,25.77 ' +
|
||||
'17.46,27.49 18.86,28.88 20.58,28.88 ' +
|
||||
'22.30,28.88 23.69,27.49 23.69,25.77 ' +
|
||||
'23.69,24.05 22.30,22.65 20.58,22.65 Z ' +
|
||||
'M 11.91,14.02 ' +
|
||||
'C 7.61,18.80 5.00,25.06 5.00,32.00 ' +
|
||||
'5.00,46.91 17.09,59.00 32.00,59.00 ' +
|
||||
'46.91,59.00 59.00,46.91 59.00,32.00 ' +
|
||||
'59.00,25.09 56.40,18.80 52.12,14.02 ' +
|
||||
'50.08,14.77 48.04,15.65 46.02,16.78 ' +
|
||||
'49.92,17.91 52.77,21.53 52.77,25.77 ' +
|
||||
'52.77,30.90 48.59,35.12 43.42,35.12 ' +
|
||||
'39.04,35.12 35.36,32.09 34.34,28.04 ' +
|
||||
'34.34,28.04 29.66,28.04 29.66,28.04 ' +
|
||||
'28.65,32.09 24.96,35.12 20.58,35.12 ' +
|
||||
'15.41,35.12 11.20,30.90 11.20,25.77 ' +
|
||||
'11.20,21.48 14.16,17.83 18.14,16.75 ' +
|
||||
'16.12,15.65 14.04,14.79 11.91,14.02 ' +
|
||||
'11.91,14.02 11.91,14.02 11.91,14.02 Z ' +
|
||||
'M 32.00,30.96 ' +
|
||||
'C 32.64,33.35 33.33,35.72 36.15,37.19 ' +
|
||||
'36.15,37.19 32.00,43.42 32.00,43.42 ' +
|
||||
'32.00,43.42 27.85,37.19 27.85,37.19 ' +
|
||||
'30.32,35.44 31.46,33.29 32.00,30.96 Z';
|
||||
Reference in New Issue
Block a user