mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Backer device images
This commit is contained in:
parent
3df5f9bd09
commit
0891a37a56
11 changed files with 94 additions and 229 deletions
12
Meshtastic/Assets.xcassets/LILYGOTBEAMS3CORE.imageset/Contents.json
vendored
Normal file
12
Meshtastic/Assets.xcassets/LILYGOTBEAMS3CORE.imageset/Contents.json
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "tbeam-s3-core.svg",
|
||||
"idiom" : "universal"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
1
Meshtastic/Assets.xcassets/LILYGOTBEAMS3CORE.imageset/tbeam-s3-core.svg
vendored
Normal file
1
Meshtastic/Assets.xcassets/LILYGOTBEAMS3CORE.imageset/tbeam-s3-core.svg
vendored
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 70 KiB |
12
Meshtastic/Assets.xcassets/TECHO.imageset/Contents.json
vendored
Normal file
12
Meshtastic/Assets.xcassets/TECHO.imageset/Contents.json
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "t-echo.svg",
|
||||
"idiom" : "universal"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
1
Meshtastic/Assets.xcassets/TECHO.imageset/t-echo.svg
vendored
Normal file
1
Meshtastic/Assets.xcassets/TECHO.imageset/t-echo.svg
vendored
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 8 KiB |
12
Meshtastic/Assets.xcassets/TWATCHS3.imageset/Contents.json
vendored
Normal file
12
Meshtastic/Assets.xcassets/TWATCHS3.imageset/Contents.json
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "t-watch-s3.svg",
|
||||
"idiom" : "universal"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
1
Meshtastic/Assets.xcassets/TWATCHS3.imageset/t-watch-s3.svg
vendored
Normal file
1
Meshtastic/Assets.xcassets/TWATCHS3.imageset/t-watch-s3.svg
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="733.42 451.82 573.87 931.48"><defs><style>.cls-1{fill:#8e8d8e;}.cls-2{fill:#383839;}.cls-3{fill:#cccccb;}.cls-4{fill:#222226;}.cls-5,.cls-6{fill:none;stroke:#050606;stroke-miterlimit:10;}.cls-5{stroke-width:1.87px;}.cls-6{stroke-width:3.77px;}.cls-7{fill:#4c4c4d;}</style></defs><g id="Layer_4" data-name="Layer 4"><path class="cls-1" d="M1277.27,847.59h4.35a8.09,8.09,0,0,1,8.09,8.08v138a8.09,8.09,0,0,1-8.09,8.09h-4.35"></path><path class="cls-1" d="M1277.27,732.73h18a10.14,10.14,0,0,1,10.14,10.14v43A10.14,10.14,0,0,1,1295.26,796h-18a0,0,0,0,1,0,0V732.73A0,0,0,0,1,1277.27,732.73Z"></path><path class="cls-2" d="M1256.49,1200.6h0a14.19,14.19,0,0,1-2.83,12.5c-8.13,9.86-19.94,18.58-46,30.75-19.15,9-28.65,16-38.35,29.6a93.15,93.15,0,0,0-8.7,14.61c-6.95,15.17-11.77,44.44-11.77,65.66v3.61a24.09,24.09,0,0,1-24.1,24.09H887.83a24.09,24.09,0,0,1-24.1-24.09v-3.61c0-21.22-4.82-50.49-11.77-65.66a93.15,93.15,0,0,0-8.7-14.61c-9.7-13.63-19.2-20.65-38.35-29.6-26.06-12.17-37.87-20.89-46-30.75a14.22,14.22,0,0,1-2.82-12.5h0"></path><path class="cls-2" d="M756.09,634.53h0a14.19,14.19,0,0,1,2.83-12.5c8.12-9.86,19.93-18.58,46-30.75,19.15-8.95,28.65-16,38.35-29.6a93.15,93.15,0,0,0,8.7-14.61c6.95-15.17,11.77-44.44,11.77-65.66V477.8a24.09,24.09,0,0,1,24.1-24.09h236.92a24.09,24.09,0,0,1,24.1,24.09v3.61c0,21.22,4.82,50.49,11.77,65.66a93.15,93.15,0,0,0,8.7,14.61c9.7,13.63,19.2,20.65,38.35,29.6,26,12.17,37.86,20.89,46,30.75a14.19,14.19,0,0,1,2.83,12.5h0"></path><rect class="cls-3" x="735.31" y="598.25" width="541.96" height="638.99" rx="96.44"></rect><path class="cls-2" d="M1247.38,694.68v446.11a66.63,66.63,0,0,1-66.54,66.56H831.75a66.62,66.62,0,0,1-66.56-66.56V694.68a66.63,66.63,0,0,1,66.56-66.55h349.09A66.64,66.64,0,0,1,1247.38,694.68Z"></path><rect class="cls-4" x="817.71" y="721.76" width="379.03" height="388.6"></rect><path class="cls-5" d="M1247.38,694.68v446.11a66.63,66.63,0,0,1-66.54,66.56H831.75a66.62,66.62,0,0,1-66.56-66.56V694.68a66.63,66.63,0,0,1,66.56-66.55h349.09A66.64,66.64,0,0,1,1247.38,694.68Z"></path><rect class="cls-6" x="735.31" y="598.25" width="541.96" height="638.99" rx="96.44"></rect><path class="cls-6" d="M1256.49,1200.6h0a14.19,14.19,0,0,1-2.83,12.5c-8.13,9.86-19.94,18.58-46,30.75-19.15,9-28.65,16-38.35,29.6a93.15,93.15,0,0,0-8.7,14.61c-6.95,15.17-11.77,44.44-11.77,65.66v3.61a24.09,24.09,0,0,1-24.1,24.09H887.83a24.09,24.09,0,0,1-24.1-24.09v-3.61c0-21.22-4.82-50.49-11.77-65.66a93.15,93.15,0,0,0-8.7-14.61c-9.7-13.63-19.2-20.65-38.35-29.6-26.06-12.17-37.87-20.89-46-30.75a14.22,14.22,0,0,1-2.82-12.5h0"></path><path class="cls-6" d="M756.09,634.53h0a14.19,14.19,0,0,1,2.83-12.5c8.12-9.86,19.93-18.58,46-30.75,19.15-8.95,28.65-16,38.35-29.6a93.15,93.15,0,0,0,8.7-14.61c6.95-15.17,11.77-44.44,11.77-65.66V477.8a24.09,24.09,0,0,1,24.1-24.09h236.92a24.09,24.09,0,0,1,24.1,24.09v3.61c0,21.22,4.82,50.49,11.77,65.66a93.15,93.15,0,0,0,8.7,14.61c9.7,13.63,19.2,20.65,38.35,29.6,26,12.17,37.86,20.89,46,30.75a14.19,14.19,0,0,1,2.83,12.5h0"></path><rect class="cls-5" x="817.71" y="721.76" width="379.03" height="388.6"></rect><path class="cls-6" d="M1277.27,847.59h4.35a8.09,8.09,0,0,1,8.09,8.08v138a8.09,8.09,0,0,1-8.09,8.09h-4.35"></path><path class="cls-6" d="M1277.27,732.73h18a10.14,10.14,0,0,1,10.14,10.14v43A10.14,10.14,0,0,1,1295.26,796h-18a0,0,0,0,1,0,0V732.73A0,0,0,0,1,1277.27,732.73Z"></path><circle class="cls-7" cx="1083.08" cy="1177.35" r="16.6"></circle><rect class="cls-2" x="1280.24" y="739.77" width="16.77" height="4.59" rx="2.29"></rect><rect class="cls-2" x="1280.24" y="750.91" width="16.77" height="4.59" rx="2.29"></rect><rect class="cls-2" x="1280.24" y="762.06" width="16.77" height="4.59" rx="2.29"></rect><rect class="cls-2" x="1280.24" y="773.2" width="16.77" height="4.59" rx="2.29"></rect><rect class="cls-2" x="1280.24" y="784.34" width="16.77" height="4.59" rx="2.29"></rect></g></svg>
|
||||
|
After Width: | Height: | Size: 3.8 KiB |
|
|
@ -1,189 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
class="svg-icon"
|
||||
style="overflow:hidden;fill:currentColor"
|
||||
viewBox="0 0 909.87988 1044.37"
|
||||
version="1.1"
|
||||
id="svg3"
|
||||
sodipodi:docname="unknown.svg"
|
||||
xml:space="preserve"
|
||||
width="909.87988"
|
||||
height="1044.37"
|
||||
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"><defs
|
||||
id="defs3"><style
|
||||
id="style1">.cls-1{fill:#383838;}.cls-2{fill:#9f9f9e;}.cls-3{fill:#cbcccb;}.cls-4{fill:#b7b7b7;}.cls-5{fill:#353535;}.cls-6{fill:#b1a368;}.cls-7{fill:#2c2d2d;}.cls-10,.cls-11,.cls-8,.cls-9{fill:none;stroke:#050606;}.cls-10,.cls-11,.cls-8{stroke-miterlimit:10;}.cls-8,.cls-9{stroke-width:2px;}.cls-9{stroke-linecap:round;stroke-linejoin:round;}.cls-10{stroke-width:2.04px;}.cls-11{stroke-width:1.99px;}.cls-12{fill:#c08c2d;}.cls-13{fill:#af7a2b;}</style></defs><sodipodi:namedview
|
||||
id="namedview3"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:zoom="0.59040654"
|
||||
inkscape:cx="271.84658"
|
||||
inkscape:cy="722.3836"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1111"
|
||||
inkscape:window-x="-9"
|
||||
inkscape:window-y="-9"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg3" /><g
|
||||
id="Layer_7"
|
||||
data-name="Layer 7"
|
||||
transform="translate(-646.6554,-260.54468)"><path
|
||||
class="cls-2"
|
||||
d="m 1545.1753,893.49468 h 4.69 a 5.67,5.67 0 0 1 5.67,5.67 v 84.64998 a 5.67,5.67 0 0 1 -5.67,5.67 h -4.69"
|
||||
id="path1-4" /><rect
|
||||
class="cls-3"
|
||||
x="647.6554"
|
||||
y="862.80469"
|
||||
width="897.52002"
|
||||
height="441.10999"
|
||||
rx="11.7"
|
||||
id="rect2" /><path
|
||||
class="cls-2"
|
||||
d="m 681.12532,862.80468 v 113.47998 a 3.67,3.67 0 0 0 3.67,3.67 h 41 a 2.35,2.35 0 0 1 2.35,2.35 V 1303.9147 H 1517.6053 V 862.80468 Z M 1492.6453,1278.9147 H 753.18532 V 972.01466 a 17.06,17.06 0 0 0 -17.06,-17.06 h -27.5 a 2.5,2.5 0 0 1 -2.5,-2.5 v -62.14998 a 2.5,2.5 0 0 1 2.5,-2.5 h 783.99998 z"
|
||||
id="path2-7" /><path
|
||||
class="cls-3"
|
||||
d="M 1492.6453,887.80468 V 1278.9147 H 753.18532 V 972.01466 a 17,17 0 0 0 -7.2,-13.92 v -70.28998 z"
|
||||
id="path3-7" /><path
|
||||
class="cls-4"
|
||||
d="m 745.98532,887.80468 v 70.28998 a 17,17 0 0 0 -9.86,-3.14 h -27.5 a 2.5,2.5 0 0 1 -2.5,-2.5 v -62.14998 a 2.5,2.5 0 0 1 2.5,-2.5 z"
|
||||
id="path4" /><rect
|
||||
class="cls-2"
|
||||
x="672.10535"
|
||||
y="1011.4448"
|
||||
width="13.53"
|
||||
height="148.39999"
|
||||
id="rect4" /><rect
|
||||
class="cls-6"
|
||||
x="1060.5924"
|
||||
y="748.40466"
|
||||
width="103.92"
|
||||
height="64.660004"
|
||||
rx="3.9300001"
|
||||
id="rect6" /><path
|
||||
class="cls-6"
|
||||
d="m 1077.2923,853.76468 h 71.71 a 2.55,2.55 0 0 1 2.55,2.55 v 6.48 h -76.8 v -6.48 a 2.55,2.55 0 0 1 2.54,-2.55 z"
|
||||
id="path7" /><path
|
||||
class="cls-6"
|
||||
d="m 1065.8623,813.06468 h 92.43 v 28.12 a 2.55,2.55 0 0 1 -2.55,2.55 h -87.32 a 2.55,2.55 0 0 1 -2.55,-2.55 v -28.12 z"
|
||||
id="path8" /><rect
|
||||
class="cls-6"
|
||||
x="1079.9424"
|
||||
y="843.73468"
|
||||
width="65.989998"
|
||||
height="10.03"
|
||||
id="rect8" /><polyline
|
||||
class="cls-6"
|
||||
points="1359.86 750.8 1359.86 746.51 1277.14 746.51 1277.14 750.8"
|
||||
id="polyline8"
|
||||
transform="translate(-205.99766,-2.3953218)" /><path
|
||||
class="cls-1"
|
||||
d="m 1112.5523,261.54468 v 0 a 44,44 0 0 1 44,44 v 438.57 h -88 v -438.51 a 44,44 0 0 1 44,-44 z"
|
||||
id="path9" /><rect
|
||||
class="cls-7"
|
||||
x="1068.5325"
|
||||
y="326.22467"
|
||||
width="88.040001"
|
||||
height="5.9899998"
|
||||
id="rect9" /><rect
|
||||
class="cls-7"
|
||||
x="1068.5325"
|
||||
y="353.41467"
|
||||
width="88.040001"
|
||||
height="5.9899998"
|
||||
id="rect10" /><path
|
||||
class="cls-8"
|
||||
d="M 1492.6453,887.80468 V 1278.9147 H 753.18532 V 972.01466 a 17.06,17.06 0 0 0 -17.06,-17.06 h -27.5 a 2.5,2.5 0 0 1 -2.5,-2.5 v -62.14998 a 2.5,2.5 0 0 1 2.5,-2.5 h 783.99998 m 25,-25 H 681.12532 v 113.47998 a 3.68,3.68 0 0 0 3.67,3.67 h 41 a 2.35,2.35 0 0 1 2.35,2.35 V 1303.9147 H 1517.6053 V 862.80468 Z"
|
||||
id="path10" /><line
|
||||
class="cls-8"
|
||||
x1="745.99536"
|
||||
y1="958.09467"
|
||||
x2="745.99536"
|
||||
y2="887.80469"
|
||||
id="line10" /><rect
|
||||
class="cls-8"
|
||||
x="672.10535"
|
||||
y="1011.4448"
|
||||
width="13.53"
|
||||
height="148.39999"
|
||||
id="rect11" /><path
|
||||
class="cls-8"
|
||||
d="m 1545.1753,893.49468 h 4.69 a 5.67,5.67 0 0 1 5.67,5.67 v 84.64998 a 5.67,5.67 0 0 1 -5.67,5.67 h -4.69"
|
||||
id="path14" /><path
|
||||
class="cls-8"
|
||||
d="m 1112.5523,261.54468 v 0 a 44,44 0 0 1 44,44 v 438.57 h -88 v -438.51 a 44,44 0 0 1 44,-44 z"
|
||||
id="path15" /><rect
|
||||
class="cls-10"
|
||||
x="1060.5924"
|
||||
y="748.40466"
|
||||
width="103.92"
|
||||
height="64.660004"
|
||||
rx="3.9300001"
|
||||
id="rect15" /><path
|
||||
class="cls-10"
|
||||
d="m 1077.2923,853.76468 h 71.71 a 2.55,2.55 0 0 1 2.55,2.55 v 6.48 h -76.8 v -6.48 a 2.55,2.55 0 0 1 2.54,-2.55 z"
|
||||
id="path16" /><path
|
||||
class="cls-10"
|
||||
d="m 1065.8623,813.06468 h 92.43 v 28.12 a 2.55,2.55 0 0 1 -2.55,2.55 h -87.32 a 2.55,2.55 0 0 1 -2.55,-2.55 v -28.12 z"
|
||||
id="path17" /><rect
|
||||
class="cls-11"
|
||||
x="1079.9424"
|
||||
y="843.73468"
|
||||
width="65.989998"
|
||||
height="10.03"
|
||||
id="rect17" /><polyline
|
||||
class="cls-10"
|
||||
points="1359.86 750.8 1359.86 746.51 1277.14 746.51 1277.14 750.8"
|
||||
id="polyline17"
|
||||
transform="translate(-205.99766,-2.3953218)" /><rect
|
||||
class="cls-10"
|
||||
x="1068.5325"
|
||||
y="326.22467"
|
||||
width="88.040001"
|
||||
height="5.9899998"
|
||||
id="rect18" /><rect
|
||||
class="cls-10"
|
||||
x="1068.5325"
|
||||
y="353.41467"
|
||||
width="88.040001"
|
||||
height="5.9899998"
|
||||
id="rect19" /><path
|
||||
class="cls-2"
|
||||
d="m 725.27532,910.38466 a 14,14 0 1 0 14,14 13.95,13.95 0 0 0 -14,-14 z m 0,21.5 a 7.55,7.55 0 1 1 7.54,-7.55 7.55,7.55 0 0 1 -7.54,7.55 z"
|
||||
id="path19" /><circle
|
||||
class="cls-8"
|
||||
cx="725.27539"
|
||||
cy="924.33466"
|
||||
r="7.5500002"
|
||||
id="circle19" /><circle
|
||||
class="cls-8"
|
||||
cx="725.27539"
|
||||
cy="924.33466"
|
||||
r="13.95"
|
||||
id="circle20" /><rect
|
||||
class="cls-8"
|
||||
x="647.6554"
|
||||
y="862.80469"
|
||||
width="897.52002"
|
||||
height="441.10999"
|
||||
rx="11.7"
|
||||
id="rect28" /></g><path
|
||||
d="m 445.36309,937.56838 c 0,11.52004 10.38375,20.85861 23.19309,20.85861 12.80937,0 23.19311,-9.33857 23.19311,-20.85861 0,-11.52005 -10.38374,-20.85861 -23.19311,-20.85861 -12.80934,0 -23.19309,9.33856 -23.19309,20.85861 z"
|
||||
fill="#ccc"
|
||||
id="path1"
|
||||
style="fill:#4d4d4d;stroke-width:0.458227" /><path
|
||||
d="m 469.40305,1035.9158 c -119.83415,0 -217.31582,-93.40624 -217.31582,-208.23067 0,-114.82425 97.48167,-208.23058 217.31582,-208.23058 119.83417,0 217.31585,93.40633 217.31585,208.23058 0,114.82443 -97.48168,208.23067 -217.31585,208.23067 z m 0,-386.58065 c -102.63515,0 -186.13149,80.00572 -186.13149,178.34998 0,98.32948 83.49634,178.34997 186.13149,178.34997 102.61966,0 186.13151,-80.01997 186.13151,-178.34997 0,-98.34426 -83.51185,-178.34998 -186.13151,-178.34998 z"
|
||||
fill="#ccc"
|
||||
id="path2"
|
||||
style="fill:#4d4d4d;stroke-width:0.474832" /><path
|
||||
d="m 468.55618,889.48186 c -8.53552,0 -15.46205,-6.22977 -15.46205,-13.90533 v -23.51468 c 0,-22.75028 19.32709,-40.13201 36.39722,-55.47009 12.50833,-11.26363 25.45056,-22.88885 25.45056,-32.16398 0,-23.18095 -20.81195,-42.03718 -46.38573,-42.03718 -26.0067,0 -46.38619,18.0497 -46.38619,41.09158 0,7.67594 -6.92654,13.90533 -15.46208,13.90533 -8.53554,0 -15.46207,-6.22977 -15.46207,-13.9058 0,-37.99002 34.68046,-68.90262 77.31034,-68.90262 42.62989,0 77.31034,31.32967 77.31034,69.84869 0,20.81694 -17.54944,36.5856 -34.51132,51.84064 -13.452,12.07016 -27.33645,24.55758 -27.33645,35.77907 v 23.51468 c 0,7.6764 -6.92702,13.91969 -15.46257,13.91969 z"
|
||||
fill="#ccc"
|
||||
id="path3"
|
||||
style="fill:#4d4d4d;stroke-width:0.458227" /></svg>
|
||||
<svg class="svg-icon" style="overflow:hidden;fill:currentColor" version="1.1" id="svg3" xml:space="preserve" width="909.88" height="546.855" xmlns="http://www.w3.org/2000/svg"><defs id="defs3"><style id="style1">.cls-2{fill:#9f9f9e}.cls-3{fill:#cbcccb}.cls-6{fill:#b1a368}.cls-8{fill:none;stroke:#050606;stroke-miterlimit:10;stroke-width:2px}</style></defs><g id="Layer_7" data-name="Layer 7" transform="translate(-646.655 -758.06)"><path class="cls-2" d="M1545.175 893.495h4.69a5.67 5.67 0 0 1 5.67 5.67v84.65a5.67 5.67 0 0 1-5.67 5.67h-4.69" id="path1-4"/><rect class="cls-3" x="647.655" y="862.805" width="897.52" height="441.11" rx="11.7" id="rect2"/><path class="cls-2" d="M681.125 862.805v113.48a3.67 3.67 0 0 0 3.67 3.67h41a2.35 2.35 0 0 1 2.35 2.35v321.61h789.46v-441.11zm811.52 416.11h-739.46v-306.9a17.06 17.06 0 0 0-17.06-17.06h-27.5a2.5 2.5 0 0 1-2.5-2.5v-62.15a2.5 2.5 0 0 1 2.5-2.5h784z" id="path2-7"/><path class="cls-3" d="M1492.645 887.805v391.11h-739.46v-306.9a17 17 0 0 0-7.2-13.92v-70.29z" id="path3-7"/><path d="M745.985 887.805v70.29a17 17 0 0 0-9.86-3.14h-27.5a2.5 2.5 0 0 1-2.5-2.5v-62.15a2.5 2.5 0 0 1 2.5-2.5z" id="path4" style="fill:#b7b7b7"/><path class="cls-2" id="rect4" d="M672.105 1011.445h13.53v148.4h-13.53z"/><path class="cls-6" d="M1077.292 853.765h71.71a2.55 2.55 0 0 1 2.55 2.55v6.48h-76.8v-6.48a2.55 2.55 0 0 1 2.54-2.55z" id="path7"/><path class="cls-8" d="M1082.92 761.226h60.884a6.196 4.845 0 0 1 6.196 4.846v77.326h-73.275v-77.326a6.196 4.845 0 0 1 6.196-4.846z" id="path39" style="fill:#b1a368"/><rect class="cls-8" x="1066.983" y="778.199" width="91.505" height="55.957" rx="5.551" id="rect39" style="fill:#b1a368"/><path class="cls-2" d="M1158.452 782.54v47.247a5.515 4.313 0 0 1-5.551 4.34h-80.367a5.551 4.341 0 0 1-5.587-4.34V782.54a5.551 4.341 0 0 1 5.587-4.341h80.51a5.515 4.313 0 0 1 5.408 4.34z" id="path41-4" style="fill:none;stroke:#050606;stroke-width:3.16706;stroke-miterlimit:10"/><path class="cls-6" id="rect8" d="M1079.942 843.735h65.99v10.03h-65.99z"/><path class="cls-8" d="M1492.645 887.805v391.11h-739.46v-306.9a17.06 17.06 0 0 0-17.06-17.06h-27.5a2.5 2.5 0 0 1-2.5-2.5v-62.15a2.5 2.5 0 0 1 2.5-2.5h784m25-25h-836.5v113.48a3.68 3.68 0 0 0 3.67 3.67h41a2.35 2.35 0 0 1 2.35 2.35v321.61h789.46v-441.11z" id="path10"/><path class="cls-8" id="line10" d="M745.995 958.095v-70.29"/><path class="cls-8" id="rect11" d="M672.105 1011.445h13.53v148.4h-13.53z"/><path class="cls-8" d="M1545.175 893.495h4.69a5.67 5.67 0 0 1 5.67 5.67v84.65a5.67 5.67 0 0 1-5.67 5.67h-4.69" id="path14"/><path d="M1077.292 853.765h71.71a2.55 2.55 0 0 1 2.55 2.55v6.48h-76.8v-6.48a2.55 2.55 0 0 1 2.54-2.55z" id="path16" style="stroke-width:2.04px;stroke-miterlimit:10;fill:none;stroke:#050606"/><path id="rect17" style="stroke-width:1.99px;stroke-miterlimit:10;fill:none;stroke:#050606" d="M1079.942 843.735h65.99v10.03h-65.99z"/><path class="cls-2" d="M725.275 910.385a14 14 0 1 0 14 14 13.95 13.95 0 0 0-14-14zm0 21.5a7.55 7.55 0 1 1 7.54-7.55 7.55 7.55 0 0 1-7.54 7.55z" id="path19"/><circle class="cls-8" cx="725.275" cy="924.335" r="7.55" id="circle19"/><circle class="cls-8" cx="725.275" cy="924.335" r="13.95" id="circle20"/><path d="M445.363 440.054c0 11.52 10.384 20.858 23.193 20.858 12.81 0 23.193-9.338 23.193-20.858 0-11.52-10.383-20.859-23.193-20.859-12.81 0-23.193 9.339-23.193 20.859z" fill="#ccc" id="path1" style="overflow:hidden;fill:#4d4d4d;stroke-width:.458227" transform="translate(646.655 758.06)"/><path d="M469.403 538.401c-119.834 0-217.316-93.406-217.316-208.23 0-114.825 97.482-208.231 217.316-208.231S686.72 215.346 686.72 330.17c0 114.825-97.482 208.231-217.316 208.231zm0-386.58c-102.635 0-186.131 80.005-186.131 178.35 0 98.329 83.496 178.35 186.131 178.35 102.62 0 186.132-80.02 186.132-178.35 0-98.345-83.512-178.35-186.132-178.35z" fill="#ccc" id="path2" style="overflow:hidden;fill:#4d4d4d;stroke-width:.474832" transform="translate(646.655 758.06)"/><path d="M468.556 391.967c-8.535 0-15.462-6.23-15.462-13.905v-23.515c0-22.75 19.327-40.132 36.397-55.47 12.509-11.264 25.45-22.889 25.45-32.164 0-23.18-20.811-42.037-46.385-42.037-26.007 0-46.386 18.05-46.386 41.091 0 7.676-6.927 13.906-15.462 13.906-8.536 0-15.462-6.23-15.462-13.906 0-37.99 34.68-68.903 77.31-68.903s77.31 31.33 77.31 69.85c0 20.816-17.549 36.585-34.51 51.84-13.453 12.07-27.337 24.557-27.337 35.779v23.514c0 7.677-6.927 13.92-15.463 13.92z" fill="#ccc" id="path3" style="overflow:hidden;fill:#4d4d4d;stroke-width:.458227;stroke:#000;stroke-opacity:1" transform="translate(646.655 758.06)"/><rect class="cls-8" x="647.655" y="862.805" width="897.52" height="441.11" rx="11.7" id="rect28"/></g></svg>
|
||||
|
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 4.5 KiB |
|
|
@ -37,24 +37,38 @@ extension UserEntity {
|
|||
var hardwareImage: String? {
|
||||
guard let hwModel else { return nil }
|
||||
switch hwModel {
|
||||
/// SVG Images for Vendors who are project backers
|
||||
/// SVG Images for Vendors who are signed project backers
|
||||
/// Heltec
|
||||
case "HELTECV3":
|
||||
return "HELTECV3"
|
||||
case "HELTECWIRELESSPAPER", "HELTECWIRELESSPAPERV10":
|
||||
return "HELTECWIRELESSPAPER"
|
||||
case "HELTECWIRELESSTRACKER", "HELTECWIRELESSTRACKERV10":
|
||||
return "HELTECWIRELESSTRACKER"
|
||||
case "HELTECWSLV3":
|
||||
return "HELTECWSLV3"
|
||||
// case "HELTECV3":
|
||||
// return "HELTECV3"
|
||||
// case "HELTECWIRELESSPAPER", "HELTECWIRELESSPAPERV10":
|
||||
// return "HELTECWIRELESSPAPER"
|
||||
// case "HELTECWIRELESSTRACKER", "HELTECWIRELESSTRACKERV10":
|
||||
// return "HELTECWIRELESSTRACKER"
|
||||
// case "HELTECWSLV3":
|
||||
// return "HELTECWSLV3"
|
||||
/// LilyGO
|
||||
case "TDECK":
|
||||
return "TDECK"
|
||||
case "TECHO":
|
||||
return "TECHO"
|
||||
case "TWATCHS3":
|
||||
return "TWATCHS3"
|
||||
case "LILYGOTBEAMS3CORE":
|
||||
return "LILYGOTBEAMS3CORE"
|
||||
case "TBEAM", "TBEAM_V0P7":
|
||||
return "TBEAM"
|
||||
case "TLORAT3S3V1":
|
||||
return "TLORAT3S3V1"
|
||||
case "TLORAC6":
|
||||
return "TLORAC6"
|
||||
/// B&O Consulting
|
||||
case "TLORAT3S3EPAPER":
|
||||
return "TLORAT3S3EPAPER"
|
||||
case "TLORAT3S3V1":
|
||||
return "TLORAT3S3V1"
|
||||
case "TLORAV2116":
|
||||
return "TLORAV2116"
|
||||
case "TLORAV2118":
|
||||
return "TLORAV2118"
|
||||
/// B&Q Consulting
|
||||
case "NANOG1", "NANOG1EXPLORER":
|
||||
return "NANOG1"
|
||||
case "NANOG2ULTRA":
|
||||
|
|
@ -63,9 +77,6 @@ extension UserEntity {
|
|||
return "STATIONG2"
|
||||
case "SOLAR_NODE":
|
||||
return "SOLAR_NODE"
|
||||
|
||||
case "UNPHONE":
|
||||
return "UNPHONE"
|
||||
default:
|
||||
return "UNSET"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@
|
|||
},
|
||||
{
|
||||
"hwModel": 12,
|
||||
"hwModelSlug": "TBEAM_S3_CORE",
|
||||
"hwModelSlug": "LILYGO_TBEAM_S3_CORE",
|
||||
"platformioTarget": "tbeam-s3-core",
|
||||
"architecture": "esp32-s3",
|
||||
"activelySupported": true,
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ struct NodeDetail: View {
|
|||
@State private var showingShutdownConfirm: Bool = false
|
||||
@State private var showingRebootConfirm: Bool = false
|
||||
@State private var dateFormatRelative: Bool = true
|
||||
@State private var currentDevice: DeviceHardware?
|
||||
|
||||
// The node the device is currently connected to
|
||||
var connectedNode: NodeInfoEntity?
|
||||
|
|
@ -45,7 +44,7 @@ struct NodeDetail: View {
|
|||
)
|
||||
|
||||
Section("Hardware") {
|
||||
NodeInfoItem(node: node, supported: currentDevice?.activelySupported ?? false)
|
||||
NodeInfoItem(node: node)
|
||||
}
|
||||
Section("Node") {
|
||||
HStack(alignment: .center) {
|
||||
|
|
@ -438,17 +437,6 @@ struct NodeDetail: View {
|
|||
}
|
||||
}
|
||||
.listStyle(.insetGrouped)
|
||||
.onFirstAppear {
|
||||
Api().loadDeviceHardwareData { (hw) in
|
||||
for device in hw {
|
||||
let currentHardware = node.user?.hwModel ?? "UNSET"
|
||||
let deviceString = device.hwModelSlug.replacingOccurrences(of: "_", with: "")
|
||||
if deviceString == currentHardware {
|
||||
currentDevice = device
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,28 +12,31 @@ import MapKit
|
|||
struct NodeInfoItem: View {
|
||||
|
||||
@ObservedObject var node: NodeInfoEntity
|
||||
var supported: Bool
|
||||
@State private var currentDevice: DeviceHardware?
|
||||
|
||||
var body: some View {
|
||||
if let user = node.user {
|
||||
ViewThatFits(in: .horizontal) {
|
||||
HStack {
|
||||
Spacer()
|
||||
VStack(alignment: .center) {
|
||||
Spacer()
|
||||
Image(systemName: supported ? "checkmark.seal.fill" : "x.circle")
|
||||
.resizable()
|
||||
.aspectRatio(contentMode: .fill) // << here !!
|
||||
.frame(width: 75, height: 75)
|
||||
.foregroundStyle(supported ? .green : .red)
|
||||
Text( supported ? "Supported" : "Unsupported")
|
||||
if user.hwModel != "UNSET" {
|
||||
VStack(alignment: .center) {
|
||||
Spacer()
|
||||
Image(systemName: currentDevice?.activelySupported ?? false ? "checkmark.seal.fill" : "x.circle")
|
||||
.resizable()
|
||||
.aspectRatio(contentMode: .fill)
|
||||
.frame(width: 75, height: 75)
|
||||
.foregroundStyle(currentDevice?.activelySupported ?? false ? .green : .red)
|
||||
Text( currentDevice?.activelySupported ?? false ? "Supported" : "Unsupported")
|
||||
.foregroundStyle(.gray)
|
||||
.font(.callout)
|
||||
}
|
||||
Spacer()
|
||||
}
|
||||
Spacer()
|
||||
VStack(alignment: .center) {
|
||||
HStack {
|
||||
if user.hwModel != "UNSET" {
|
||||
if user.hardwareImage != "UNSET" {
|
||||
Spacer()
|
||||
Image(user.hardwareImage ?? "UNSET")
|
||||
.resizable()
|
||||
.aspectRatio(contentMode: .fit)
|
||||
|
|
@ -50,6 +53,18 @@ struct NodeInfoItem: View {
|
|||
}
|
||||
Spacer()
|
||||
}
|
||||
.onAppear {
|
||||
Api().loadDeviceHardwareData { (hw) in
|
||||
for device in hw {
|
||||
let currentHardware = node.user?.hwModel ?? "UNSET"
|
||||
let deviceString = device.hwModelSlug.replacingOccurrences(of: "_", with: "")
|
||||
print(deviceString + " == " + currentHardware)
|
||||
if deviceString == currentHardware {
|
||||
currentDevice = device
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.listRowSeparator(.hidden)
|
||||
HStack {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue