diff --git a/html/controller/index.html b/html/controller/index.html index f985b1c..9496b24 100644 --- a/html/controller/index.html +++ b/html/controller/index.html @@ -1,93 +1,22 @@ - - - - - - - - blah2 - - - + - - -
-
- -
-
-
-
-
- - diff --git a/html/display/detection/delay-doppler/index.html b/html/display/detection/delay-doppler/index.html index 8e322f3..a1ba619 100644 --- a/html/display/detection/delay-doppler/index.html +++ b/html/display/detection/delay-doppler/index.html @@ -1,106 +1,29 @@ - - - - - - - - blah2 - - - - - -
-
-
-
- - - - diff --git a/html/display/detection/delay/index.html b/html/display/detection/delay/index.html index 496dc3b..18536d0 100644 --- a/html/display/detection/delay/index.html +++ b/html/display/detection/delay/index.html @@ -1,106 +1,29 @@ - - - - - - - - blah2 - - - - - -
-
-
-
- - - - diff --git a/html/display/detection/doppler/index.html b/html/display/detection/doppler/index.html index c03c32a..a2d0fb7 100644 --- a/html/display/detection/doppler/index.html +++ b/html/display/detection/doppler/index.html @@ -1,106 +1,29 @@ - - - - - - - - blah2 - - - - - -
-
-
-
- - - - diff --git a/html/display/map/index.html b/html/display/map/index.html index 38a36f6..99ac529 100644 --- a/html/display/map/index.html +++ b/html/display/map/index.html @@ -1,109 +1,26 @@ - - - - - - - - blah2 - - - - - -
-
-
-
- - - diff --git a/html/display/maxhold/index.html b/html/display/maxhold/index.html index 5024290..fa42161 100644 --- a/html/display/maxhold/index.html +++ b/html/display/maxhold/index.html @@ -1,109 +1,26 @@ - - - - - - - - blah2 - - - - - -
-
-
-
- - - diff --git a/html/display/spectrum/index.html b/html/display/spectrum/index.html index 19a3f42..0c0191b 100644 --- a/html/display/spectrum/index.html +++ b/html/display/spectrum/index.html @@ -1,108 +1,25 @@ - - - - - - - - blah2 - - - - - -
-
-
-
- - diff --git a/html/display/timing/index.html b/html/display/timing/index.html index 1f84911..c332809 100644 --- a/html/display/timing/index.html +++ b/html/display/timing/index.html @@ -1,104 +1,27 @@ - - - - - - - - blah2 - - - - - -
-
-
-
- - - - diff --git a/html/index.html b/html/index.html index cbf75c1..e15a579 100644 --- a/html/index.html +++ b/html/index.html @@ -1,95 +1,22 @@ - - - - - - - - blah2 - - - + - - - -
- +
- - - - - + +
+

+

+
+
-
-
- - - diff --git a/html/js/plot_map.js b/html/js/plot_map.js index a6781c1..110ffe5 100644 --- a/html/js/plot_map.js +++ b/html/js/plot_map.js @@ -8,15 +8,20 @@ var range_y = []; // setup API var urlTimestamp = ''; if (isLocalHost) { - urlTimestamp = '//' + host + ':3000/api/timestamp?timestamp=' + Date.now(); + urlTimestamp = '//' + host + ':3000/api/timestamp?timestamp='; } else { - urlTimestamp = '//' + host + '/api/timestamp?timestamp=' + Date.now(); + urlTimestamp = '//' + host + '/api/timestamp?timestamp='; } var urlDetection = ''; if (isLocalHost) { - urlDetection = '//' + host + ':3000/api/detection?timestamp=' + Date.now(); + urlDetection = '//' + host + ':3000/api/detection'; } else { - urlDetection = '//' + host + '/api/detection?timestamp=' + Date.now(); + urlDetection = '//' + host + '/api/detection'; +} +if (isLocalHost) { + urlMap = '//' + host + ':3000' + urlMap; +} else { + urlMap = '//' + host + urlMap; } // setup plotly diff --git a/html/js/plot_spectrum.js b/html/js/plot_spectrum.js index ba12426..729a53f 100644 --- a/html/js/plot_spectrum.js +++ b/html/js/plot_spectrum.js @@ -8,9 +8,14 @@ var range_y = []; // setup API var urlTimestamp = ''; if (isLocalHost) { - urlTimestamp = '//' + host + ':3000/api/timestamp?timestamp=' + Date.now(); + urlTimestamp = '//' + host + ':3000/api/timestamp'; } else { - urlTimestamp = '//' + host + '/api/timestamp?timestamp=' + Date.now(); + urlTimestamp = '//' + host + '/api/timestamp'; +} +if (isLocalHost) { + urlMap = '//' + host + ':3000' + '/stash/iqdata'; +} else { + urlMap = '//' + host + '/stash/iqdata'; } // setup plotly diff --git a/html/lib/blah2.css b/html/lib/blah2.css new file mode 100644 index 0000000..8539358 --- /dev/null +++ b/html/lib/blah2.css @@ -0,0 +1,37 @@ +.menu { + font-family: 'Helvetica', sans-serif !important; + font-size: 1.5rem; + font-weight: bold; +} +.title { + font-family: 'Helvetica', sans-serif !important; + font-size: 1.5rem; + font-weight: bold; + text-decoration: underline; +} +.label { + font-family: 'Helvetica', sans-serif !important; + font-size: 1rem; +} +@media (min-width: 768px) { + .menu { + font-family: 'Helvetica', sans-serif !important; + font-size: 2rem; + } + .title { + font-family: 'Helvetica', sans-serif !important; + font-size: 2.5rem; + font-weight: bold; + text-decoration: underline; + } + .label { + font-family: 'Helvetica', sans-serif !important; + font-size: 1.5rem; + } +} +.navbar-nav { + flex-wrap: wrap; +} +div.plotly-notifier { + visibility: hidden; +} \ No newline at end of file