-
-
-
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