diff --git a/public/assets/css/glass.css b/public/assets/css/glass.css index 467e23a..2ff2d0c 100644 --- a/public/assets/css/glass.css +++ b/public/assets/css/glass.css @@ -1,3 +1,13 @@ .info-box .content .text { margin-top: 5px !important; +} + +@media all and (max-width: 1400px) and (min-width: 1000px){ + .hide_col { + display: none; + width: 0; + height: 0; + opacity: 0; + visibility: collapse; + } } \ No newline at end of file diff --git a/public/templates/display_subnets.html b/public/templates/display_subnets.html index 6a34822..34a3ce0 100644 --- a/public/templates/display_subnets.html +++ b/public/templates/display_subnets.html @@ -13,8 +13,8 @@ Subnet Location IP Range Used - Size - Free + Size + Free Utilization diff --git a/public/templates/shared_networks.html b/public/templates/shared_networks.html index 4f362dd..a33fa4e 100644 --- a/public/templates/shared_networks.html +++ b/public/templates/shared_networks.html @@ -11,9 +11,9 @@ Location - Used - Size - Free + Used + Size + Free Utilization diff --git a/routes/get_stats.js b/routes/get_stats.js index bf75d86..81226a8 100644 --- a/routes/get_stats.js +++ b/routes/get_stats.js @@ -34,8 +34,8 @@ router.get('/', function(req, res, next) { table_row = ''; table_row = table_row + '' + dhcp_data['shared-networks'][i].location + ''; table_row = table_row + '' + dhcp_data['shared-networks'][i].used.toLocaleString('en') + ' (' + utilization + '%)'; - table_row = table_row + '' + dhcp_data['shared-networks'][i].defined.toLocaleString('en') + ''; - table_row = table_row + '' + dhcp_data['shared-networks'][i].free.toLocaleString('en') + ''; + table_row = table_row + '' + dhcp_data['shared-networks'][i].defined.toLocaleString('en') + ''; + table_row = table_row + '' + dhcp_data['shared-networks'][i].free.toLocaleString('en') + ''; utilization_color = 'green'; @@ -73,8 +73,8 @@ router.get('/', function(req, res, next) { table_row = table_row + '' + dhcp_data.subnets[i].location + ''; table_row = table_row + '' + dhcp_data.subnets[i].range + ''; table_row = table_row + '' + dhcp_data.subnets[i].used.toLocaleString('en') + ' (' + utilization + '%)'; - table_row = table_row + '' + dhcp_data.subnets[i].defined.toLocaleString('en') + ''; - table_row = table_row + '' + dhcp_data.subnets[i].free.toLocaleString('en') + ''; + table_row = table_row + '' + dhcp_data.subnets[i].defined.toLocaleString('en') + ''; + table_row = table_row + '' + dhcp_data.subnets[i].free.toLocaleString('en') + ''; utilization_color = 'green';