From 22e8d8f319ad564240bb91a6a58016425a518298 Mon Sep 17 00:00:00 2001 From: KingKone Date: Tue, 14 May 2019 16:17:24 +0200 Subject: [PATCH] 0.2 --- index.css | 134 ++++++++- index.html | 262 ++++++++++++++---- main.js | 8 +- node_modules/.bin/download-github-release | 18 +- node_modules/.bin/download-github-release.cmd | 7 - node_modules/.bin/extract-zip | 31 ++- node_modules/.bin/extract-zip.cmd | 7 - node_modules/.bin/mime | 19 +- node_modules/.bin/mime.cmd | 7 - node_modules/.bin/mkdirp | 48 +++- node_modules/.bin/mkdirp.cmd | 7 - node_modules/ansi-regex/package.json | 2 +- node_modules/aproba/package.json | 2 +- node_modules/asynckit/package.json | 2 +- node_modules/buffer-from/package.json | 2 +- node_modules/code-point-at/package.json | 2 +- .../combined-stream/lib/combined_stream.js | 23 +- node_modules/combined-stream/lib/defer.js | 26 -- node_modules/combined-stream/package.json | 12 +- node_modules/combined-stream/yarn.lock | 17 ++ node_modules/commander/package.json | 2 +- node_modules/component-emitter/package.json | 2 +- node_modules/concat-stream/package.json | 2 +- .../console-control-strings/package.json | 2 +- node_modules/cookiejar/package.json | 2 +- node_modules/core-util-is/package.json | 2 +- node_modules/debug/package.json | 2 +- node_modules/delayed-stream/package.json | 2 +- .../lib/downloadRelease.js | 54 ++-- .../download-github-release/package.json | 2 +- node_modules/extend/package.json | 2 +- node_modules/extract-zip/package.json | 2 +- node_modules/fd-slicer/package.json | 2 +- node_modules/form-data/package.json | 2 +- node_modules/formidable/package.json | 2 +- node_modules/gauge/package.json | 2 +- node_modules/has-unicode/package.json | 2 +- node_modules/inherits/package.json | 2 +- .../is-fullwidth-code-point/package.json | 2 +- node_modules/isarray/package.json | 2 +- node_modules/methods/package.json | 2 +- node_modules/mime-db/package.json | 2 +- node_modules/mime-types/package.json | 2 +- node_modules/mime/package.json | 2 +- node_modules/minimist/package.json | 2 +- node_modules/mkdirp/package.json | 2 +- node_modules/ms/package.json | 2 +- node_modules/multi-progress/package.json | 2 +- node_modules/number-is-nan/package.json | 2 +- node_modules/object-assign/package.json | 2 +- node_modules/pend/package.json | 2 +- .../process-nextick-args/package.json | 2 +- node_modules/progress/package.json | 2 +- node_modules/qs/package.json | 2 +- node_modules/readable-stream/package.json | 2 +- node_modules/safe-buffer/package.json | 2 +- node_modules/signal-exit/package.json | 2 +- node_modules/string-width/package.json | 2 +- node_modules/string_decoder/package.json | 2 +- node_modules/strip-ansi/package.json | 2 +- .../node_modules/debug/package.json | 2 +- .../superagent/node_modules/ms/package.json | 2 +- node_modules/superagent/package.json | 2 +- node_modules/typedarray/package.json | 2 +- node_modules/util-deprecate/package.json | 2 +- node_modules/wide-align/package.json | 2 +- node_modules/yauzl/package.json | 2 +- package-lock.json | 24 +- package.json | 4 +- radar.ico | Bin 0 -> 161862 bytes 70 files changed, 560 insertions(+), 250 deletions(-) delete mode 100644 node_modules/.bin/download-github-release.cmd delete mode 100644 node_modules/.bin/extract-zip.cmd delete mode 100644 node_modules/.bin/mime.cmd delete mode 100644 node_modules/.bin/mkdirp.cmd delete mode 100644 node_modules/combined-stream/lib/defer.js create mode 100644 node_modules/combined-stream/yarn.lock create mode 100644 radar.ico diff --git a/index.css b/index.css index 64af0f8..52d2426 100644 --- a/index.css +++ b/index.css @@ -1,15 +1,141 @@ body { background-color: #1E1E1F; - font-family: monospace; - color: white; + font-family:sans-serif; + color: #eaeaea; + user-select: none; } button { - background-color: #701616; + background-color: #1879a0; border: none; - color: white; + color: #eaeaea; padding: 15px 32px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; + +} +a { + color: #1879a0; +} +.next { + bottom:20px; + right:20px; + position:absolute; +} +.nextfin { + bottom:20px; + right:20px; + position:absolute; + display: none; +} +#ui { + position:absolute; + height: 92%; + width: 90%; + padding: 20px; +} + +#welcome { + +} + +#moduletype { + display: none; +} +#nomodule { + display: none; +} +#serial { + display: none; +} +#version { + display: none; +} +#checkversion { + display: none; +} +#status { + display: none; +} +#showoutput { + font-size: .9em; + text-decoration: underline; + color: #1879a0; +} +#output { + display: none; + width: 535px; + height: 380px; + overflow: auto; + user-select: all; +} +#releasenotes { + width: 535px; + height: 380px; + overflow:auto; + user-select: text; +} +.meter { + height: 20px; /* Can be anything */ + position: relative; + background: #353535; + -moz-border-radius: 2px; + -webkit-border-radius: 2px; + border-radius: 2px; + padding: 2px; + box-shadow: inset 0 -1px 1px rgba(255,255,255,0.3); +} + +.meter > span { + display: block; + height: 100%; + border-top-right-radius: 2px; + border-bottom-right-radius: 2px; + border-top-left-radius: 2px; + border-bottom-left-radius: 2px; + background-color: #1879a0; + background-image: linear-gradient( + center bottom, + #0f516b 37%, + #1879a0 69% + ); + box-shadow: + inset 0 2px 9px rgba(255,255,255,0.3), + inset 0 -2px 6px rgba(0,0,0,0.4); + position: relative; + overflow: hidden; +} + +.sigContain { + background:transparent; + overflow:hidden; + width:100%; height:100vh; +} +.sigContain, .signal { + overflow: hidden; + position: absolute; + top: 0; bottom: 0; left: 0; right: 0; +} +.signal { + border:2px solid #009fdb; + border-radius:300px; + top:200px; width:400px; height:400px; + left:calc(50% - 200px); + margin:0; + opacity:0; + position:absolute; + z-index: -1; +} +.s1 {animation: pulsate 8s ease-out 0s infinite; } +.s2 {animation: pulsate 8s ease-out 2s infinite;} +.s3 {animation: pulsate 8s ease-out 4s infinite;} +.s4 {animation: pulsate 8s ease-out 6s infinite;} + +@keyframes pulsate { + 0% { transform:scale(0.1); opacity: 0.0;} + 20% { opacity:0.2;} + 50% { opacity:0.4;} + 80% { opacity:0.1;} + 100% { transform:scale(5); opacity:0;} } diff --git a/index.html b/index.html index d3b90da..97a8a6a 100644 --- a/index.html +++ b/index.html @@ -1,103 +1,271 @@ - INAV-Radar Installer v0.1 + INAV-Radar Installer v0.2 -
-
- This installer flashes the last INAV-Radar release from Github.
- Please connect a ESP32-LoRa module and
- choose the version you want to flash:
- - - -
+
+
+
+
+
-