From e5ce7b9fb2dedb5f2071801305ab7ebad01f5829 Mon Sep 17 00:00:00 2001 From: billz Date: Tue, 2 Feb 2021 16:55:46 +0000 Subject: [PATCH] Add modal dialog to configure client --- app/js/custom.js | 3 +++ templates/configure_client.php | 20 +++++++++++++++++++- templates/wifi_stations.php | 6 +++--- 3 files changed, 25 insertions(+), 4 deletions(-) diff --git a/app/js/custom.js b/app/js/custom.js index 396d5555..7a885472 100644 --- a/app/js/custom.js +++ b/app/js/custom.js @@ -245,6 +245,9 @@ $('#hostapdModal').on('shown.bs.modal', function (e) { }, 1000); }); +$('#configureClientModal').on('shown.bs.modal', function (e) { +}); + /* Sets the wirelss channel select options based on hw_mode and country_code. diff --git a/templates/configure_client.php b/templates/configure_client.php index 90b0a071..21a23a75 100755 --- a/templates/configure_client.php +++ b/templates/configure_client.php @@ -1,4 +1,4 @@ -
+
@@ -34,3 +34,21 @@
+ + + + diff --git a/templates/wifi_stations.php b/templates/wifi_stations.php index 176050c4..2a6872cc 100755 --- a/templates/wifi_stations.php +++ b/templates/wifi_stations.php @@ -89,12 +89,12 @@
- " id="update" name="update" /> + " id="update" name="update" data-toggle="modal" data-target="#configureClientModal" /> - " id="update" name="update" /> + " id="update" name="update" data-toggle="modal" data-target="#configureClientModal" /> - " name="delete" /> + " name="delete" data-toggle="modal" data-target="#configureClientModal" />