diff options
Diffstat (limited to 'vfd-backend/public')
-rw-r--r-- | vfd-backend/public/audio/alarm.mp3 | bin | 0 -> 204029 bytes | |||
-rw-r--r-- | vfd-backend/public/audio/alarm.ogg | bin | 0 -> 138838 bytes | |||
-rw-r--r-- | vfd-backend/public/images/instruments/altitude.svg | 13 | ||||
-rw-r--r-- | vfd-backend/public/images/instruments/attitude.svg | 57 | ||||
-rw-r--r-- | vfd-backend/public/images/leds/led.svg | 293 | ||||
-rw-r--r-- | vfd-backend/public/stylesheets/main.css | 8 |
6 files changed, 357 insertions, 14 deletions
diff --git a/vfd-backend/public/audio/alarm.mp3 b/vfd-backend/public/audio/alarm.mp3 Binary files differnew file mode 100644 index 0000000..97c83d5 --- /dev/null +++ b/vfd-backend/public/audio/alarm.mp3 diff --git a/vfd-backend/public/audio/alarm.ogg b/vfd-backend/public/audio/alarm.ogg Binary files differnew file mode 100644 index 0000000..19a1717 --- /dev/null +++ b/vfd-backend/public/audio/alarm.ogg diff --git a/vfd-backend/public/images/instruments/altitude.svg b/vfd-backend/public/images/instruments/altitude.svg index 24146a1..2bfb306 100644 --- a/vfd-backend/public/images/instruments/altitude.svg +++ b/vfd-backend/public/images/instruments/altitude.svg @@ -26,7 +26,7 @@ inkscape:pageopacity="0.0" inkscape:pageshadow="0" inkscape:zoom="5.6568542" - inkscape:cx="68.511673" + inkscape:cx="68.865226" inkscape:cy="45.38396" inkscape:document-units="px" inkscape:current-layer="layer1" @@ -106,6 +106,17 @@ style="fill:#1a1a1a;fill-opacity:1;stroke:none" inkscape:connector-curvature="0" /> </g> + <text + xml:space="preserve" + style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#f2f2f2;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial" + x="-16.982601" + y="-14.119686" + id="altitude" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan3120" + x="-16.982601" + y="-14.119686">0000.00</tspan></text> <g id="dial"> <g diff --git a/vfd-backend/public/images/instruments/attitude.svg b/vfd-backend/public/images/instruments/attitude.svg index 7f0452c..09464d1 100644 --- a/vfd-backend/public/images/instruments/attitude.svg +++ b/vfd-backend/public/images/instruments/attitude.svg @@ -20,17 +20,17 @@ id="defs4"> <clipPath clipPathUnits="userSpaceOnUse" - id="clipPath3341"> + id="clipPath3999"> <path - sodipodi:type="arc" - style="fill:#00ff00;fill-opacity:1;stroke:none" - id="path3343" - sodipodi:cx="55" - sodipodi:cy="55" - sodipodi:rx="50" - sodipodi:ry="50" + transform="translate(-55,-55)" d="M 105,55 A 50,50 0 1 1 5,55 50,50 0 1 1 105,55 z" - transform="translate(-55,-55)" /> + sodipodi:ry="50" + sodipodi:rx="50" + sodipodi:cy="55" + sodipodi:cx="55" + id="path4002" + style="fill:#00ff00;fill-opacity:1;stroke:none" + sodipodi:type="arc" /> </clipPath> </defs> <sodipodi:namedview @@ -40,9 +40,9 @@ borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" - inkscape:zoom="5.6568542" - inkscape:cx="116.6015" - inkscape:cy="56.323079" + inkscape:zoom="2.8284271" + inkscape:cx="-34.071266" + inkscape:cy="22.322089" inkscape:document-units="px" inkscape:current-layer="layer1" showgrid="true" @@ -87,7 +87,7 @@ id="layer1"> <g id="roll" - clip-path="url(#clipPath3341)"> + clip-path="url(#clipPath3999)"> <g id="pitch"> <rect @@ -353,6 +353,37 @@ id="tspan3974" x="-21.544434" y="-28.301392">30</tspan></text> + <g + id="runway"> + <path + inkscape:transform-center-x="-25" + inkscape:transform-center-y="43.30127" + inkscape:connector-curvature="0" + id="path3046" + d="M 50,86.60254 0,0" + style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:0.16695975;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:0.16695975;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" + d="M 86.60254,50 0,0" + id="path3977" + inkscape:connector-curvature="0" + inkscape:transform-center-y="25" + inkscape:transform-center-x="-43.30127" /> + <path + inkscape:transform-center-x="25" + style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:0.16695975;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" + d="M -50,86.60254 1.2675457e-8,-4.7305491e-8" + id="path3979" + inkscape:connector-curvature="0" + inkscape:transform-center-y="43.30127" /> + <path + inkscape:transform-center-y="25" + inkscape:connector-curvature="0" + id="path3981" + d="M -86.60254,50 2.3652725e-8,-4.0967757e-8" + style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:0.16695975;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" + inkscape:transform-center-x="43.30127" /> + </g> </g> <path sodipodi:type="star" diff --git a/vfd-backend/public/images/leds/led.svg b/vfd-backend/public/images/leds/led.svg new file mode 100644 index 0000000..74cc4ff --- /dev/null +++ b/vfd-backend/public/images/leds/led.svg @@ -0,0 +1,293 @@ +<?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:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="64" + height="64" + id="svg2985" + version="1.1" + inkscape:version="0.48.5 r10040" + sodipodi:docname="led.svg" + viewBox="0 0 64 64"> + <defs + id="defs2987"> + <linearGradient + id="linearGradient3803" + inkscape:collect="always"> + <stop + id="stop3805" + offset="0" + style="stop-color:#cfcfcf;stop-opacity:0.51141554" /> + <stop + id="stop3807" + offset="1" + style="stop-color:#ffffff;stop-opacity:0.04109589" /> + </linearGradient> + <linearGradient + id="linearGradient3891"> + <stop + style="stop-color:#ffffff;stop-opacity:0.26940638" + offset="0" + id="stop3893" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.15525115" + offset="1" + id="stop3895" /> + </linearGradient> + <linearGradient + id="linearGradient3883"> + <stop + style="stop-color:#000000;stop-opacity:0.02283105" + offset="0" + id="stop3885" /> + <stop + style="stop-color:#000000;stop-opacity:1" + offset="1" + id="stop3887" /> + </linearGradient> + <linearGradient + id="linearGradient3849"> + <stop + id="stop3851" + offset="0" + style="stop-color:#00ac00;stop-opacity:1" /> + <stop + id="stop3853" + offset="1" + style="stop-color:#8cff00;stop-opacity:0;" /> + </linearGradient> + <linearGradient + id="linearGradient3807"> + <stop + style="stop-color:#000000;stop-opacity:0" + offset="0" + id="stop3809" /> + <stop + style="stop-color:#000000;stop-opacity:0.5" + offset="1" + id="stop3811" /> + </linearGradient> + <linearGradient + inkscape:collect="always" + id="linearGradient3787"> + <stop + style="stop-color:#b3b3b3;stop-opacity:1;" + offset="0" + id="stop3789" /> + <stop + style="stop-color:#cccccc;stop-opacity:1" + offset="1" + id="stop3791" /> + </linearGradient> + <linearGradient + inkscape:collect="always" + id="linearGradient3777"> + <stop + style="stop-color:#ffffff;stop-opacity:1" + offset="0" + id="stop3779" /> + <stop + style="stop-color:#b3b3b3;stop-opacity:1" + offset="1" + id="stop3781" /> + </linearGradient> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3777" + id="linearGradient3783" + x1="16.608555" + y1="18.651081" + x2="75.365089" + y2="69.463295" + gradientUnits="userSpaceOnUse" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient3787" + id="radialGradient3793" + cx="48.149883" + cy="41.854801" + fx="48.149883" + fy="41.854801" + r="27.765808" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.0026007,0.01478583,-0.01619592,1.0982174,0.55265642,-4.8228038)" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3891" + id="linearGradient3901" + x1="10.083722" + y1="34.833542" + x2="44.591557" + y2="14.1497" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.1088977,0,0,1.1088977,-3.2150185,-2.383994)" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient3807" + id="radialGradient3794" + gradientUnits="userSpaceOnUse" + cx="48.149883" + cy="41.854801" + fx="48.149883" + fy="41.854801" + r="27.765808" + gradientTransform="matrix(1.7287032,0,0,1.7287032,-35.086972,-30.499726)" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3803" + id="linearGradient3801" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.1088977,0,0,1.1088977,-3.2150185,-2.383994)" + x1="-11.46802" + y1="62.658627" + x2="53.882328" + y2="18.582912" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="13.34375" + inkscape:cx="25.462406" + inkscape:cy="33.437936" + inkscape:current-layer="svg2985" + showgrid="true" + inkscape:document-units="px" + inkscape:grid-bbox="true" + inkscape:window-width="1920" + inkscape:window-height="1029" + inkscape:window-x="0" + inkscape:window-y="27" + inkscape:window-maximized="1" /> + <metadata + id="metadata2990"> + <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 + id="layer1" + inkscape:label="background" + inkscape:groupmode="layer" + style="display:inline" + sodipodi:insensitive="true"> + <path + sodipodi:type="arc" + style="fill:#b3b3b3;fill-opacity:1;fill-rule:nonzero;stroke:none" + id="path2993" + sodipodi:cx="48.149883" + sodipodi:cy="41.854801" + sodipodi:rx="27.765808" + sodipodi:ry="27.765808" + d="m 75.915691,41.854801 a 27.765808,27.765808 0 1 1 -55.531616,0 27.765808,27.765808 0 1 1 55.531616,0 z" + transform="matrix(-1.1268556,0,0,1.1268556,86.070613,-15.351671)" /> + <path + transform="matrix(-1.0565207,0,0,1.0565207,82.725544,-12.366264)" + d="m 75.915691,41.854801 a 27.765808,27.765808 0 1 1 -55.531616,0 27.765808,27.765808 0 1 1 55.531616,0 z" + sodipodi:ry="27.765808" + sodipodi:rx="27.765808" + sodipodi:cy="41.854801" + sodipodi:cx="48.149883" + id="path3771" + style="fill:#808080;fill-opacity:1;fill-rule:nonzero;stroke:none" + sodipodi:type="arc" /> + <path + transform="matrix(-1.1268556,0,0,1.1268556,86.070613,-15.351671)" + d="m 75.915691,41.854801 a 27.765808,27.765808 0 1 1 -55.531616,0 27.765808,27.765808 0 1 1 55.531616,0 z" + sodipodi:ry="27.765808" + sodipodi:rx="27.765808" + sodipodi:cy="41.854801" + sodipodi:cx="48.149883" + id="path3785" + style="fill:url(#radialGradient3793);fill-opacity:1;fill-rule:nonzero;stroke:none" + sodipodi:type="arc" /> + <path + sodipodi:type="arc" + style="fill:#808080;fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient3783)" + id="path3775" + sodipodi:cx="48.149883" + sodipodi:cy="41.854801" + sodipodi:rx="27.765808" + sodipodi:ry="27.765808" + d="m 75.915691,41.854801 a 27.765808,27.765808 0 1 1 -55.531616,0 27.765808,27.765808 0 1 1 55.531616,0 z" + transform="matrix(-1.0565207,0,0,1.0565207,82.725544,-12.366264)" /> + <path + transform="matrix(-1.0445488,0,0,1.0445488,82.149098,-11.865182)" + d="m 75.915691,41.854801 a 27.765808,27.765808 0 1 1 -55.531616,0 27.765808,27.765808 0 1 1 55.531616,0 z" + sodipodi:ry="27.765808" + sodipodi:rx="27.765808" + sodipodi:cy="41.854801" + sodipodi:cx="48.149883" + id="path3795" + style="fill:#46ff00;fill-opacity:0;fill-rule:nonzero;stroke:none" + sodipodi:type="arc" /> + </g> + <g + inkscape:groupmode="layer" + id="layer2" + inkscape:label="color" + style="display:inline"> + <path + sodipodi:type="arc" + style="fill:#782121;fill-opacity:1;fill-rule:nonzero;stroke:none;display:inline" + id="light" + sodipodi:cx="48.149883" + sodipodi:cy="41.854801" + sodipodi:rx="27.765808" + sodipodi:ry="27.765808" + d="m 75.915691,41.854801 a 27.765808,27.765808 0 1 1 -55.531616,0 27.765808,27.765808 0 1 1 55.531616,0 z" + transform="matrix(-1.0445488,0,0,1.0445488,82.149098,-11.865182)"> + <animate + attributeType="XML" + attributeName="fill" + dur="2s" + repeatCount="indefinite" + id="animate40" + values="#782121, #ff0000, #782121" /> + </path> + </g> + <g + inkscape:groupmode="layer" + id="layer3" + inkscape:label="reflection" + style="display:inline" + sodipodi:insensitive="true"> + <path + transform="matrix(-1.0445488,0,0,1.0445488,82.149098,-11.865182)" + d="m 75.915691,41.854801 a 27.765808,27.765808 0 1 1 -55.531616,0 27.765808,27.765808 0 1 1 55.531616,0 z" + sodipodi:ry="27.765808" + sodipodi:rx="27.765808" + sodipodi:cy="41.854801" + sodipodi:cx="48.149883" + id="path3805" + style="fill:url(#radialGradient3794);fill-opacity:1;fill-rule:nonzero;stroke:none;display:inline" + sodipodi:type="arc" /> + <path + style="fill:url(#linearGradient3801);fill-opacity:1;fill-rule:nonzero;stroke:none;display:inline" + d="m 13.661019,17.992002 c -2.716552,0 -5.3380492,0.375822 -7.8315903,1.074244 -1.8971123,3.856752 -2.9801626,8.198554 -2.9801626,12.786977 0,16.017772 12.9868349,29.004607 29.0046069,29.004607 2.703688,0 5.313926,-0.382194 7.796937,-1.074245 1.910078,-3.867248 3.014816,-8.21652 3.014816,-12.82163 0,-16.017772 -12.986835,-28.969953 -29.004607,-28.969953 z" + id="path3815" + inkscape:connector-curvature="0" /> + <path + style="fill:url(#linearGradient3901);fill-opacity:1;fill-rule:nonzero;stroke:none;display:inline" + d="m 31.853873,2.8486171 c -4.086863,0 -7.978121,0.8657411 -11.504814,2.3910608 2.453382,-0.6830778 5.034928,-1.0742447 7.692978,-1.0742447 16.52263,0 29.905586,14.0815598 29.905586,31.4303198 0,5.007819 -1.133611,9.729358 -3.118775,13.930528 3.772658,-4.895422 6.029632,-11.014661 6.029632,-17.673058 0,-16.017771 -12.986835,-29.0046059 -29.004607,-29.0046059 z" + id="path3857" + inkscape:connector-curvature="0" /> + </g> +</svg> diff --git a/vfd-backend/public/stylesheets/main.css b/vfd-backend/public/stylesheets/main.css index 815d2b9..f335da8 100644 --- a/vfd-backend/public/stylesheets/main.css +++ b/vfd-backend/public/stylesheets/main.css @@ -3,6 +3,14 @@ src: url('../fonts/ds-digi.ttf') } +html { + height: 100%; +} + +body { + min-height: 100%; +} + body { background-color: #e6e6e6; } |