mirror of
https://github.com/skinnyrad/Lora-Scanner.git
synced 2026-08-10 18:42:47 +02:00
Chore: Making JS/CSS scripts local to the project
This commit is contained in:
@@ -87,7 +87,8 @@ def parse_and_store_data():
|
|||||||
# Include the port number (8000) in your gateway URLs
|
# Include the port number (8000) in your gateway URLs
|
||||||
gateway_urls = [
|
gateway_urls = [
|
||||||
"http://192.168.0.101:8000/cgi-bin/log-traffic.has", # Gateway 1 (915 MHz)
|
"http://192.168.0.101:8000/cgi-bin/log-traffic.has", # Gateway 1 (915 MHz)
|
||||||
"http://192.168.0.102:8000/cgi-bin/log-traffic.has" # Gateway 2 (868 MHz)
|
"http://192.168.0.102:8000/cgi-bin/log-traffic.has", # Gateway 2 (868 MHz)
|
||||||
|
"http://192.168.0.103:8000/cgi-bin/log-traffic.has" # Gateway 3 (915 MHz)
|
||||||
]
|
]
|
||||||
|
|
||||||
headers = {
|
headers = {
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Vendored
+7
File diff suppressed because one or more lines are too long
Vendored
+2
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -5,22 +5,21 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||||
<meta name="description" content="" />
|
<meta name="description" content="" />
|
||||||
<meta name="author" content="" />
|
<meta name="author" content="" />
|
||||||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.1.2/socket.io.js"></script>
|
<script type="text/javascript" src="static/js/socket.io.js"></script>
|
||||||
<title>LoRa Scanner</title>
|
<title>LoRa Scanner</title>
|
||||||
<link rel="icon" type="image/x-icon" href="assets/img/favicon.ico" />
|
<link rel="icon" type="image/x-icon" href="assets/img/favicon.ico" />
|
||||||
<!-- Font Awesome icons (free version)-->
|
<!-- Font Awesome icons (free version)-->
|
||||||
<script src="https://use.fontawesome.com/releases/v6.3.0/js/all.js" crossorigin="anonymous"></script>
|
<script src="static/js/all.js" crossorigin="anonymous"></script>
|
||||||
<!-- Google fonts-->
|
<!-- Google fonts-->
|
||||||
<link href="https://fonts.googleapis.com/css?family=Saira+Extra+Condensed:500,700" rel="stylesheet" type="text/css" />
|
|
||||||
<link href="https://fonts.googleapis.com/css?family=Muli:400,400i,800,800i" rel="stylesheet" type="text/css" />
|
|
||||||
<!-- Core theme CSS (includes Bootstrap)-->
|
<!-- Core theme CSS (includes Bootstrap)-->
|
||||||
<link href="static/css/styles.css" rel="stylesheet" />
|
<link href="static/css/styles.css" rel="stylesheet" />
|
||||||
<!-- Include SweetAlert2 CSS -->
|
<!-- Include SweetAlert2 CSS -->
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@10">
|
<link rel="stylesheet" href="static/css/sweetalert2.css">
|
||||||
|
|
||||||
<!-- Include SweetAlert2 JS -->
|
<!-- Include SweetAlert2 JS -->
|
||||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>
|
<script src="static/js/sweetalert2.js"></script>
|
||||||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
<script src="static/js/jquery.min.js"></script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body id="page-top">
|
<body id="page-top">
|
||||||
@@ -637,7 +636,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- Bootstrap core JS-->
|
<!-- Bootstrap core JS-->
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
|
<script src="static/js/bootstrap.bundle.min.js"></script>
|
||||||
<!-- Core theme JS-->
|
<!-- Core theme JS-->
|
||||||
<script src="static/js/scripts.js"></script>
|
<script src="static/js/scripts.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -5,21 +5,20 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||||
<meta name="description" content="" />
|
<meta name="description" content="" />
|
||||||
<meta name="author" content="" />
|
<meta name="author" content="" />
|
||||||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.1.2/socket.io.js"></script>
|
<script type="text/javascript" src="static/js/socket.io.js"></script>
|
||||||
<title>LoRa Scanner</title>
|
<title>LoRa Scanner</title>
|
||||||
<link rel="icon" type="image/x-icon" href="assets/img/favicon.ico" />
|
<link rel="icon" type="image/x-icon" href="assets/img/favicon.ico" />
|
||||||
<!-- Font Awesome icons (free version)-->
|
<!-- Font Awesome icons (free version)-->
|
||||||
<script src="https://use.fontawesome.com/releases/v6.3.0/js/all.js" crossorigin="anonymous"></script>
|
<script src="static/js/all.js" crossorigin="anonymous"></script>
|
||||||
<!-- Google fonts-->
|
<!-- Google fonts-->
|
||||||
<link href="https://fonts.googleapis.com/css?family=Saira+Extra+Condensed:500,700" rel="stylesheet" type="text/css" />
|
|
||||||
<link href="https://fonts.googleapis.com/css?family=Muli:400,400i,800,800i" rel="stylesheet" type="text/css" />
|
|
||||||
<!-- Core theme CSS (includes Bootstrap)-->
|
<!-- Core theme CSS (includes Bootstrap)-->
|
||||||
<link href="static/css/styles.css" rel="stylesheet" />
|
<link href="static/css/styles.css" rel="stylesheet" />
|
||||||
<!-- Include SweetAlert2 CSS -->
|
<!-- Include SweetAlert2 CSS -->
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@10">
|
<link rel="stylesheet" href="static/css/sweetalert2.css">
|
||||||
|
|
||||||
<!-- Include SweetAlert2 JS -->
|
<!-- Include SweetAlert2 JS -->
|
||||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>
|
<script src="static/js/sweetalert2.js"></script>
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
@@ -63,7 +62,7 @@
|
|||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
<!-- Bootstrap core JS-->
|
<!-- Bootstrap core JS-->
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
|
<script src="static/js/bootstrap.bundle.min.js"></script>
|
||||||
<!-- Core theme JS-->
|
<!-- Core theme JS-->
|
||||||
<script src="static/js/scripts.js"></script>
|
<script src="static/js/scripts.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -5,22 +5,21 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||||
<meta name="description" content="" />
|
<meta name="description" content="" />
|
||||||
<meta name="author" content="" />
|
<meta name="author" content="" />
|
||||||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.1.2/socket.io.js"></script>
|
<script type="text/javascript" src="static/js/socket.io.js"></script>
|
||||||
<title>LoRa Scanner</title>
|
<title>LoRa Scanner</title>
|
||||||
<link rel="icon" type="image/x-icon" href="assets/img/favicon.ico" />
|
<link rel="icon" type="image/x-icon" href="assets/img/favicon.ico" />
|
||||||
<!-- Font Awesome icons (free version)-->
|
<!-- Font Awesome icons (free version)-->
|
||||||
<script src="https://use.fontawesome.com/releases/v6.3.0/js/all.js" crossorigin="anonymous"></script>
|
<script src="static/js/all.js" crossorigin="anonymous"></script>
|
||||||
<!-- Google fonts-->
|
<!-- Google fonts-->
|
||||||
<link href="https://fonts.googleapis.com/css?family=Saira+Extra+Condensed:500,700" rel="stylesheet" type="text/css" />
|
|
||||||
<link href="https://fonts.googleapis.com/css?family=Muli:400,400i,800,800i" rel="stylesheet" type="text/css" />
|
|
||||||
<!-- Core theme CSS (includes Bootstrap)-->
|
<!-- Core theme CSS (includes Bootstrap)-->
|
||||||
<link href="static/css/styles.css" rel="stylesheet" />
|
<link href="static/css/styles.css" rel="stylesheet" />
|
||||||
<!-- Include SweetAlert2 CSS -->
|
<!-- Include SweetAlert2 CSS -->
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@10">
|
<link rel="stylesheet" href="static/css/sweetalert2.css">
|
||||||
|
|
||||||
<!-- Include SweetAlert2 JS -->
|
<!-- Include SweetAlert2 JS -->
|
||||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>
|
<script src="static/js/sweetalert2.js"></script>
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
<script src="static/js/jquery.min.js"></script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body id="page-top">
|
<body id="page-top">
|
||||||
|
|||||||
@@ -5,22 +5,21 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||||
<meta name="description" content="" />
|
<meta name="description" content="" />
|
||||||
<meta name="author" content="" />
|
<meta name="author" content="" />
|
||||||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.1.2/socket.io.js"></script>
|
<script type="text/javascript" src="static/js/socket.io.js"></script>
|
||||||
<title>LoRa Scanner</title>
|
<title>LoRa Scanner</title>
|
||||||
<link rel="icon" type="image/x-icon" href="assets/img/favicon.ico" />
|
<link rel="icon" type="image/x-icon" href="assets/img/favicon.ico" />
|
||||||
<!-- Font Awesome icons (free version)-->
|
<!-- Font Awesome icons (free version)-->
|
||||||
<script src="https://use.fontawesome.com/releases/v6.3.0/js/all.js" crossorigin="anonymous"></script>
|
<script src="static/js/all.js" crossorigin="anonymous"></script>
|
||||||
<!-- Google fonts-->
|
<!-- Google fonts-->
|
||||||
<link href="https://fonts.googleapis.com/css?family=Saira+Extra+Condensed:500,700" rel="stylesheet" type="text/css" />
|
|
||||||
<link href="https://fonts.googleapis.com/css?family=Muli:400,400i,800,800i" rel="stylesheet" type="text/css" />
|
|
||||||
<!-- Core theme CSS (includes Bootstrap)-->
|
<!-- Core theme CSS (includes Bootstrap)-->
|
||||||
<link href="static/css/styles.css" rel="stylesheet" />
|
<link href="static/css/styles.css" rel="stylesheet" />
|
||||||
<!-- Include SweetAlert2 CSS -->
|
<!-- Include SweetAlert2 CSS -->
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@10">
|
<link rel="stylesheet" href="static/css/sweetalert2.css">
|
||||||
|
|
||||||
<!-- Include SweetAlert2 JS -->
|
<!-- Include SweetAlert2 JS -->
|
||||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>
|
<script src="static/js/sweetalert2.js"></script>
|
||||||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
<script src="static/js/jquery.min.js"></script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body id="page-top">
|
<body id="page-top">
|
||||||
@@ -946,7 +945,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- Bootstrap core JS-->
|
<!-- Bootstrap core JS-->
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
|
<script src="static/js/bootstrap.bundle.min.js"></script>
|
||||||
<!-- Core theme JS-->
|
<!-- Core theme JS-->
|
||||||
<script src="static/js/scripts.js"></script>
|
<script src="static/js/scripts.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user