From dfb93c343bb4fe365c4c18cc1d59d7d471ee5838 Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sun, 16 Jun 2019 21:59:12 +0530 Subject: [PATCH] minor ui changes done --- DnsServerCore/www/index.html | 14 ++++---------- DnsServerCore/www/js/dhcp.js | 12 ++++++------ 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/DnsServerCore/www/index.html b/DnsServerCore/www/index.html index e86c3d0e..b12fc9a2 100644 --- a/DnsServerCore/www/index.html +++ b/DnsServerCore/www/index.html @@ -1223,11 +1223,8 @@ Name - Starting Address - Ending Address - Subnet Mask - Network - Broadcast + Scope Range/Subnet Mask + Network/Broadcast Interface @@ -1235,11 +1232,8 @@ Default - 192.168.10.1 - 192.168.10.100 - 255.255.255.0 - 192.168.10.0 - 192.168.10.255 + 192.168.10.1 - 192.168.10.100 + 192.168.10.0
192.168.10.255 192.168.10.1 Edit Delete diff --git a/DnsServerCore/www/js/dhcp.js b/DnsServerCore/www/js/dhcp.js index 3dae0bed..8d85f42f 100644 --- a/DnsServerCore/www/js/dhcp.js +++ b/DnsServerCore/www/js/dhcp.js @@ -71,21 +71,21 @@ function refreshDhcpScopes() { var tableHtmlRows; if (dhcpScopes.length < 1) { - tableHtmlRows = "No Scope Found"; + tableHtmlRows = "No Scope Found"; } else { tableHtmlRows = ""; for (var i = 0; i < dhcpScopes.length; i++) { - tableHtmlRows += "" + htmlEncode(dhcpScopes[i].name) + "" + dhcpScopes[i].startingAddress + "" + dhcpScopes[i].endingAddress + "" + dhcpScopes[i].subnetMask + "" + dhcpScopes[i].networkAddress + "" + dhcpScopes[i].broadcastAddress + "" + (dhcpScopes[i].interfaceAddress == null ? "" : dhcpScopes[i].interfaceAddress) + ""; - tableHtmlRows += ""; + tableHtmlRows += "" + htmlEncode(dhcpScopes[i].name) + "" + dhcpScopes[i].startingAddress + " - " + dhcpScopes[i].endingAddress + "
" + dhcpScopes[i].subnetMask + "" + dhcpScopes[i].networkAddress + "
" + dhcpScopes[i].broadcastAddress + "" + (dhcpScopes[i].interfaceAddress == null ? "" : dhcpScopes[i].interfaceAddress) + ""; + tableHtmlRows += ""; if (dhcpScopes[i].enabled) - tableHtmlRows += ""; + tableHtmlRows += ""; else - tableHtmlRows += ""; + tableHtmlRows += ""; - tableHtmlRows += ""; + tableHtmlRows += ""; } }