minor ui changes done

This commit is contained in:
Shreyas Zare
2019-06-22 15:39:38 +05:30
parent 8e0f06f227
commit 932b6f9703

View File

@@ -75,7 +75,6 @@ function showPageMain(username) {
refreshCachedZonesList();
refreshAllowedZonesList();
refreshBlockedZonesList();
refreshDhcpLeases();
checkForUpdate();
refreshTimerHandle = setInterval(function () {
@@ -940,7 +939,7 @@ function refreshDashboard(hideLoader) {
tableHtmlRows = "";
for (var i = 0; i < topClients.length; i++) {
tableHtmlRows += "<tr><td>" + htmlEncode(topClients[i].name) + "</td><td>" + topClients[i].hits + "</td></tr>";
tableHtmlRows += "<tr><td>" + htmlEncode(topClients[i].name) + "<br />" + htmlEncode(topClients[i].domain) + "</td><td>" + topClients[i].hits + "</td></tr>";
}
}
@@ -989,6 +988,11 @@ function refreshDashboard(hideLoader) {
divDashboardLoader.hide();
divDashboard.show();
}
if ($("#divTopClients").height() > 330)
$("#divTopQueryType").height($("#divTopClients").height());
else
$("#divTopQueryType").height("330px");
},
invalidToken: function () {
showPageLogin();