Add weather page to toolbox (close #25)

master
Skylar Ittner 5 years ago
parent 84d7576be5
commit 66161eebf8

@ -0,0 +1,68 @@
<?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 135.46666 135.46667"
version="1.1"
id="svg8"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
sodipodi:docname="weather-clear.svg">
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.7"
inkscape:cx="-418.57143"
inkscape:cy="388.57143"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1015"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata5">
<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>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-161.53332)">
<path
id="path941"
d="m 33.226771,181.53848 c -4.35002,0 -7.894177,3.54415 -7.894177,7.89418 0,4.35002 3.544157,7.89418 7.894177,7.89418 4.350022,0 7.894179,-3.54416 7.894179,-7.89418 0,-4.35003 -3.544157,-7.89418 -7.894179,-7.89418 z m 20.261728,6.61959 -7.787281,-3.88952 2.754742,-8.25599 c 0.370039,-1.11835 -0.69074,-2.17913 -1.800861,-1.80086 l -8.255996,2.75473 -3.89775,-7.79549 c -0.526279,-1.05257 -2.022884,-1.05257 -2.549162,0 l -3.889528,7.78727 -8.264218,-2.75473 c -1.11834,-0.37005 -2.179122,0.69073 -1.80086,1.80085 l 2.75474,8.256 -7.78728,3.89774 c -1.052558,0.52628 -1.052558,2.02289 0,2.54917 l 7.78728,3.88954 -2.75474,8.26421 c -0.370038,1.11834 0.690742,2.17911 1.80086,1.80085 l 8.255994,-2.75473 3.889529,7.78727 c 0.526278,1.05256 2.022883,1.05256 2.549161,0 l 3.889529,-7.78727 8.255994,2.75473 c 1.118344,0.37004 2.179122,-0.69073 1.80086,-1.80085 l -2.754738,-8.256 7.787278,-3.88952 c 1.069002,-0.53451 1.069002,-2.03112 0.01644,-2.5574 z m -12.819819,8.7165 c -4.103328,4.10333 -10.780488,4.10333 -14.883816,0 -4.103328,-4.10332 -4.103328,-10.78048 0,-14.88382 4.103328,-4.10333 10.780488,-4.10333 14.883816,0 4.103327,4.10334 4.103327,10.7805 0,14.88382 z"
inkscape:connector-curvature="0"
style="fill:#ff9800;stroke-width:0.08223102" />
<path
id="path882-6"
d="m 101.58488,242.64702 c 0,-1.60262 -0.3931,-3.175 -1.14904,-4.58107 l -7.423458,-13.89441 c -0.65012,-1.96548 -2.49465,-3.29595 -4.58108,-3.29595 H 47.035357 c -2.086428,0 -3.930952,1.33047 -4.59619,3.31107 l -7.423452,13.89441 c -0.755954,1.40606 -1.149051,2.97845 -1.149051,4.58106 0.01514,9.14703 0,41.10869 0,41.10869 0,2.67608 2.162027,4.8381 4.838098,4.8381 h 58.05714 c 2.67607,0 4.838098,-2.16202 4.838098,-4.8381 0,0 -0.0151,-31.96166 -0.0151,-41.1238 z m -14.680598,-14.51429 6.47095,12.09524 h -17.41714 l -3.628571,-12.09524 z m -38.341901,0 h 14.574761 l -3.628571,12.09524 H 42.091429 Z m -7.438571,53.21905 c 0,-6.39536 0.01512,-23.87298 0.01512,-33.86667 h 16.918213 v 9.67619 c 0,1.33048 1.088572,2.41905 2.419047,2.41905 h 14.514284 c 1.330477,0 2.419047,-1.08857 2.419047,-2.41905 v -9.67619 h 16.91821 c 0,9.99369 0,27.48643 0.0151,33.86667 z"
inkscape:connector-curvature="0"
style="fill:currentColor;stroke-width:0.15119046" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.9 KiB

@ -0,0 +1,68 @@
<?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 135.46666 135.46667"
version="1.1"
id="svg8"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
sodipodi:docname="weather-rainy.svg">
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.7"
inkscape:cx="-157.14286"
inkscape:cy="388.57143"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1015"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata5">
<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,-161.53332)">
<path
id="path882"
d="m 101.58488,242.64702 c 0,-1.60262 -0.39309,-3.175 -1.14904,-4.58107 l -7.423458,-13.89441 c -0.65012,-1.96548 -2.494645,-3.29595 -4.581074,-3.29595 H 47.035359 c -2.086428,0 -3.930952,1.33047 -4.59619,3.31107 l -7.423452,13.89441 c -0.755954,1.40606 -1.149051,2.97845 -1.149051,4.58106 0.01514,9.14703 0,41.10869 0,41.10869 0,2.67608 2.162027,4.8381 4.838098,4.8381 h 58.057144 c 2.676068,0 4.838092,-2.16202 4.838092,-4.8381 0,0 -0.0151,-31.96166 -0.0151,-41.1238 z m -14.680594,-14.51429 6.470953,12.09524 H 75.958095 l -3.628571,-12.09524 z m -38.341903,0 h 14.574761 l -3.628571,12.09524 H 42.091431 Z m -7.438571,53.21905 c 0,-6.39536 0.01512,-23.87298 0.01512,-33.86667 h 16.918213 v 9.67619 c 0,1.33048 1.088572,2.41905 2.419048,2.41905 h 14.514285 c 1.330476,0 2.419047,-1.08857 2.419047,-2.41905 v -9.67619 h 16.918212 c 0,9.99369 0,27.48643 0.01514,33.86667 z"
inkscape:connector-curvature="0"
style="fill:currentColor;stroke-width:0.15119046" />
<path
id="path1019"
d="m 80.537274,180.16754 c -0.04802,0 -0.08803,0.016 -0.128041,0.016 0.08803,-0.41613 0.128041,-0.84826 0.128041,-1.29641 0,-3.53708 -2.864884,-6.40196 -6.401972,-6.40196 -1.968606,0 -3.705141,0.90428 -4.881505,2.30471 -1.488458,-2.88089 -4.457372,-4.8655 -7.922439,-4.8655 -4.953523,0 -8.962759,4.00924 -8.962759,8.96275 0,0.58419 0.06402,1.14436 0.168053,1.69653 -3.064946,1.00831 -5.289629,3.86519 -5.289629,7.26624 0,4.24131 3.441059,7.68237 7.682366,7.68237 h 25.607885 c 4.241304,0 7.682363,-3.44106 7.682363,-7.68237 0,-4.2413 -3.441059,-7.68236 -7.682363,-7.68236 z m -29.449068,18.56571 c -0.704219,0 -1.280396,0.57618 -1.280396,1.2804 v 3.20099 c 0,0.70422 0.576177,1.28039 1.280396,1.28039 0.704216,0 1.280393,-0.57617 1.280393,-1.28039 v -3.20099 c 0,-0.70422 -0.576177,-1.2804 -1.280393,-1.2804 z m 7.682365,6.40198 c -0.704218,0 -1.280396,0.57618 -1.280396,1.2804 v 3.20097 c 0,0.70422 0.576178,1.2804 1.280396,1.2804 0.704216,0 1.280393,-0.57618 1.280393,-1.2804 v -3.20097 c 0,-0.70422 -0.576177,-1.2804 -1.280393,-1.2804 z m 7.682366,-6.40198 c -0.704219,0 -1.280396,0.57618 -1.280396,1.2804 v 3.20099 c 0,0.70422 0.576177,1.28039 1.280396,1.28039 0.704215,0 1.280393,-0.57617 1.280393,-1.28039 v -3.20099 c 0,-0.70422 -0.576178,-1.2804 -1.280393,-1.2804 z m 7.682365,6.40198 c -0.704218,0 -1.280396,0.57618 -1.280396,1.2804 v 3.20097 c 0,0.70422 0.576178,1.2804 1.280396,1.2804 0.704216,0 1.280393,-0.57618 1.280393,-1.2804 v -3.20097 c 0,-0.70422 -0.576177,-1.2804 -1.280393,-1.2804 z m 7.682366,-6.40198 c -0.704216,0 -1.280394,0.57618 -1.280394,1.2804 v 3.20099 c 0,0.70422 0.576178,1.28039 1.280394,1.28039 0.704215,0 1.280393,-0.57617 1.280393,-1.28039 v -3.20099 c 0,-0.70422 -0.576178,-1.2804 -1.280393,-1.2804 z"
inkscape:connector-curvature="0"
style="fill:#03a9f4;stroke-width:0.08002464" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.4 KiB

@ -0,0 +1,81 @@
<?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 135.46666 135.46667"
version="1.1"
id="svg8"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
sodipodi:docname="weather-snow.svg">
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.4"
inkscape:cx="257.77255"
inkscape:cy="317.14286"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1015"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata5">
<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,-161.53332)">
<path
id="path882"
d="m 101.58488,242.64702 c 0,-1.60262 -0.39309,-3.175 -1.14904,-4.58107 l -7.423458,-13.89441 c -0.65012,-1.96548 -2.494645,-3.29595 -4.581074,-3.29595 H 47.035359 c -2.086428,0 -3.930952,1.33047 -4.59619,3.31107 l -7.423452,13.89441 c -0.755954,1.40606 -1.149051,2.97845 -1.149051,4.58106 0.01514,9.14703 0,41.10869 0,41.10869 0,2.67608 2.162027,4.8381 4.838098,4.8381 h 58.057144 c 2.676068,0 4.838092,-2.16202 4.838092,-4.8381 0,0 -0.0151,-31.96166 -0.0151,-41.1238 z m -14.680594,-14.51429 6.470953,12.09524 H 75.958095 l -3.628571,-12.09524 z m -38.341903,0 h 14.574761 l -3.628571,12.09524 H 42.091431 Z m -7.438571,53.21905 c 0,-6.39536 0.01512,-23.87298 0.01512,-33.86667 h 16.918213 v 9.67619 c 0,1.33048 1.088572,2.41905 2.419048,2.41905 h 14.514285 c 1.330476,0 2.419047,-1.08857 2.419047,-2.41905 v -9.67619 h 16.918212 c 0,9.99369 0,27.48643 0.01514,33.86667 z"
inkscape:connector-curvature="0"
style="fill:currentColor;stroke-width:0.15119046" />
<path
id="path1747"
d="m 63.700847,189.92602 -0.522471,-0.91929 c -0.284384,-0.50924 -0.9259,-0.6812 -1.421915,-0.3902 l -2.59252,1.52112 0.60184,-2.2949 c 0.14549,-0.56216 -0.17857,-1.14415 -0.73411,-1.29626 l -1.00526,-0.27116 c -0.55554,-0.15211 -1.1243,0.18518 -1.27642,0.74733 l -1.40868,5.35699 -4.75515,2.79092 v -5.58846 l 3.8557,-3.92184 c 0.40343,-0.41004 0.40343,-1.08462 0,-1.49467 l -0.7341,-0.74733 c -0.40343,-0.41004 -1.06479,-0.41004 -1.46821,0 l -1.64678,1.67985 v -3.03563 c 0,-0.58199 -0.46295,-1.05817 -1.03833,-1.05817 H 48.51611 c -0.57538,0 -1.03833,0.47618 -1.03833,1.05817 v 3.04885 l -1.64677,-1.67984 c -0.40343,-0.41004 -1.06479,-0.41004 -1.46821,0 l -0.75395,0.74733 c -0.40343,0.41004 -0.40343,1.08463 0,1.49467 l 3.85571,3.92184 v 5.58846 l -4.75515,-2.79093 -1.40869,-5.35698 c -0.1455,-0.56215 -0.72088,-0.89944 -1.27642,-0.74733 l -1.00526,0.27115 c -0.55554,0.15212 -0.88622,0.73411 -0.73411,1.29626 l 0.60184,2.29491 -2.59252,-1.52112 c -0.49601,-0.291 -1.13092,-0.11904 -1.42191,0.3902 l -0.52247,0.91928 c -0.28439,0.50925 -0.11905,1.15076 0.38358,1.44837 l 2.59252,1.52112 -2.25523,0.60184 c -0.55554,0.15211 -0.88621,0.7341 -0.7341,1.29625 l 0.27115,1.0251 c 0.1455,0.56216 0.72088,0.89945 1.27642,0.74734 l 5.27101,-1.43514 4.75515,2.79092 -4.75515,2.79092 -5.27101,-1.43514 c -0.55554,-0.15211 -1.1243,0.18518 -1.27642,0.74733 l -0.27115,1.0251 c -0.1455,0.56215 0.17856,1.14415 0.7341,1.29626 l 2.25523,0.61506 -2.59252,1.52112 c -0.49602,0.291 -0.66797,0.93912 -0.38358,1.44837 l 0.52247,0.91928 c 0.28438,0.50925 0.9259,0.6812 1.42191,0.3902 l 2.59252,-1.52111 -0.60184,2.2949 c -0.14549,0.56215 0.17857,1.14415 0.73411,1.29626 l 1.00526,0.27115 c 0.55554,0.15212 1.12431,-0.18518 1.27642,-0.74733 l 1.40869,-5.35698 4.75515,-2.79092 v 5.58845 l -3.85571,3.92185 c -0.40343,0.41004 -0.40343,1.08462 0,1.49466 l 0.73411,0.74733 c 0.40342,0.41004 1.06478,0.41004 1.46821,0 l 1.64677,-1.67984 v 3.03562 c 0,0.582 0.46295,1.05817 1.03833,1.05817 h 1.038331 c 0.57538,0 1.03833,-0.47617 1.03833,-1.05817 v -3.04885 l 1.64678,1.67985 c 0.40342,0.41003 1.06478,0.41003 1.46821,0 l 0.7341,-0.74734 c 0.40343,-0.41004 0.40343,-1.08462 0,-1.49466 l -3.8557,-3.92184 v -5.58846 l 4.75514,2.79092 1.40869,5.35699 c 0.1455,0.56215 0.72088,0.89944 1.27642,0.74733 l 1.00526,-0.27116 c 0.55554,-0.15211 0.88622,-0.7341 0.73411,-1.29626 l -0.60184,-2.2949 2.592518,1.52112 c 0.496018,0.29099 1.13092,0.11904 1.421915,-0.3902 l 0.522471,-0.91929 c 0.304226,-0.49602 0.138886,-1.14414 -0.363746,-1.43514 l -2.592514,-1.52112 2.255224,-0.61506 c 0.555539,-0.15211 0.886218,-0.73411 0.734104,-1.29626 l -0.271156,-1.0251 C 63.29742,199.476 62.722039,199.13871 62.1665,199.29082 l -5.271009,1.43514 -4.74853,-2.79092 4.75515,-2.79092 5.271003,1.43514 c 0.555539,0.15211 1.124306,-0.18518 1.276417,-0.74734 l 0.271156,-1.0251 c 0.1455,-0.56215 -0.178565,-1.14414 -0.734104,-1.29625 l -2.255224,-0.61507 2.592514,-1.52111 c 0.489404,-0.291 0.661358,-0.93913 0.376974,-1.44837 z"
inkscape:connector-curvature="0"
style="fill:#40c4ff;stroke-width:0.0661356"
sodipodi:nodetypes="ccccccccccccccccsssscccccccccccccccccccccccccccccccccccccccccccccccsssscccccccccccccccccccccccccccccccc" />
<path
style="fill:#40c4ff;stroke-width:0.03867185"
inkscape:connector-curvature="0"
d="m 95.489081,177.22605 -0.305507,-0.53754 c -0.166287,-0.29778 -0.541407,-0.39833 -0.831441,-0.22817 l -1.51594,0.88946 0.351918,-1.34192 c 0.08507,-0.32871 -0.104416,-0.66902 -0.429261,-0.75796 l -0.587811,-0.15856 c -0.324844,-0.0889 -0.657419,0.10828 -0.746369,0.43699 l -0.823705,3.13242 -2.780508,1.63195 v -3.26777 l 2.254567,-2.29324 c 0.2359,-0.23976 0.2359,-0.63422 0,-0.87399 l -0.429254,-0.43699 c -0.2359,-0.23976 -0.622623,-0.23976 -0.858517,0 l -0.962931,0.98227 v -1.77504 c 0,-0.34031 -0.270704,-0.61875 -0.607149,-0.61875 h -0.607149 c -0.336445,0 -0.607149,0.27844 -0.607149,0.61875 v 1.78277 l -0.962925,-0.98226 c -0.2359,-0.23977 -0.622621,-0.23977 -0.858515,0 l -0.440862,0.43699 c -0.2359,0.23976 -0.2359,0.63422 0,0.87399 l 2.254572,2.29324 v 3.26777 l -2.780506,-1.63196 -0.823712,-3.13241 c -0.08508,-0.32871 -0.421524,-0.52594 -0.746368,-0.437 l -0.587812,0.15856 c -0.324844,0.089 -0.518204,0.42926 -0.42926,0.75797 l 0.351917,1.34191 -1.515939,-0.88945 c -0.290035,-0.17016 -0.661289,-0.0696 -0.831442,0.22816 l -0.305507,0.53754 c -0.166293,0.29777 -0.06961,0.67289 0.224293,0.84691 l 1.51594,0.88945 -1.318714,0.35192 c -0.324844,0.0889 -0.518199,0.42926 -0.429255,0.75797 l 0.158551,0.59941 c 0.08508,0.32871 0.421525,0.52594 0.746369,0.43699 l 3.082148,-0.83917 2.780506,1.63195 -2.780506,1.63195 -3.082148,-0.83918 c -0.324844,-0.0889 -0.657419,0.10828 -0.746369,0.43699 l -0.158551,0.59941 c -0.08508,0.32871 0.104411,0.66903 0.429255,0.75797 l 1.318714,0.35965 -1.51594,0.88945 c -0.29004,0.17016 -0.390586,0.54914 -0.224293,0.84692 l 0.305507,0.53753 c 0.166287,0.29778 0.541407,0.39833 0.831442,0.22817 l 1.515939,-0.88945 -0.351917,1.34191 c -0.08507,0.32871 0.104416,0.66903 0.42926,0.75797 l 0.587812,0.15855 c 0.324844,0.089 0.657424,-0.10828 0.746368,-0.43699 l 0.823712,-3.13242 2.780506,-1.63195 v 3.26777 l -2.254572,2.29325 c -0.2359,0.23976 -0.2359,0.63421 0,0.87398 l 0.429261,0.43699 c 0.235894,0.23976 0.622615,0.23976 0.858515,0 l 0.962925,-0.98227 v 1.77504 c 0,0.34032 0.270703,0.61875 0.607149,0.61875 h 0.607149 c 0.336445,0 0.607149,-0.27843 0.607149,-0.61875 v -1.78277 l 0.962931,0.98227 c 0.235894,0.23976 0.622617,0.23976 0.858517,0 l 0.429254,-0.437 c 0.2359,-0.23976 0.2359,-0.63422 0,-0.87398 l -2.254567,-2.29324 v -3.26777 l 2.780502,1.63195 0.823711,3.13242 c 0.08508,0.32871 0.421525,0.52594 0.746369,0.43699 l 0.587811,-0.15856 c 0.324844,-0.0889 0.518205,-0.42925 0.429261,-0.75796 l -0.351918,-1.34192 1.515934,0.88946 c 0.29004,0.17015 0.661289,0.0696 0.831447,-0.22817 l 0.305507,-0.53754 c 0.177894,-0.29004 0.08121,-0.66902 -0.212698,-0.83918 l -1.515933,-0.88945 1.318708,-0.35965 c 0.324844,-0.0889 0.518204,-0.42926 0.42926,-0.75797 l -0.158557,-0.59941 c -0.08507,-0.32871 -0.421524,-0.52593 -0.746362,-0.43699 l -3.082148,0.83918 -2.776638,-1.63195 2.780508,-1.63195 3.082143,0.83917 c 0.324844,0.089 0.657424,-0.10828 0.746368,-0.43699 l 0.158551,-0.59941 c 0.08508,-0.32871 -0.10441,-0.66902 -0.429254,-0.75797 l -1.318714,-0.35965 1.515939,-0.88945 c 0.28617,-0.17016 0.386721,-0.54914 0.220428,-0.84691 z"
id="path1758"
sodipodi:nodetypes="ccccccccccccccccsssscccccccccccccccccccccccccccccccccccccccccccccccsssscccccccccccccccccccccccccccccccc" />
<path
sodipodi:nodetypes="sssscccccccccccsssscccccccccccs"
id="path1769"
d="m 79.761365,206.32096 c 0,0.17015 0.13922,0.30937 0.30938,0.30937 h 0.61875 c 0.17015,0 0.30937,-0.13922 0.30937,-0.30937 v -1.09829 l 1.08282,0.62262 c 0.14695,0.0851 0.33644,0.0348 0.42152,-0.11215 l 0.30937,-0.53754 c 0.0851,-0.14695 0.0348,-0.33644 -0.11214,-0.42152 l -1.07895,-0.61875 1.07895,-0.61875 c 0.14695,-0.0851 0.19722,-0.27457 0.11214,-0.42152 l -0.30937,-0.53754 c -0.0851,-0.14695 -0.27457,-0.19723 -0.42152,-0.11215 l -1.08282,0.62262 v -1.09828 c 0,-0.17016 -0.13922,-0.30938 -0.30937,-0.30938 h -0.61875 c -0.17016,0 -0.30938,0.13922 -0.30938,0.30938 v 1.09828 l -1.08281,-0.62262 c -0.14695,-0.0851 -0.33645,-0.0348 -0.42152,0.11215 l -0.30938,0.53754 c -0.0851,0.14695 -0.0348,0.33645 0.11215,0.42152 l 1.07895,0.61875 -1.07895,0.61875 c -0.14695,0.0851 -0.19723,0.27457 -0.11215,0.42152 l 0.30938,0.53754 c 0.0851,0.14696 0.27457,0.19723 0.42152,0.11215 l 1.08281,-0.62262 z"
inkscape:connector-curvature="0"
style="fill:#40c4ff;stroke-width:0.03867185" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 10 KiB

@ -0,0 +1,68 @@
<?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 135.46666 135.46667"
version="1.1"
id="svg8"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
sodipodi:docname="weather-windy.svg">
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.7"
inkscape:cx="105.42857"
inkscape:cy="160"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1015"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata5">
<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,-161.53332)">
<path
id="path882-6"
d="m 122.74223,240.73944 c 0.32995,-1.32147 0.32953,-2.69893 -0.004,-4.01395 l -3.26059,-12.9852 c -0.13142,-1.75451 -1.37845,-3.23132 -3.09885,-3.66088 l -34.133784,-8.5225 c -1.720399,-0.42955 -3.515246,0.28777 -4.471541,1.78395 l -8.981681,9.92854 c -0.912811,1.00376 -1.560665,2.21937 -1.890607,3.54083 -1.870687,7.54545 -8.463364,33.89686 -8.463364,33.89686 -0.550945,2.2066 0.786678,4.43445 2.993278,4.98539 l 47.871989,11.95268 c 2.2066,0.55094 4.43444,-0.78668 4.98538,-2.99329 0,0 6.56775,-26.35762 8.45403,-33.91242 z m -9.11696,-14.99041 2.84559,11.30556 -14.36159,-3.5858 -0.50186,-10.72037 z m -31.615454,-7.89374 12.017863,3.00062 -5.48214,9.22629 -14.361595,-3.5858 z M 64.9196,260.20651 c 1.316662,-5.2734 4.927383,-19.68175 6.984861,-27.92222 l 13.950196,3.48309 -1.992112,7.97867 c -0.273916,1.09706 0.399572,2.21878 1.496637,2.49269 l 11.967996,2.98817 c 1.097066,0.27391 2.218778,-0.39958 2.492693,-1.49664 l 1.992109,-7.97867 13.95019,3.48309 c -2.05747,8.24046 -5.65884,22.6644 -6.95993,27.92843 z"
inkscape:connector-curvature="0"
style="fill:currentColor;stroke-width:0.12849374" />
<path
id="path1909"
d="M 5.1410488,226.14272 H 37.977158 c 5.844047,0 10.437191,-5.33587 9.166748,-11.40469 -0.74272,-3.54747 -3.60611,-6.41086 -7.153582,-7.15358 -5.462913,-1.1434 -10.339466,2.48225 -11.248323,7.48585 -0.156362,0.87954 0.566814,1.6809 1.456125,1.6809 h 1.798168 c 0.703631,0 1.260672,-0.50818 1.43658,-1.18249 0.644995,-2.46271 3.244521,-4.14361 6.029727,-3.27384 1.397489,0.42999 2.531118,1.57339 2.970885,2.97088 1.006584,3.2152 -1.387715,6.18609 -4.456328,6.18609 H 5.1410488 c -0.859993,0 -1.563624,0.70363 -1.563624,1.56363 v 1.56362 c 0,0.85999 0.703631,1.56363 1.563624,1.56363 z m 14.0726172,3.12724 H 5.1410488 c -0.859993,0 -1.563624,0.70363 -1.563624,1.56363 v 1.56362 c 0,0.85999 0.703631,1.56362 1.563624,1.56362 H 19.213666 c 3.068613,0 5.462913,2.96112 4.45633,6.18609 -0.429997,1.39749 -1.573397,2.53112 -2.970887,2.97089 -2.785204,0.86976 -5.38473,-0.81113 -6.029725,-3.27384 -0.175907,-0.67431 -0.732948,-1.18249 -1.436579,-1.18249 h -1.788396 c -0.899084,0 -1.6222602,0.80136 -1.4561252,1.6809 0.9088572,5.00359 5.7854102,8.62925 11.2483212,7.48585 3.547473,-0.74273 6.410859,-3.60611 7.153581,-7.15358 1.260672,-6.06882 -3.332474,-11.40469 -9.17652,-11.40469 z m 22.99505,0 H 27.403148 c 0.527723,0.46909 1.065219,0.93818 1.514761,1.49522 0.791585,0.96749 1.358399,2.06203 1.817713,3.19565 h 11.649002 c 3.264064,0 6.18609,2.38453 6.498813,5.62905 0.361588,3.72338 -2.570207,6.87995 -6.22518,6.87995 -2.707023,0 -4.993824,-1.72976 -5.863591,-4.1436 -0.117271,-0.3225 -0.400678,-0.54727 -0.742721,-0.54727 h -3.234748 c -0.488632,0 -0.879539,0.44954 -0.772039,0.9284 1.133627,4.83746 5.443367,8.45334 10.622872,8.45334 6.156771,0 11.121276,-5.08178 10.935599,-11.27764 -0.175908,-5.99063 -5.404277,-10.6131 -11.394913,-10.6131 z"
inkscape:connector-curvature="0"
style="fill:#7c4dff;stroke-width:0.09772651" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.6 KiB

@ -100,7 +100,7 @@ function openTrackingHistory(trackingcode) {
error: function (jqXHR, status, errorThrown) {
if (trackingdialogopen) {
app.dialog.close();
searchingdialogopen = false;
trackingdialogopen = false;
}
requestfinished = true;
playSound("error");

@ -0,0 +1,63 @@
/*
* 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 ftoc(f) {
return (f - 32) * 5 / 9;
}
function loadWeather() {
if (userPosition.coords.accuracy > 99999) {
app.dialog.alert("Couldn't find your location. Wait for a GPS signal and try again.", "Error");
return;
}
var requestfinished = false;
var weatherdialogopen = false;
$.ajax({
url: SETTINGS.weatherapi,
dataType: 'json',
data: {
latitude: userPosition.coords.latitude,
longitude: userPosition.coords.longitude
},
timeout: 15 * 1000,
success: function (resp) {
if (weatherdialogopen) {
app.dialog.close();
weatherdialogopen = false;
}
requestfinished = true;
if (resp.status == "OK") {
var mintemp = (localStorage.getItem("units") == "metric" ? Math.round(ftoc(resp.temp.min)) + " &deg;C" : Math.round(resp.temp.min) + " &deg;F");
var maxtemp = (localStorage.getItem("units") == "metric" ? Math.round(ftoc(resp.temp.max)) + " &deg;C" : Math.round(resp.temp.max) + " &deg;F");
$("#lowtemp").html(mintemp);
$("#hightemp").html(maxtemp);
$("#precipchance").text(Math.round(resp.precipitation.chance * 100.0) + "% chance");
$("#weathericon").attr("src", "assets/images/weather-" + resp.icon + ".svg");
} else {
app.dialog.alert(resp.message, "Error");
}
},
error: function (jqXHR, status, errorThrown) {
if (weatherdialogopen) {
app.dialog.close();
weatherdialogopen = false;
}
requestfinished = true;
app.dialog.alert("There was a network issue while checking the weather. Please try again.", "Error");
}
});
// Open a loading message if there's a delay
setTimeout(function () {
if (!requestfinished) {
app.dialog.preloader("Checking Weather...");
weatherdialogopen = true;
}
}, 1000);
}

@ -27,6 +27,14 @@
</div>
</a>
</li>
<li>
<a href="/toolbox/weather" class="item-link item-content">
<div class="item-media"><i class="icon fas fa-cloud-sun"></i></div>
<div class="item-inner">
<div class="item-title">Weather</div>
</div>
</a>
</li>
<!--<li>
<a href="/toolbox/scanner" class="item-link item-content">
<div class="item-media"><i class="icon fas fa-barcode"></i></div>

@ -0,0 +1,46 @@
<!-- 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/. -->
<div class="page" data-name="weather">
<div class="navbar">
<div class="navbar-bg"></div>
<div class="navbar-inner">
<div class="left">
<a href="#" class="link icon-only back">
<i class="icon icon-back"></i>
</a>
</div>
<div class="title">Weather</div>
<div class="right">
<a class="link" onclick="loadWeather()">
<i class="material-icons">refresh</i>
</a>
</div>
</div>
</div>
<div class="page-content">
<div class="block text-align-center">
<img id="weathericon" style="width: 60%; max-width: 300px; max-height: 40vh;" src="assets/images/weather-clear.svg" class="margin-vertical" />
<div class="row">
<div class="col-50">
<h2>Low: <span id="lowtemp">...</span></h2>
</div>
<div class="col-50">
<h2>High: <span id="hightemp">...</span></h2>
</div>
<div class="col-100">
<h3>Precipitation: <span id="precipchance">...</span></h3>
</div>
</div>
<div class="block-footer"><a href="" onclick="openExternalBrowser('https://darksky.net/poweredby/')">Powered by Dark Sky</a></div>
</div>
</div>
<script src="assets/js/toolbox_weather.js"></script>
</div>

@ -98,6 +98,16 @@ var routes = [
url: './pages/toolbox/track.html',
name: 'track'
},
{
path: '/toolbox/weather',
url: './pages/toolbox/weather.html',
name: 'weather',
on: {
pageAfterIn: function () {
loadWeather();
}
}
},
{
path: '/toolbox/track/info',
templateUrl: './pages/toolbox/trackinginfo.html',

@ -79,5 +79,6 @@ var SETTINGS = {
}
},
geocodeapi: "https://apis.netsyms.net/packagehelper/geocode.php",
trackingapi: "https://apis.netsyms.net/packagehelper/track.php"
trackingapi: "https://apis.netsyms.net/packagehelper/track.php",
weatherapi: "https://apis.netsyms.net/packagehelper/weather.php"
}

Loading…
Cancel
Save