Dark mode for Long-term Query Log and Lists

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2020-04-29 20:14:56 +02:00
parent 8468f129eb
commit b23afb4516
4 changed files with 46 additions and 28 deletions

View File

@@ -66,6 +66,8 @@ function escapeHtml(text) {
return map[m];
});
}
var blockedColor = $(".queries-blocked").css("background-color");
var permittedColor = $(".queries-permitted").css("background-color");
function updateTopClientsChart() {
$("#client-frequency .overlay").show();
@@ -154,7 +156,7 @@ function updateTopDomainsChart() {
percentage.toFixed(1) +
"% of " +
sum +
'"> <div class="progress-bar progress-bar-blue" style="width: ' +
'"> <div class="progress-bar queries-blocked" style="width: ' +
percentage +
'%"></div> </div> </td> </tr> '
);
@@ -201,7 +203,7 @@ function updateTopAdsChart() {
percentage.toFixed(1) +
"% of " +
sum +
'"> <div class="progress-bar progress-bar-blue" style="width: ' +
'"> <div class="progress-bar queries-permitted" style="width: ' +
percentage +
'%"></div> </div> </td> </tr> '
);