diff --git a/templates/index.html b/templates/index.html index 1653ebf..0481b8b 100644 --- a/templates/index.html +++ b/templates/index.html @@ -202,7 +202,7 @@ }) .catch(error => { console.error('Error:', error); - Swal.fire('Oops!', 'Something went wrong. The port might already be in use.', 'error'); + Swal.fire('Oops!', 'Something went wrong.', 'error'); }); } }); @@ -398,7 +398,7 @@ }) .catch(error => { console.error('Error:', error); - Swal.fire('Oops!', 'Something went wrong. The port might already be in use.', 'error'); + Swal.fire('Oops!', 'Something went wrong.', 'error'); }); } }); @@ -594,7 +594,7 @@ }) .catch(error => { console.error('Error:', error); - Swal.fire('Oops!', 'Something went wrong. The port might already be in use.', 'error'); + Swal.fire('Oops!', 'Something went wrong.', 'error'); }); } }); @@ -682,75 +682,212 @@

-
+

Configure LoRaWAN Gateways

-

- The 'Configure LoRaWAN Gateway' section allows you to set up to ten Dragino LPS8N LoRaWAN gateways. -

- -
-
- - +
+

+ The Configure LoRaWAN Gateway section allows you to set up to ten Dragino LPS8N LoRaWAN gateways. +

+ +

Empty values will be ignored, and the Gateway IP address will remain unchanged

+
+
+
+ +
+ + + + + }); + + // Initial status check + this.checkAllGateways(); + } + } + + // Initialize the gateway manager + document.addEventListener('DOMContentLoaded', () => { + new GatewayManager(); + }); + - - +