From adb43703ed756113f9520d5a476c3e5256ddf45f Mon Sep 17 00:00:00 2001 From: johnnyq Date: Sat, 28 Feb 2026 18:41:03 -0500 Subject: [PATCH] Update Networks, remove subnet mask in favor of CIDR, Global View show clients in first column, allow for IPv6 and provide IPv6 placeholder examples, gateway no longer required reword DHCP Range to IP Range moved DNS to the end, chnaged out some icons --- agent/modals/network/network_add.php | 81 ++++++++---------- agent/modals/network/network_edit.php | 114 +++++++++++-------------- agent/networks.php | 118 +++++++++++++------------- agent/post/network.php | 8 +- agent/post/network_model.php | 1 - 5 files changed, 147 insertions(+), 175 deletions(-) diff --git a/agent/modals/network/network_add.php b/agent/modals/network/network_add.php index 7e4ff615..493306ed 100644 --- a/agent/modals/network/network_add.php +++ b/agent/modals/network/network_add.php @@ -39,7 +39,7 @@ ob_start();
- +
@@ -56,7 +56,7 @@ ob_start(); while ($row = mysqli_fetch_assoc($sql)) { $client_id_select = intval($row['client_id']); $client_name = nullable_htmlentities($row['client_name']); ?> - + @@ -65,26 +65,6 @@ ob_start(); -
- -
-
- -
- -
-
- -
- -
-
- -
- -
-
-
@@ -111,56 +91,65 @@ ob_start();
+
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
- +
- +
- +
- +
- +
- +
- +
- +
- +
- -
-
- -
- -
-
- -
- +
@@ -171,9 +160,9 @@ ob_start();
- +
- +
@@ -181,9 +170,9 @@ ob_start();
- +
- +
diff --git a/agent/modals/network/network_edit.php b/agent/modals/network/network_edit.php index 7d45ec45..6774f784 100644 --- a/agent/modals/network/network_edit.php +++ b/agent/modals/network/network_edit.php @@ -11,7 +11,6 @@ $network_name = nullable_htmlentities($row['network_name']); $network_description = nullable_htmlentities($row['network_description']); $network_vlan = intval($row['network_vlan']); $network = nullable_htmlentities($row['network']); -$network_subnet = nullable_htmlentities($row['network_subnet']); $network_gateway = nullable_htmlentities($row['network_gateway']); $network_primary_dns = nullable_htmlentities($row['network_primary_dns']); $network_secondary_dns = nullable_htmlentities($row['network_secondary_dns']); @@ -20,33 +19,32 @@ $network_notes = nullable_htmlentities($row['network_notes']); $network_location_id = intval($row['network_location_id']); $client_id = intval($row['network_client_id']); -// Generate the HTML form content using output buffering. ob_start(); ?>
- - + +