Cleanup all HTML files to remove junk

This commit is contained in:
30hours 2023-12-17 06:16:36 +00:00
parent 7940511b46
commit 25d0b6d1b7
12 changed files with 65 additions and 737 deletions

View file

@ -1,93 +1,22 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<title>blah2</title> <title>blah2</title>
<!-- load lib js --> <!-- load lib js -->
<script src="../lib/bootstrap-5.2.3.min.js"></script> <script src="../lib/bootstrap-5.2.3.min.js"></script>
<script src="../lib/plotly-2.20.0.min.js"></script> <script src="../lib/plotly-2.20.0.min.js"></script>
<script src="../lib/jquery-3.6.4.min.js"></script> <script src="../lib/jquery-3.6.4.min.js"></script>
<!-- load lib css --> <!-- load lib css -->
<link rel="stylesheet" href="../lib/bootstrap-5.2.3.min.css"> <link rel="stylesheet" href="../lib/bootstrap-5.2.3.min.css">
<link rel="stylesheet" href="../lib/blah2.css">
<style> <style>
h1 {
font-family: 'Helvetica', sans-serif !important;
font-weight: bold;
font-size: 3.5rem !important;
}
.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) {
h1 {
font-family: 'Helvetica', sans-serif !important;
font-weight: bold;
font-size: 5rem !important;
}
.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: 2rem;
}
}
.navbar-nav {
flex-wrap: wrap;
}
div.plotly-notifier {
visibility: hidden;
}
</style> </style>
</head> </head>
<body style="background-color:#f78c58;"> <body style="background-color:#f78c58;">
<div class="container-fluid"> <div class="container-fluid">
<div class="row align-items-center d-flex"> <div class="row align-items-center d-flex">
<nav class="navbar navbar-light navbar-expand text-center pb-5"> <nav class="navbar navbar-light navbar-expand text-center pb-5">
<!-- Links --> <!-- Links -->
<ul class="navbar-nav mx-auto justify-content-center"> <ul class="navbar-nav mx-auto justify-content-center">
@ -99,7 +28,6 @@
</li> </li>
</ul> </ul>
</nav> </nav>
<div class="col-sm-12 col-md-12"> <div class="col-sm-12 col-md-12">
<ul class="list-unstyled text-center label"> <ul class="list-unstyled text-center label">
<li class="py-1 title">Display</li> <li class="py-1 title">Display</li>
@ -112,7 +40,6 @@
<li class="py-1"><a class="text-reset text-decoration-none" href="/display/timing">Timing display</a></li> <li class="py-1"><a class="text-reset text-decoration-none" href="/display/timing">Timing display</a></li>
</ul> </ul>
</div> </div>
<div class="col-sm-12 col-md-12"> <div class="col-sm-12 col-md-12">
<ul class="list-unstyled text-center label"> <ul class="list-unstyled text-center label">
<li class="py-1 title">API</li> <li class="py-1 title">API</li>
@ -123,7 +50,6 @@
<li class="py-1"><a class="text-reset text-decoration-none" href="/api/timestamp">Latest timestamp</a></li> <li class="py-1"><a class="text-reset text-decoration-none" href="/api/timestamp">Latest timestamp</a></li>
</ul> </ul>
</div> </div>
<div class="col-sm-12 col-md-12"> <div class="col-sm-12 col-md-12">
<ul class="list-unstyled text-center label"> <ul class="list-unstyled text-center label">
<li class="py-1 title">Stash</li> <li class="py-1 title">Stash</li>
@ -133,20 +59,14 @@
<li class="py-1"><a class="text-reset text-decoration-none" href="/stash/timing">Timing data</a></li> <li class="py-1"><a class="text-reset text-decoration-none" href="/stash/timing">Timing data</a></li>
</ul> </ul>
</div> </div>
</div> </div>
</div> </div>
</body> </body>
<script> <script>
window.onload = function() { window.onload = function() {
var host = window.location.hostname; var host = window.location.hostname;
var isLocalHost = (host === "localhost" || host === "127.0.0.1" || host === "192.168.0.112"); var isLocalHost = (host === "localhost" || host === "127.0.0.1" || host === "192.168.0.112");
var anchors = document.getElementsByTagName("a"); var anchors = document.getElementsByTagName("a");
if (isLocalHost) { if (isLocalHost) {
for (var i = 0; i < anchors.length; i++) { for (var i = 0; i < anchors.length; i++) {
if (anchors[i].href.includes('/api/') || anchors[i].href.includes('/stash/')) { if (anchors[i].href.includes('/api/') || anchors[i].href.includes('/stash/')) {
@ -158,5 +78,4 @@
} }
} }
</script> </script>
</html> </html>

View file

@ -1,106 +1,29 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<title>blah2</title> <title>blah2</title>
<!-- load lib js --> <!-- load lib js -->
<script src="../../../lib/bootstrap-5.2.3.min.js"></script> <script src="../../../lib/bootstrap-5.2.3.min.js"></script>
<script src="../../../lib/plotly-2.20.0.min.js"></script> <script src="../../../lib/plotly-2.20.0.min.js"></script>
<script src="../../../lib/jquery-3.6.4.min.js"></script> <script src="../../../lib/jquery-3.6.4.min.js"></script>
<!-- load lib css --> <!-- load lib css -->
<link rel="stylesheet" href="../../../lib/bootstrap-5.2.3.min.css"> <link rel="stylesheet" href="../../../lib/bootstrap-5.2.3.min.css">
<style> <style>
h1 {
font-family: 'Helvetica', sans-serif !important;
font-weight: bold;
font-size: 3.5rem !important;
}
.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) {
h1 {
font-family: 'Helvetica', sans-serif !important;
font-weight: bold;
font-size: 5rem !important;
}
.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: 2rem;
}
}
.navbar-nav {
flex-wrap: wrap;
}
div.plotly-notifier {
visibility: hidden;
}
</style> </style>
</head> </head>
<body style="background-color:#f78c58;"> <body style="background-color:#f78c58;">
<div style="height: 100vh; width: 95vw" class="container-fluid"> <div style="height: 100vh; width: 95vw" class="container-fluid">
<div style="height: 100vh; width: 95vw" class="row d-flex"> <div style="height: 100vh; width: 95vw" class="row d-flex">
<div class="justify-content-center" id="data"></div> <div class="justify-content-center" id="data"></div>
</div> </div>
</body> </body>
<script> <script>
xTitle = "Bistatic Range (km)"; xTitle = "Bistatic Range (km)";
yTitle = "Bistatic Doppler (Hz)"; yTitle = "Bistatic Doppler (Hz)";
xVariable = "delay"; xVariable = "delay";
yVariable = "doppler"; yVariable = "doppler";
</script> </script>
<script src="../../../js/plot_detection.js"></script> <script src="../../../js/plot_detection.js"></script>
</html> </html>

View file

@ -1,106 +1,29 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<title>blah2</title> <title>blah2</title>
<!-- load lib js --> <!-- load lib js -->
<script src="../../../lib/bootstrap-5.2.3.min.js"></script> <script src="../../../lib/bootstrap-5.2.3.min.js"></script>
<script src="../../../lib/plotly-2.20.0.min.js"></script> <script src="../../../lib/plotly-2.20.0.min.js"></script>
<script src="../../../lib/jquery-3.6.4.min.js"></script> <script src="../../../lib/jquery-3.6.4.min.js"></script>
<!-- load lib css --> <!-- load lib css -->
<link rel="stylesheet" href="../../../lib/bootstrap-5.2.3.min.css"> <link rel="stylesheet" href="../../../lib/bootstrap-5.2.3.min.css">
<style> <style>
h1 {
font-family: 'Helvetica', sans-serif !important;
font-weight: bold;
font-size: 3.5rem !important;
}
.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) {
h1 {
font-family: 'Helvetica', sans-serif !important;
font-weight: bold;
font-size: 5rem !important;
}
.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: 2rem;
}
}
.navbar-nav {
flex-wrap: wrap;
}
div.plotly-notifier {
visibility: hidden;
}
</style> </style>
</head> </head>
<body style="background-color:#f78c58;"> <body style="background-color:#f78c58;">
<div style="height: 100vh; width: 95vw" class="container-fluid"> <div style="height: 100vh; width: 95vw" class="container-fluid">
<div style="height: 100vh; width: 95vw" class="row d-flex"> <div style="height: 100vh; width: 95vw" class="row d-flex">
<div class="justify-content-center" id="data"></div> <div class="justify-content-center" id="data"></div>
</div> </div>
</body> </body>
<script> <script>
xTitle = "Timestamp"; xTitle = "Timestamp";
yTitle = "Bistatic Range (km)"; yTitle = "Bistatic Range (km)";
xVariable = "timestamp"; xVariable = "timestamp";
yVariable = "delay"; yVariable = "delay";
</script> </script>
<script src="../../../js/plot_detection.js"></script> <script src="../../../js/plot_detection.js"></script>
</html> </html>

View file

@ -1,106 +1,29 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<title>blah2</title> <title>blah2</title>
<!-- load lib js --> <!-- load lib js -->
<script src="../../../lib/bootstrap-5.2.3.min.js"></script> <script src="../../../lib/bootstrap-5.2.3.min.js"></script>
<script src="../../../lib/plotly-2.20.0.min.js"></script> <script src="../../../lib/plotly-2.20.0.min.js"></script>
<script src="../../../lib/jquery-3.6.4.min.js"></script> <script src="../../../lib/jquery-3.6.4.min.js"></script>
<!-- load lib css --> <!-- load lib css -->
<link rel="stylesheet" href="../../../lib/bootstrap-5.2.3.min.css"> <link rel="stylesheet" href="../../../lib/bootstrap-5.2.3.min.css">
<style> <style>
h1 {
font-family: 'Helvetica', sans-serif !important;
font-weight: bold;
font-size: 3.5rem !important;
}
.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) {
h1 {
font-family: 'Helvetica', sans-serif !important;
font-weight: bold;
font-size: 5rem !important;
}
.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: 2rem;
}
}
.navbar-nav {
flex-wrap: wrap;
}
div.plotly-notifier {
visibility: hidden;
}
</style> </style>
</head> </head>
<body style="background-color:#f78c58;"> <body style="background-color:#f78c58;">
<div style="height: 100vh; width: 95vw" class="container-fluid"> <div style="height: 100vh; width: 95vw" class="container-fluid">
<div style="height: 100vh; width: 95vw" class="row d-flex"> <div style="height: 100vh; width: 95vw" class="row d-flex">
<div class="justify-content-center" id="data"></div> <div class="justify-content-center" id="data"></div>
</div> </div>
</body> </body>
<script> <script>
xTitle = "Timestamp"; xTitle = "Timestamp";
yTitle = "Bistatic Doppler (Hz)"; yTitle = "Bistatic Doppler (Hz)";
xVariable = "timestamp"; xVariable = "timestamp";
yVariable = "doppler"; yVariable = "doppler";
</script> </script>
<script src="../../../js/plot_detection.js"></script> <script src="../../../js/plot_detection.js"></script>
</html> </html>

View file

@ -1,109 +1,26 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<title>blah2</title> <title>blah2</title>
<!-- load lib js --> <!-- load lib js -->
<script src="../../lib/bootstrap-5.2.3.min.js"></script> <script src="../../lib/bootstrap-5.2.3.min.js"></script>
<script src="../../lib/plotly-2.20.0.min.js"></script> <script src="../../lib/plotly-2.20.0.min.js"></script>
<script src="../../lib/jquery-3.6.4.min.js"></script> <script src="../../lib/jquery-3.6.4.min.js"></script>
<!-- load lib css --> <!-- load lib css -->
<link rel="stylesheet" href="../../lib/bootstrap-5.2.3.min.css"> <link rel="stylesheet" href="../../lib/bootstrap-5.2.3.min.css">
<style> <style>
h1 {
font-family: 'Helvetica', sans-serif !important;
font-weight: bold;
font-size: 3.5rem !important;
}
.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) {
h1 {
font-family: 'Helvetica', sans-serif !important;
font-weight: bold;
font-size: 5rem !important;
}
.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: 2rem;
}
}
.navbar-nav {
flex-wrap: wrap;
}
div.plotly-notifier {
visibility: hidden;
}
</style> </style>
</head> </head>
<body style="background-color:#f78c58;"> <body style="background-color:#f78c58;">
<div style="height: 100vh; width: 95vw" class="container-fluid"> <div style="height: 100vh; width: 95vw" class="container-fluid">
<div style="height: 100vh; width: 95vw" class="row d-flex"> <div style="height: 100vh; width: 95vw" class="row d-flex">
<div class="justify-content-center" id="data"></div> <div class="justify-content-center" id="data"></div>
</div> </div>
</body> </body>
<script> <script>
var host = window.location.hostname; var urlMap = '/api/map';
var isLocalHost = (host === "localhost" || host === "127.0.0.1" || host === "192.168.0.112");
var urlMap = ''
if (isLocalHost) {
urlMap = '//' + host + ':3000/api/map?timestamp=' + Date.now();
} else {
urlMap = '//' + host + '/api/map?timestamp=' + Date.now();
}
</script> </script>
<script src="../../js/plot_map.js"></script> <script src="../../js/plot_map.js"></script>
</html> </html>

View file

@ -1,109 +1,26 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<title>blah2</title> <title>blah2</title>
<!-- load lib js --> <!-- load lib js -->
<script src="../../lib/bootstrap-5.2.3.min.js"></script> <script src="../../lib/bootstrap-5.2.3.min.js"></script>
<script src="../../lib/plotly-2.20.0.min.js"></script> <script src="../../lib/plotly-2.20.0.min.js"></script>
<script src="../../lib/jquery-3.6.4.min.js"></script> <script src="../../lib/jquery-3.6.4.min.js"></script>
<!-- load lib css --> <!-- load lib css -->
<link rel="stylesheet" href="../../lib/bootstrap-5.2.3.min.css"> <link rel="stylesheet" href="../../lib/bootstrap-5.2.3.min.css">
<style> <style>
h1 {
font-family: 'Helvetica', sans-serif !important;
font-weight: bold;
font-size: 3.5rem !important;
}
.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) {
h1 {
font-family: 'Helvetica', sans-serif !important;
font-weight: bold;
font-size: 5rem !important;
}
.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: 2rem;
}
}
.navbar-nav {
flex-wrap: wrap;
}
div.plotly-notifier {
visibility: hidden;
}
</style> </style>
</head> </head>
<body style="background-color:#f78c58;"> <body style="background-color:#f78c58;">
<div style="height: 100vh; width: 95vw" class="container-fluid"> <div style="height: 100vh; width: 95vw" class="container-fluid">
<div style="height: 100vh; width: 95vw" class="row d-flex"> <div style="height: 100vh; width: 95vw" class="row d-flex">
<div class="justify-content-center" id="data"></div> <div class="justify-content-center" id="data"></div>
</div> </div>
</body> </body>
<script> <script>
var host = window.location.hostname; var urlMap = '/stash/map';
var isLocalHost = (host === "localhost" || host === "127.0.0.1" || host === "192.168.0.112");
var urlMap = ''
if (isLocalHost) {
urlMap = '//' + host + ':3000/stash/map?timestamp=' + Date.now();
} else {
urlMap = '//' + host + '/stash/map?timestamp=' + Date.now();
}
</script> </script>
<script src="../../js/plot_map.js"></script> <script src="../../js/plot_map.js"></script>
</html> </html>

View file

@ -1,108 +1,25 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<title>blah2</title> <title>blah2</title>
<!-- load lib js --> <!-- load lib js -->
<script src="../../lib/bootstrap-5.2.3.min.js"></script> <script src="../../lib/bootstrap-5.2.3.min.js"></script>
<script src="../../lib/plotly-2.20.0.min.js"></script> <script src="../../lib/plotly-2.20.0.min.js"></script>
<script src="../../lib/jquery-3.6.4.min.js"></script> <script src="../../lib/jquery-3.6.4.min.js"></script>
<!-- load lib css --> <!-- load lib css -->
<link rel="stylesheet" href="../../lib/bootstrap-5.2.3.min.css"> <link rel="stylesheet" href="../../lib/bootstrap-5.2.3.min.css">
<style> <style>
h1 {
font-family: 'Helvetica', sans-serif !important;
font-weight: bold;
font-size: 3.5rem !important;
}
.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) {
h1 {
font-family: 'Helvetica', sans-serif !important;
font-weight: bold;
font-size: 5rem !important;
}
.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: 2rem;
}
}
.navbar-nav {
flex-wrap: wrap;
}
div.plotly-notifier {
visibility: hidden;
}
</style> </style>
</head> </head>
<body style="background-color:#f78c58;"> <body style="background-color:#f78c58;">
<div style="height: 100vh; width: 95vw" class="container-fluid"> <div style="height: 100vh; width: 95vw" class="container-fluid">
<div style="height: 100vh; width: 95vw" class="row d-flex"> <div style="height: 100vh; width: 95vw" class="row d-flex">
<div class="justify-content-center" id="data"></div> <div class="justify-content-center" id="data"></div>
</div> </div>
</body> </body>
<script> <script>
var host = window.location.hostname;
var isLocalHost = (host === "localhost" || host === "127.0.0.1" || host === "192.168.0.112");
var urlMap = ''
if (isLocalHost) {
urlMap = '//' + host + ':3000/stash/iqdata?timestamp=' + Date.now();
} else {
urlMap = '//' + host + '/stash/iqdata?timestamp=' + Date.now();
}
</script> </script>
<script src="../../js/plot_spectrum.js"></script> <script src="../../js/plot_spectrum.js"></script>

View file

@ -1,104 +1,27 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<title>blah2</title> <title>blah2</title>
<!-- load lib js --> <!-- load lib js -->
<script src="../../lib/bootstrap-5.2.3.min.js"></script> <script src="../../lib/bootstrap-5.2.3.min.js"></script>
<script src="../../lib/plotly-2.20.0.min.js"></script> <script src="../../lib/plotly-2.20.0.min.js"></script>
<script src="../../lib/jquery-3.6.4.min.js"></script> <script src="../../lib/jquery-3.6.4.min.js"></script>
<!-- load lib css --> <!-- load lib css -->
<link rel="stylesheet" href="../../lib/bootstrap-5.2.3.min.css"> <link rel="stylesheet" href="../../lib/bootstrap-5.2.3.min.css">
<style> <style>
h1 {
font-family: 'Helvetica', sans-serif !important;
font-weight: bold;
font-size: 3.5rem !important;
}
.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) {
h1 {
font-family: 'Helvetica', sans-serif !important;
font-weight: bold;
font-size: 5rem !important;
}
.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: 2rem;
}
}
.navbar-nav {
flex-wrap: wrap;
}
div.plotly-notifier {
visibility: hidden;
}
</style> </style>
</head> </head>
<body style="background-color:#f78c58;"> <body style="background-color:#f78c58;">
<div style="height: 100vh; width: 95vw" class="container-fluid"> <div style="height: 100vh; width: 95vw" class="container-fluid">
<div style="height: 100vh; width: 95vw" class="row d-flex"> <div style="height: 100vh; width: 95vw" class="row d-flex">
<div class="justify-content-center" id="data"></div> <div class="justify-content-center" id="data"></div>
</div> </div>
</body> </body>
<script> <script>
xTitle = "Timestamp"; xTitle = "Timestamp";
yTitle = "Time (ms)"; yTitle = "Time (ms)";
</script> </script>
<script src="../../js/plot_timing.js"></script> <script src="../../js/plot_timing.js"></script>
</html> </html>

View file

@ -1,95 +1,22 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<title>blah2</title> <title>blah2</title>
<!-- load lib js --> <!-- load lib js -->
<script src="./lib/bootstrap-5.2.3.min.js"></script> <script src="./lib/bootstrap-5.2.3.min.js"></script>
<script src="./lib/plotly-2.20.0.min.js"></script> <script src="./lib/plotly-2.20.0.min.js"></script>
<script src="./lib/jquery-3.6.4.min.js"></script> <script src="./lib/jquery-3.6.4.min.js"></script>
<!-- load lib css --> <!-- load lib css -->
<link rel="stylesheet" href="./lib/bootstrap-5.2.3.min.css"> <link rel="stylesheet" href="./lib/bootstrap-5.2.3.min.css">
<link rel="stylesheet" href="./lib/blah2.css">
<style> <style>
h1 {
font-family: 'Helvetica', sans-serif !important;
font-weight: bold;
font-size: 3.5rem !important;
}
.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) {
h1 {
font-family: 'Helvetica', sans-serif !important;
font-weight: bold;
font-size: 5rem !important;
}
.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: 2rem;
}
}
.navbar-nav {
flex-wrap: wrap;
}
div.plotly-notifier {
visibility: hidden;
}
</style> </style>
</head> </head>
<body style="background-color:#f78c58;"> <body style="background-color:#f78c58;">
<div style="width: 95vw" class="container-fluid">
<div style="height: 100vh; width: 95vw" class="container-fluid">
<div class="row align-items-center d-flex"> <div class="row align-items-center d-flex">
<nav class="navbar navbar-light navbar-expand text-center pb-3"> <nav class="navbar navbar-light navbar-expand text-center pb-3">
<ul class="navbar-nav mx-auto justify-content-center"> <ul class="navbar-nav mx-auto justify-content-center">
<li class="nav-item px-3 px-md-4"> <li class="nav-item px-3 px-md-4">
@ -100,28 +27,20 @@
</li> </li>
</ul> </ul>
</nav> </nav>
<!-- notifications if radar RF is down -->
<div class="center">
<p>
<center>
<center>
</div>
<div style="height: 90vh; width: 95vw" class="row d-flex"> <div style="height: 90vh; width: 95vw" class="row d-flex">
<div class="justify-content-center" id="data"></div> <div class="justify-content-center" id="data"></div>
</div> </div>
</div> </div>
</body> </body>
<script> <script>
var host = window.location.hostname; var urlMap = '/api/map';
var isLocalHost = (host === "localhost" || host === "127.0.0.1" || host === "192.168.0.112");
var urlMap = ''
if (isLocalHost) {
urlMap = '//' + host + ':3000/api/map?timestamp=' + Date.now();
} else {
urlMap = '//' + host + '/api/map?timestamp=' + Date.now();
}
</script> </script>
<script src="js/plot_map.js"></script> <script src="js/plot_map.js"></script>
<script src="control.js"></script> <script src="control.js"></script>
</html> </html>

View file

@ -8,15 +8,20 @@ var range_y = [];
// setup API // setup API
var urlTimestamp = ''; var urlTimestamp = '';
if (isLocalHost) { if (isLocalHost) {
urlTimestamp = '//' + host + ':3000/api/timestamp?timestamp=' + Date.now(); urlTimestamp = '//' + host + ':3000/api/timestamp?timestamp=';
} else { } else {
urlTimestamp = '//' + host + '/api/timestamp?timestamp=' + Date.now(); urlTimestamp = '//' + host + '/api/timestamp?timestamp=';
} }
var urlDetection = ''; var urlDetection = '';
if (isLocalHost) { if (isLocalHost) {
urlDetection = '//' + host + ':3000/api/detection?timestamp=' + Date.now(); urlDetection = '//' + host + ':3000/api/detection';
} else { } else {
urlDetection = '//' + host + '/api/detection?timestamp=' + Date.now(); urlDetection = '//' + host + '/api/detection';
}
if (isLocalHost) {
urlMap = '//' + host + ':3000' + urlMap;
} else {
urlMap = '//' + host + urlMap;
} }
// setup plotly // setup plotly

View file

@ -8,9 +8,14 @@ var range_y = [];
// setup API // setup API
var urlTimestamp = ''; var urlTimestamp = '';
if (isLocalHost) { if (isLocalHost) {
urlTimestamp = '//' + host + ':3000/api/timestamp?timestamp=' + Date.now(); urlTimestamp = '//' + host + ':3000/api/timestamp';
} else { } 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 // setup plotly

37
html/lib/blah2.css Normal file
View file

@ -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;
}