Add readonly machine lookup and UI for editing

master
Skylar Ittner 4 years ago
parent 0a1fe2c149
commit 7e5cb5761f

@ -1,45 +1,102 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!--
Copyright 2020 Netsyms Technologies.
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" id="com.netsyms.template" version="1.0.0">
<name>Lecte</name>
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.netsyms.machinemanager.mobile" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>MachineManager</name>
<description>
App Template
Mobile client app for MachineManager web app/API
</description>
<author email="dev@netsyms.com" href="https://netsyms.com">
Netsyms Technologies
</author>
<content src="index.html"/>
<plugin name="cordova-plugin-whitelist" spec="1"/>
<access origin="*"/>
<allow-intent href="http://*/*"/>
<allow-intent href="https://*/*"/>
<allow-intent href="tel:*"/>
<allow-intent href="sms:*"/>
<allow-intent href="mailto:*"/>
<allow-intent href="geo:*"/>
<content src="index.html" />
<plugin name="cordova-plugin-whitelist" spec="1" />
<access origin="*" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<access launch-external="yes" origin="geo:*" />
<platform name="android">
<allow-intent href="market:*" />
<preference name="HeaderColor" value="#4CAF50" />
<!--
<resource-file src="/res/android/drawable/ic_launcher_background.xml" target="/app/src/main/res/drawable/ic_launcher_background.xml" />
<resource-file src="/res/android/drawable/ic_launcher_foreground.xml" target="/app/src/main/res/drawable/ic_launcher_foreground.xml" />
<resource-file src="res/android/mipmap-anydpi-v26/ic_launcher.xml" target="app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml" />
<icon background="res/android/drawable/ic_launcher_background.xml" density="mdpi" foreground="res/android/drawable/ic_launcher_foreground.xml" src="res/android/mipmap-mdpi/ic_launcher.png" />
<icon background="res/android/drawable/ic_launcher_background.xml" density="hdpi" foreground="res/android/drawable/ic_launcher_foreground.xml" src="res/android/mipmap-hdpi/ic_launcher.png" />
<icon background="res/android/drawable/ic_launcher_background.xml" density="xhdpi" foreground="res/android/drawable/ic_launcher_foreground.xml" src="res/android/mipmap-xhdpi/ic_launcher.png" />
<icon background="res/android/drawable/ic_launcher_background.xml" density="xxhdpi" foreground="res/android/drawable/ic_launcher_foreground.xml" src="res/android/mipmap-xxhdpi/ic_launcher.png" />
<icon background="res/android/drawable/ic_launcher_background.xml" density="xxxhdpi" foreground="res/android/drawable/ic_launcher_foreground.xml" src="res/android/mipmap-xxxhdpi/ic_launcher.png" />
-->
<resource-file src="resources/values/colors.xml" target="/app/src/main/res/values/colors.xml" />
<icon background="@color/background" density="ldpi" foreground="resources/android/icon/ldpi-foreground.png" />
<icon background="@color/background" density="mdpi" foreground="resources/android/icon/mdpi-foreground.png" />
<icon background="@color/background" density="hdpi" foreground="resources/android/icon/hdpi-foreground.png" />
<icon background="@color/background" density="xhdpi" foreground="resources/android/icon/xhdpi-foreground.png" />
<icon background="@color/background" density="xxhdpi" foreground="resources/android/icon/xxhdpi-foreground.png" />
<icon background="@color/background" density="xxxhdpi" foreground="resources/android/icon/xxxhdpi-foreground.png" />
<icon density="ldpi" src="resources/android/icon/drawable-ldpi-icon.png" />
<icon density="mdpi" src="resources/android/icon/drawable-mdpi-icon.png" />
<icon density="hdpi" src="resources/android/icon/drawable-hdpi-icon.png" />
<icon density="xhdpi" src="resources/android/icon/drawable-xhdpi-icon.png" />
<icon density="xxhdpi" src="resources/android/icon/drawable-xxhdpi-icon.png" />
<icon density="xxxhdpi" src="resources/android/icon/drawable-xxxhdpi-icon.png" />
<splash density="land-ldpi" src="resources/android/splash/drawable-land-ldpi-screen.png" />
<splash density="land-mdpi" src="resources/android/splash/drawable-land-mdpi-screen.png" />
<splash density="land-hdpi" src="resources/android/splash/drawable-land-hdpi-screen.png" />
<splash density="land-xhdpi" src="resources/android/splash/drawable-land-xhdpi-screen.png" />
<splash density="land-xxhdpi" src="resources/android/splash/drawable-land-xxhdpi-screen.png" />
<splash density="land-xxxhdpi" src="resources/android/splash/drawable-land-xxxhdpi-screen.png" />
<splash density="port-ldpi" src="resources/android/splash/drawable-port-ldpi-screen.png" />
<splash density="port-mdpi" src="resources/android/splash/drawable-port-mdpi-screen.png" />
<splash density="port-hdpi" src="resources/android/splash/drawable-port-hdpi-screen.png" />
<splash density="port-xhdpi" src="resources/android/splash/drawable-port-xhdpi-screen.png" />
<splash density="port-xxhdpi" src="resources/android/splash/drawable-port-xxhdpi-screen.png" />
<splash density="port-xxxhdpi" src="resources/android/splash/drawable-port-xxxhdpi-screen.png" />
</platform>
<platform name="ios">
<allow-intent href="itms:*"/>
<allow-intent href="itms-apps:*"/>
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
<icon height="57" src="resources/ios/icon/icon.png" width="57" />
<icon height="114" src="resources/ios/icon/icon@2x.png" width="114" />
<icon height="20" src="resources/ios/icon/icon-20.png" width="20" />
<icon height="40" src="resources/ios/icon/icon-20@2x.png" width="40" />
<icon height="60" src="resources/ios/icon/icon-20@3x.png" width="60" />
<icon height="29" src="resources/ios/icon/icon-29.png" width="29" />
<icon height="58" src="resources/ios/icon/icon-29@2x.png" width="58" />
<icon height="87" src="resources/ios/icon/icon-29@3x.png" width="87" />
<icon height="48" src="resources/ios/icon/icon-24@2x.png" width="48" />
<icon height="55" src="resources/ios/icon/icon-27.5@2x.png" width="55" />
<icon height="88" src="resources/ios/icon/icon-44@2x.png" width="88" />
<icon height="172" src="resources/ios/icon/icon-86@2x.png" width="172" />
<icon height="196" src="resources/ios/icon/icon-98@2x.png" width="196" />
<icon height="216" src="resources/ios/icon/icon-108@2x.png" width="216" />
<icon height="40" src="resources/ios/icon/icon-40.png" width="40" />
<icon height="80" src="resources/ios/icon/icon-40@2x.png" width="80" />
<icon height="120" src="resources/ios/icon/icon-40@3x.png" width="120" />
<icon height="50" src="resources/ios/icon/icon-50.png" width="50" />
<icon height="100" src="resources/ios/icon/icon-50@2x.png" width="100" />
<icon height="60" src="resources/ios/icon/icon-60.png" width="60" />
<icon height="120" src="resources/ios/icon/icon-60@2x.png" width="120" />
<icon height="180" src="resources/ios/icon/icon-60@3x.png" width="180" />
<icon height="72" src="resources/ios/icon/icon-72.png" width="72" />
<icon height="144" src="resources/ios/icon/icon-72@2x.png" width="144" />
<icon height="76" src="resources/ios/icon/icon-76.png" width="76" />
<icon height="152" src="resources/ios/icon/icon-76@2x.png" width="152" />
<icon height="167" src="resources/ios/icon/icon-83.5@2x.png" width="167" />
<icon height="1024" src="resources/ios/icon/icon-1024.png" width="1024" />
<splash height="1136" src="resources/ios/splash/Default-568h@2x~iphone.png" width="640" />
<splash height="1334" src="resources/ios/splash/Default-667h.png" width="750" />
<splash height="2688" src="resources/ios/splash/Default-2688h~iphone.png" width="1242" />
<splash height="1242" src="resources/ios/splash/Default-Landscape-2688h~iphone.png" width="2688" />
<splash height="1792" src="resources/ios/splash/Default-1792h~iphone.png" width="828" />
<splash height="828" src="resources/ios/splash/Default-Landscape-1792h~iphone.png" width="1792" />
<splash height="2436" src="resources/ios/splash/Default-2436h.png" width="1125" />
<splash height="1125" src="resources/ios/splash/Default-Landscape-2436h.png" width="2436" />
<splash height="2208" src="resources/ios/splash/Default-736h.png" width="1242" />
<splash height="1242" src="resources/ios/splash/Default-Landscape-736h.png" width="2208" />
<splash height="1536" src="resources/ios/splash/Default-Landscape@2x~ipad.png" width="2048" />
<splash height="2048" src="resources/ios/splash/Default-Landscape@~ipadpro.png" width="2732" />
<splash height="768" src="resources/ios/splash/Default-Landscape~ipad.png" width="1024" />
<splash height="2048" src="resources/ios/splash/Default-Portrait@2x~ipad.png" width="1536" />
<splash height="2732" src="resources/ios/splash/Default-Portrait@~ipadpro.png" width="2048" />
<splash height="1024" src="resources/ios/splash/Default-Portrait~ipad.png" width="768" />
<splash height="960" src="resources/ios/splash/Default@2x~iphone.png" width="640" />
<splash height="480" src="resources/ios/splash/Default~iphone.png" width="320" />
<splash height="2732" src="resources/ios/splash/Default@2x~universal~anyany.png" width="2732" />
</platform>
<hook src="scripts/npm_prepare.sh" type="before_prepare" />
<hook src="scripts/generate_resources.sh" type="before_prepare" />
</widget>

File diff suppressed because it is too large Load Diff

@ -3,7 +3,7 @@
<type>org.netbeans.modules.web.clientproject</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/clientside-project/1">
<name>Mobile App Template</name>
<name>MachineManager App</name>
</data>
<libraries xmlns="http://www.netbeans.org/ns/cdnjs-libraries/1"/>
</configuration>

1130
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -1,12 +1,12 @@
{
"name": "com.netsyms.template",
"displayName": "App Template",
"name": "com.netsyms.machinemanager.mobile",
"displayName": "MachineManager",
"version": "1.0.0",
"description": "",
"main": "www/index.html",
"window": {
"icon": "res/logo.png",
"id": "com.netsyms.template.template_window_main_00001",
"icon": "www/assets/images/logo.png",
"id": "com.netsyms.machinemanager.window_main_00001",
"frame": true
},
"user_agent": "Mozilla/5.0 (%osinfo) %name/%ver NW.js/%nwver WebKit/%webkit_ver Chromium/%chromium_ver",
@ -30,5 +30,8 @@
"cordova-plugin-statusbar": {},
"cordova-plugin-headercolor": {}
}
},
"devDependencies": {
"cordova-res": "^0.14.0"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

@ -0,0 +1,84 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- 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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="512"
height="512"
viewBox="0 0 512.00001 512.00001"
id="svg2"
version="1.1"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
sodipodi:docname="icon-foreground.svg"
inkscape:export-filename="/home/skylar/Documents/Projects/Sources/Apps/Native/MachineManager/resources/android/icon-foreground.png"
inkscape:export-xdpi="384"
inkscape:export-ydpi="384">
<defs
id="defs4">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="-493.3276 : 245.89848 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="464.45088 : 245.89848 : 1"
inkscape:persp3d-origin="-14.438371 : 160.56515 : 1"
id="perspective4236" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.9899495"
inkscape:cx="130.19097"
inkscape:cy="153.91657"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1013"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<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></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-540.36216)">
<g
id="g985"
transform="matrix(0.81022813,0,0,0.81022813,48.581599,151.12714)">
<path
style="fill:#03a9f4;stroke-width:0.47823665"
inkscape:connector-curvature="0"
d="M 321.04019,819.31756 H 252.1741 a 3.8258933,3.8258933 0 0 0 -3.82589,3.8259 v 7.6518 a 3.8258933,3.8258933 0 0 0 3.82589,3.8259 h 68.86609 a 3.8258933,3.8258933 0 0 0 3.82589,-3.8259 v -7.6518 a 3.8258933,3.8258933 0 0 0 -3.82589,-3.8259 z m -126.25449,17.2165 a 9.5647334,9.5647334 0 1 0 -9.56473,-9.5647 9.5647334,9.5647334 0 0 0 9.56473,9.5647 z m 7.65179,-40.1719 h 107.12502 a 15.303573,15.303573 0 0 0 15.30357,-15.3036 v -53.5625 a 15.303573,15.303573 0 0 0 -15.30357,-15.3036 H 202.43749 a 15.303573,15.303573 0 0 0 -15.30357,15.3036 v 53.5625 a 15.303573,15.303573 0 0 0 15.30357,15.3036 z M 347.82144,673.93356 H 164.17856 a 15.303573,15.303573 0 0 0 -15.30357,15.3036 v 168.3393 a 15.303573,15.303573 0 0 0 15.30357,15.3036 v 30.6071 a 15.303573,15.303573 0 0 0 15.30357,15.3036 h 153.03574 a 15.303573,15.303573 0 0 0 15.30357,-15.3036 v -30.6071 a 15.303573,15.303573 0 0 0 15.30357,-15.3036 v -168.3393 a 15.303573,15.303573 0 0 0 -15.30357,-15.3036 z m -22.95536,221.9018 H 187.13392 v -22.9553 h 137.73216 z m 15.30357,-45.9107 h -168.3393 v -153.0357 h 168.3393 z"
id="path942" />
<path
sodipodi:nodetypes="ssccssccsssssssccccssccccscccccccccc"
id="path953"
d="M 321.04019,819.31756 H 252.1741 c -2.11298,0 -3.82589,1.71292 -3.82589,3.8259 v 7.6518 c 0,2.11298 1.71291,3.8259 3.82589,3.8259 h 68.86609 c 2.11298,0 3.82589,-1.71292 3.82589,-3.8259 v -7.6518 c 0,-2.11298 -1.71291,-3.8259 -3.82589,-3.8259 z m -126.25449,17.2165 c 8.52187,0 12.78809,-10.30256 6.76294,-16.32769 -6.02515,-6.02513 -16.3277,-1.75888 -16.32767,6.76299 2e-5,5.28244 4.28229,9.5647 9.56473,9.5647 z M 347.82144,673.93356 H 164.17856 c -8.45194,0 -15.30358,6.85166 -15.30357,15.3036 v 168.3393 c -1e-5,8.45194 6.85163,15.3036 15.30357,15.3036 v 30.6071 c -1e-5,8.45194 6.85163,15.3036 15.30357,15.3036 h 153.03574 c 8.45194,0 15.30358,-6.85166 15.30357,-15.3036 v -30.6071 c 8.45194,0 15.30358,-6.85166 15.30357,-15.3036 v -168.3393 c 1e-5,-8.45194 -6.85163,-15.3036 -15.30357,-15.3036 z m -22.95536,221.9018 H 187.13392 v -22.9553 h 137.73216 z m 15.30357,-45.9107 h -168.3393 v -153.0357 h 168.3393 z"
inkscape:connector-curvature="0"
style="stroke-width:0.47823665" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.5 KiB

@ -0,0 +1,4 @@
[Dolphin]
PreviewsShown=true
Timestamp=2020,6,6,16,5,8
Version=4

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

@ -0,0 +1,84 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- 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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="512"
height="512"
viewBox="0 0 512.00001 512.00001"
id="svg2"
version="1.1"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
sodipodi:docname="icon-foreground.svg"
inkscape:export-filename="/home/skylar/Documents/Projects/Sources/Apps/Native/MachineManager/resources/icon-foreground.png"
inkscape:export-xdpi="384"
inkscape:export-ydpi="384">
<defs
id="defs4">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="-493.3276 : 245.89848 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="464.45088 : 245.89848 : 1"
inkscape:persp3d-origin="-14.438371 : 160.56515 : 1"
id="perspective4236" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.9899495"
inkscape:cx="130.19097"
inkscape:cy="153.91657"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1013"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<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></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-540.36216)">
<g
id="g985"
transform="matrix(0.81022813,0,0,0.81022813,48.581599,151.12714)">
<path
style="fill:#03a9f4;stroke-width:0.47823665"
inkscape:connector-curvature="0"
d="M 321.04019,819.31756 H 252.1741 a 3.8258933,3.8258933 0 0 0 -3.82589,3.8259 v 7.6518 a 3.8258933,3.8258933 0 0 0 3.82589,3.8259 h 68.86609 a 3.8258933,3.8258933 0 0 0 3.82589,-3.8259 v -7.6518 a 3.8258933,3.8258933 0 0 0 -3.82589,-3.8259 z m -126.25449,17.2165 a 9.5647334,9.5647334 0 1 0 -9.56473,-9.5647 9.5647334,9.5647334 0 0 0 9.56473,9.5647 z m 7.65179,-40.1719 h 107.12502 a 15.303573,15.303573 0 0 0 15.30357,-15.3036 v -53.5625 a 15.303573,15.303573 0 0 0 -15.30357,-15.3036 H 202.43749 a 15.303573,15.303573 0 0 0 -15.30357,15.3036 v 53.5625 a 15.303573,15.303573 0 0 0 15.30357,15.3036 z M 347.82144,673.93356 H 164.17856 a 15.303573,15.303573 0 0 0 -15.30357,15.3036 v 168.3393 a 15.303573,15.303573 0 0 0 15.30357,15.3036 v 30.6071 a 15.303573,15.303573 0 0 0 15.30357,15.3036 h 153.03574 a 15.303573,15.303573 0 0 0 15.30357,-15.3036 v -30.6071 a 15.303573,15.303573 0 0 0 15.30357,-15.3036 v -168.3393 a 15.303573,15.303573 0 0 0 -15.30357,-15.3036 z m -22.95536,221.9018 H 187.13392 v -22.9553 h 137.73216 z m 15.30357,-45.9107 h -168.3393 v -153.0357 h 168.3393 z"
id="path942" />
<path
sodipodi:nodetypes="ssccssccsssssssccccssccccscccccccccc"
id="path953"
d="M 321.04019,819.31756 H 252.1741 c -2.11298,0 -3.82589,1.71292 -3.82589,3.8259 v 7.6518 c 0,2.11298 1.71291,3.8259 3.82589,3.8259 h 68.86609 c 2.11298,0 3.82589,-1.71292 3.82589,-3.8259 v -7.6518 c 0,-2.11298 -1.71291,-3.8259 -3.82589,-3.8259 z m -126.25449,17.2165 c 8.52187,0 12.78809,-10.30256 6.76294,-16.32769 -6.02515,-6.02513 -16.3277,-1.75888 -16.32767,6.76299 2e-5,5.28244 4.28229,9.5647 9.56473,9.5647 z M 347.82144,673.93356 H 164.17856 c -8.45194,0 -15.30358,6.85166 -15.30357,15.3036 v 168.3393 c -1e-5,8.45194 6.85163,15.3036 15.30357,15.3036 v 30.6071 c -1e-5,8.45194 6.85163,15.3036 15.30357,15.3036 h 153.03574 c 8.45194,0 15.30358,-6.85166 15.30357,-15.3036 v -30.6071 c 8.45194,0 15.30358,-6.85166 15.30357,-15.3036 v -168.3393 c 1e-5,-8.45194 -6.85163,-15.3036 -15.30357,-15.3036 z m -22.95536,221.9018 H 187.13392 v -22.9553 h 137.73216 z m 15.30357,-45.9107 h -168.3393 v -153.0357 h 168.3393 z"
inkscape:connector-curvature="0"
style="stroke-width:0.47823665" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

@ -0,0 +1,93 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- 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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="512"
height="512"
viewBox="0 0 512.00001 512.00001"
id="svg2"
version="1.1"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
sodipodi:docname="icon.svg"
inkscape:export-filename="/home/skylar/Documents/Projects/Sources/Apps/Native/MachineManager/resources/icon.png"
inkscape:export-xdpi="384"
inkscape:export-ydpi="384">
<defs
id="defs4">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="-493.3276 : 245.89848 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="464.45088 : 245.89848 : 1"
inkscape:persp3d-origin="-14.438371 : 160.56515 : 1"
id="perspective4236" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.9899495"
inkscape:cx="130.19097"
inkscape:cy="153.91657"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1013"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<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></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-540.36216)">
<rect
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:20;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.74509804"
id="rect4726"
width="512"
height="512"
x="0"
y="540.36218"
rx="50"
ry="50" />
<g
id="g985"
transform="matrix(1.3341636,0,0,1.3341636,-85.545882,-266.11525)">
<path
style="fill:#03a9f4;stroke-width:0.47823665"
inkscape:connector-curvature="0"
d="M 321.04019,819.31756 H 252.1741 a 3.8258933,3.8258933 0 0 0 -3.82589,3.8259 v 7.6518 a 3.8258933,3.8258933 0 0 0 3.82589,3.8259 h 68.86609 a 3.8258933,3.8258933 0 0 0 3.82589,-3.8259 v -7.6518 a 3.8258933,3.8258933 0 0 0 -3.82589,-3.8259 z m -126.25449,17.2165 a 9.5647334,9.5647334 0 1 0 -9.56473,-9.5647 9.5647334,9.5647334 0 0 0 9.56473,9.5647 z m 7.65179,-40.1719 h 107.12502 a 15.303573,15.303573 0 0 0 15.30357,-15.3036 v -53.5625 a 15.303573,15.303573 0 0 0 -15.30357,-15.3036 H 202.43749 a 15.303573,15.303573 0 0 0 -15.30357,15.3036 v 53.5625 a 15.303573,15.303573 0 0 0 15.30357,15.3036 z M 347.82144,673.93356 H 164.17856 a 15.303573,15.303573 0 0 0 -15.30357,15.3036 v 168.3393 a 15.303573,15.303573 0 0 0 15.30357,15.3036 v 30.6071 a 15.303573,15.303573 0 0 0 15.30357,15.3036 h 153.03574 a 15.303573,15.303573 0 0 0 15.30357,-15.3036 v -30.6071 a 15.303573,15.303573 0 0 0 15.30357,-15.3036 v -168.3393 a 15.303573,15.303573 0 0 0 -15.30357,-15.3036 z m -22.95536,221.9018 H 187.13392 v -22.9553 h 137.73216 z m 15.30357,-45.9107 h -168.3393 v -153.0357 h 168.3393 z"
id="path942" />
<path
sodipodi:nodetypes="ssccssccsssssssccccssccccscccccccccc"
id="path953"
d="M 321.04019,819.31756 H 252.1741 c -2.11298,0 -3.82589,1.71292 -3.82589,3.8259 v 7.6518 c 0,2.11298 1.71291,3.8259 3.82589,3.8259 h 68.86609 c 2.11298,0 3.82589,-1.71292 3.82589,-3.8259 v -7.6518 c 0,-2.11298 -1.71291,-3.8259 -3.82589,-3.8259 z m -126.25449,17.2165 c 8.52187,0 12.78809,-10.30256 6.76294,-16.32769 -6.02515,-6.02513 -16.3277,-1.75888 -16.32767,6.76299 2e-5,5.28244 4.28229,9.5647 9.56473,9.5647 z M 347.82144,673.93356 H 164.17856 c -8.45194,0 -15.30358,6.85166 -15.30357,15.3036 v 168.3393 c -1e-5,8.45194 6.85163,15.3036 15.30357,15.3036 v 30.6071 c -1e-5,8.45194 6.85163,15.3036 15.30357,15.3036 h 153.03574 c 8.45194,0 15.30358,-6.85166 15.30357,-15.3036 v -30.6071 c 8.45194,0 15.30358,-6.85166 15.30357,-15.3036 v -168.3393 c 1e-5,-8.45194 -6.85163,-15.3036 -15.30357,-15.3036 z m -22.95536,221.9018 H 187.13392 v -22.9553 h 137.73216 z m 15.30357,-45.9107 h -168.3393 v -153.0357 h 168.3393 z"
inkscape:connector-curvature="0"
style="stroke-width:0.47823665" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.8 KiB

@ -0,0 +1,4 @@
[Dolphin]
PreviewsShown=true
Timestamp=2020,6,6,16,4,20
Version=4

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 572 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 865 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1005 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 724 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 865 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

@ -0,0 +1,4 @@
[Dolphin]
PreviewsShown=true
Timestamp=2020,6,6,16,4,33
Version=4

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

@ -0,0 +1,91 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- 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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="2732"
height="2732"
viewBox="0 0 722.84165 722.84169"
version="1.1"
id="svg869"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
sodipodi:docname="splash.svg"
inkscape:export-filename="/home/skylar/Documents/Projects/Sources/Apps/Native/MachineManager/resources/splash.png"
inkscape:export-xdpi="192"
inkscape:export-ydpi="192">
<defs
id="defs863" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="1"
inkscape:pageshadow="2"
inkscape:zoom="0.24748737"
inkscape:cx="668.07814"
inkscape:cy="1313.1783"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1013"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata866">
<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></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,425.84168)">
<g
id="g1463"
transform="translate(1.6555402e-6,-34.417715)">
<g
transform="matrix(0.35299745,0,0,0.35299745,271.05349,-345.53466)"
id="g985">
<path
id="path942"
d="M 321.04019,819.31756 H 252.1741 a 3.8258933,3.8258933 0 0 0 -3.82589,3.8259 v 7.6518 a 3.8258933,3.8258933 0 0 0 3.82589,3.8259 h 68.86609 a 3.8258933,3.8258933 0 0 0 3.82589,-3.8259 v -7.6518 a 3.8258933,3.8258933 0 0 0 -3.82589,-3.8259 z m -126.25449,17.2165 a 9.5647334,9.5647334 0 1 0 -9.56473,-9.5647 9.5647334,9.5647334 0 0 0 9.56473,9.5647 z m 7.65179,-40.1719 h 107.12502 a 15.303573,15.303573 0 0 0 15.30357,-15.3036 v -53.5625 a 15.303573,15.303573 0 0 0 -15.30357,-15.3036 H 202.43749 a 15.303573,15.303573 0 0 0 -15.30357,15.3036 v 53.5625 a 15.303573,15.303573 0 0 0 15.30357,15.3036 z M 347.82144,673.93356 H 164.17856 a 15.303573,15.303573 0 0 0 -15.30357,15.3036 v 168.3393 a 15.303573,15.303573 0 0 0 15.30357,15.3036 v 30.6071 a 15.303573,15.303573 0 0 0 15.30357,15.3036 h 153.03574 a 15.303573,15.303573 0 0 0 15.30357,-15.3036 v -30.6071 a 15.303573,15.303573 0 0 0 15.30357,-15.3036 v -168.3393 a 15.303573,15.303573 0 0 0 -15.30357,-15.3036 z m -22.95536,221.9018 H 187.13392 v -22.9553 h 137.73216 z m 15.30357,-45.9107 h -168.3393 v -153.0357 h 168.3393 z"
inkscape:connector-curvature="0"
style="fill:#03a9f4;stroke-width:0.47823665" />
<path
style="stroke-width:0.47823665"
inkscape:connector-curvature="0"
d="M 321.04019,819.31756 H 252.1741 c -2.11298,0 -3.82589,1.71292 -3.82589,3.8259 v 7.6518 c 0,2.11298 1.71291,3.8259 3.82589,3.8259 h 68.86609 c 2.11298,0 3.82589,-1.71292 3.82589,-3.8259 v -7.6518 c 0,-2.11298 -1.71291,-3.8259 -3.82589,-3.8259 z m -126.25449,17.2165 c 8.52187,0 12.78809,-10.30256 6.76294,-16.32769 -6.02515,-6.02513 -16.3277,-1.75888 -16.32767,6.76299 2e-5,5.28244 4.28229,9.5647 9.56473,9.5647 z M 347.82144,673.93356 H 164.17856 c -8.45194,0 -15.30358,6.85166 -15.30357,15.3036 v 168.3393 c -1e-5,8.45194 6.85163,15.3036 15.30357,15.3036 v 30.6071 c -1e-5,8.45194 6.85163,15.3036 15.30357,15.3036 h 153.03574 c 8.45194,0 15.30358,-6.85166 15.30357,-15.3036 v -30.6071 c 8.45194,0 15.30358,-6.85166 15.30357,-15.3036 v -168.3393 c 1e-5,-8.45194 -6.85163,-15.3036 -15.30357,-15.3036 z m -22.95536,221.9018 H 187.13392 v -22.9553 h 137.73216 z m 15.30357,-45.9107 h -168.3393 v -153.0357 h 168.3393 z"
id="path953"
sodipodi:nodetypes="ssccssccsssssssccccssccccscccccccccc" />
</g>
<text
id="text1456"
y="42.593636"
x="246.46568"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:26.79753685px;line-height:100%;font-family:Ubuntu;-inkscape-font-specification:Ubuntu;letter-spacing:1.67484605px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.67484605px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
xml:space="preserve"><tspan
style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-family:Ubuntu;-inkscape-font-specification:'Ubuntu Light';stroke-width:1.67484605px"
y="42.593636"
x="246.46568"
id="tspan1454"
sodipodi:role="line">MachineManager</tspan></text>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.1 KiB

@ -0,0 +1,4 @@
<?xml version='1.0' encoding='utf-8'?>
<resources>
<color name="background">#FFFFFF</color>
</resources>

@ -0,0 +1,3 @@
#!/bin/bash
./node_modules/.bin/cordova-res android --icon-background-source '#FFFFFF'

@ -58,6 +58,13 @@ Framework7 and FontAwesome both have a .fab class
transition: 10ms !important;
}
.searchbar.inset {
margin-left: calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-left)) !important;
margin-right: calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-right)) !important;
--f7-safe-area-left: 0px;
--f7-safe-area-right: 0px;
}
/*
Allow easily changing help text to reflect finger/mouse usage.
*/

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

@ -0,0 +1,93 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- 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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="512"
height="512"
viewBox="0 0 512.00001 512.00001"
id="svg2"
version="1.1"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
sodipodi:docname="logo.svg"
inkscape:export-filename="/home/skylar/Documents/Projects/Sources/Apps/Web/MachineManager/static/img/logo.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<defs
id="defs4">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="-493.3276 : 245.89848 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="464.45088 : 245.89848 : 1"
inkscape:persp3d-origin="-14.438371 : 160.56515 : 1"
id="perspective4236" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.9899495"
inkscape:cx="130.19097"
inkscape:cy="153.91657"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1013"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<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></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-540.36216)">
<rect
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:20;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.74509804"
id="rect4726"
width="512"
height="512"
x="0"
y="540.36218"
rx="50"
ry="50" />
<g
id="g985"
transform="matrix(1.3341636,0,0,1.3341636,-85.545882,-266.11525)">
<path
style="fill:#03a9f4;stroke-width:0.47823665"
inkscape:connector-curvature="0"
d="M 321.04019,819.31756 H 252.1741 a 3.8258933,3.8258933 0 0 0 -3.82589,3.8259 v 7.6518 a 3.8258933,3.8258933 0 0 0 3.82589,3.8259 h 68.86609 a 3.8258933,3.8258933 0 0 0 3.82589,-3.8259 v -7.6518 a 3.8258933,3.8258933 0 0 0 -3.82589,-3.8259 z m -126.25449,17.2165 a 9.5647334,9.5647334 0 1 0 -9.56473,-9.5647 9.5647334,9.5647334 0 0 0 9.56473,9.5647 z m 7.65179,-40.1719 h 107.12502 a 15.303573,15.303573 0 0 0 15.30357,-15.3036 v -53.5625 a 15.303573,15.303573 0 0 0 -15.30357,-15.3036 H 202.43749 a 15.303573,15.303573 0 0 0 -15.30357,15.3036 v 53.5625 a 15.303573,15.303573 0 0 0 15.30357,15.3036 z M 347.82144,673.93356 H 164.17856 a 15.303573,15.303573 0 0 0 -15.30357,15.3036 v 168.3393 a 15.303573,15.303573 0 0 0 15.30357,15.3036 v 30.6071 a 15.303573,15.303573 0 0 0 15.30357,15.3036 h 153.03574 a 15.303573,15.303573 0 0 0 15.30357,-15.3036 v -30.6071 a 15.303573,15.303573 0 0 0 15.30357,-15.3036 v -168.3393 a 15.303573,15.303573 0 0 0 -15.30357,-15.3036 z m -22.95536,221.9018 H 187.13392 v -22.9553 h 137.73216 z m 15.30357,-45.9107 h -168.3393 v -153.0357 h 168.3393 z"
id="path942" />
<path
sodipodi:nodetypes="ssccssccsssssssccccssccccscccccccccc"
id="path953"
d="M 321.04019,819.31756 H 252.1741 c -2.11298,0 -3.82589,1.71292 -3.82589,3.8259 v 7.6518 c 0,2.11298 1.71291,3.8259 3.82589,3.8259 h 68.86609 c 2.11298,0 3.82589,-1.71292 3.82589,-3.8259 v -7.6518 c 0,-2.11298 -1.71291,-3.8259 -3.82589,-3.8259 z m -126.25449,17.2165 c 8.52187,0 12.78809,-10.30256 6.76294,-16.32769 -6.02515,-6.02513 -16.3277,-1.75888 -16.32767,6.76299 2e-5,5.28244 4.28229,9.5647 9.56473,9.5647 z M 347.82144,673.93356 H 164.17856 c -8.45194,0 -15.30358,6.85166 -15.30357,15.3036 v 168.3393 c -1e-5,8.45194 6.85163,15.3036 15.30357,15.3036 v 30.6071 c -1e-5,8.45194 6.85163,15.3036 15.30357,15.3036 h 153.03574 c 8.45194,0 15.30358,-6.85166 15.30357,-15.3036 v -30.6071 c 8.45194,0 15.30358,-6.85166 15.30357,-15.3036 v -168.3393 c 1e-5,-8.45194 -6.85163,-15.3036 -15.30357,-15.3036 z m -22.95536,221.9018 H 187.13392 v -22.9553 h 137.73216 z m 15.30357,-45.9107 h -168.3393 v -153.0357 h 168.3393 z"
inkscape:connector-curvature="0"
style="stroke-width:0.47823665" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.8 KiB

@ -0,0 +1,12 @@
/*
* Copyright 2020 Netsyms Technologies.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
$("#machinesearchbar").submit(function (evt) {
evt.preventDefault();
openMachineInfo($("#machinesearchbar input[type=search]").val());
});

@ -0,0 +1,130 @@
/*
* Copyright 2020 Netsyms Technologies.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
function getMachineSearchHistory() {
var history = getStorage("machinehistory");
if (history != null) {
return JSON.parse(history);
} else {
return [];
}
}
function addMachineToSearchHistory(machineid) {
var history = getMachineSearchHistory();
for (var i = 0; i < history.length; i++) {
if (history[i] == machineid) {
history.splice(i, 1);
}
}
// Add the code back to the list so it's at the top
history.push(machineid);
while (history.length > 10) {
history.shift();
}
setStorage("machinehistory", JSON.stringify(history));
}
function openMachineInfo(machineid) {
app.dialog.preloader("Searching...");
apirequest(
"lookup",
{
id: machineid
},
function (resp) {
app.dialog.close();
if (resp.status == "ERROR") {
app.dialog.alert(resp.msg, "Error");
} else {
var context = {
machineid: resp.id,
info: {}
};
if (resp.editable) {
context.editable = true;
}
var tabindex = 0;
for (var k in resp.info) {
if (resp.info.hasOwnProperty(k)) {
context.info[k] = {
name: k,
value: resp.info[k],
type: (typeof resp.formdata.inputtypes[k] == "string" ? resp.formdata.inputtypes[k] : "text"),
label: (typeof resp.formdata.labels[k] == "string" ? resp.formdata.labels[k] : k),
icon: (typeof resp.formdata.icons[k] == "string" ? resp.formdata.icons[k] : "fas fa-square"),
tabindex: tabindex
};
if (context.info[k].type == "select") {
context.info[k].options = resp.formdata.options[k];
}
tabindex++;
}
}
addMachineToSearchHistory(resp.id);
router.navigate("/machine", {
context: context
});
}
},
function (xhr) {
app.dialog.close();
var error = $.parseJSON(xhr.responseText);
if (error && typeof error.msg != 'undefined') {
app.dialog.alert(error.msg, "Error");
} else {
app.dialog.alert("A server or network error occurred.", "Error");
}
},
getStorage("username"),
getStorage("password")
);
}
function enableEditMachine() {
$(".machinefield").prop("disabled", false);
$(".machinefield-clear-button").removeClass("display-none");
$("#save-fab").removeClass("display-none");
$("#canceledit-fab").removeClass("display-none");
$("#menu-fab").addClass("display-none");
}
function disableEditMachine() {
$(".machinefield").prop("disabled", true);
$(".machinefield-clear-button").addClass("display-none");
$("#save-fab").addClass("display-none");
$("#canceledit-fab").addClass("display-none");
$("#menu-fab").removeClass("display-none");
}
function saveMachineEdits() {
// TODO
}
$("#app").on("click", "#machineEditButton", enableEditMachine);
$("#app").on("keypress", "#machineform .machinefield", function (evt) {
// Catch Enter key in form because it's likely a barcode scanner
// Instead switch to the next input box
if (evt.which == '13') {
console.log("enter detected");
evt.preventDefault();
var tabindex = parseInt($(this).attr("tabindex"));
$("#machineform .machinefield[tabindex=" + (tabindex + 1) + "]").focus();
}
});
$("#app").on("smartselect:beforeopen", "#machineform", function (evt) {
// Don't allow changing selection if rest of form is readonly
if ($(".machinefield").prop("disabled")) {
evt.detail.prevent();
}
});

@ -70,7 +70,6 @@ var watchLocation = function (success, error) {
}
function getPlatformTheme() {
return "aurora";
if (Framework7.device.ios) {
return "ios";
} else if (Framework7.device.macos) {

@ -47,11 +47,7 @@ function apirequest(action, data, success, error, username, password) {
success(val);
}
},
error: function () {
if (typeof error == 'function') {
error();
}
}
error: error
});
}

@ -5,10 +5,10 @@ This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->
<title>App Template</title>
<title>MachineManager</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="assets/images/icons/logo.svg" />
<link rel="icon" href="assets/images/logo.svg" />
<link rel="manifest" href="manifest.json">
<link rel="stylesheet" href="node_modules/framework7/css/framework7.bundle.min.css" />
<link rel="stylesheet" href="node_modules/@fortawesome/fontawesome-pro/css/all.min.css" />
@ -32,10 +32,10 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
<script src="settings.js"></script>
<script src="assets/js/storage.js"></script>
<script src="assets/js/platform.js"></script>
<script src="assets/js/util.js"></script>
<script src="routes.js"></script>
<script src="assets/js/machine.js"></script>
<script src="assets/js/main.js"></script>

@ -33,7 +33,7 @@
"type": "image/png"
},
{
"src": "assets/images/icons/512x512.png",
"src": "assets/images/logo.png",
"sizes": "512x512",
"type": "image/png"
}

@ -0,0 +1,62 @@
{
"name": "MachineManager",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@fortawesome/fontawesome-pro": {
"version": "5.13.0",
"resolved": "https://npm.fontawesome.com/@fortawesome/fontawesome-pro/-/5.13.0/fontawesome-pro-5.13.0.tgz",
"integrity": "sha1-/eMu1NmTPEybYLinSnnGfrpY2YQ="
},
"dom7": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/dom7/-/dom7-2.1.5.tgz",
"integrity": "sha512-xnhwVgyOh3eD++/XGtH+5qBwYTgCm0aW91GFgPJ3XG+jlsRLyJivnbP0QmUBFhI+Oaz9FV0s7cxgXHezwOEBYA==",
"requires": {
"ssr-window": "^2.0.0"
}
},
"framework7": {
"version": "5.7.7",
"resolved": "https://registry.npmjs.org/framework7/-/framework7-5.7.7.tgz",
"integrity": "sha1-VfI/hg88DpgEXU09u2k/FXrRpRc=",
"requires": {
"dom7": "^2.1.5",
"path-to-regexp": "^6.1.0",
"ssr-window": "^2.0.0",
"template7": "^1.4.2"
}
},
"framework7-icons": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/framework7-icons/-/framework7-icons-3.0.1.tgz",
"integrity": "sha1-L9tVjDwHVal/zN00Et2gXtHVCic="
},
"jquery": {
"version": "3.5.1",
"resolved": "https://registry.npmjs.org/jquery/-/jquery-3.5.1.tgz",
"integrity": "sha1-17TQjhv9uGrS8aPQOeoXMEcXq7U="
},
"material-design-icons": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/material-design-icons/-/material-design-icons-3.0.1.tgz",
"integrity": "sha1-mnHEh0chjrylHlGmbaaCA4zct78="
},
"path-to-regexp": {
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.1.0.tgz",
"integrity": "sha512-h9DqehX3zZZDCEm+xbfU0ZmwCGFCAAraPJWMXJ4+v32NjZJilVg3k1TcKsRgIb8IQ/izZSaydDc1OhJCZvs2Dw=="
},
"ssr-window": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ssr-window/-/ssr-window-2.0.0.tgz",
"integrity": "sha512-NXzN+/HPObKAx191H3zKlYomE5WrVIkoCB5IaSdvKokxTpjBdWfr0RaP+1Z5KOfDT0ZVz+2tdtiBkhsEQ9p+0A=="
},
"template7": {
"version": "1.4.2",
"resolved": "https://registry.npmjs.org/template7/-/template7-1.4.2.tgz",
"integrity": "sha512-eoKnScBMDk7lyj7+iCzKbxGiSLLlQk0DNvmclyJuMCUKxy9JrFuAB+GD5iplF4WiQPtMdI06CHHks3avL22JXA=="
}
}
}

@ -1,5 +1,5 @@
{
"name": "AppTemplate",
"name": "MachineManager",
"version": "1.0.0",
"main": "index.html",
"license": "MPL-2.0",

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save