mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
Port dashboard landing page to v6.0 API
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -361,6 +361,7 @@ function colorBar(percentage, total, cssClass) {
|
||||
}
|
||||
|
||||
function checkMessages() {
|
||||
return;
|
||||
var ignoreNonfatal = localStorage
|
||||
? localStorage.getItem("hideNonfatalDnsmasqWarnings_chkbox") === "true"
|
||||
: false;
|
||||
@@ -411,7 +412,7 @@ function changeBulkDeleteStates(table) {
|
||||
function doLogout() {
|
||||
$.ajax({
|
||||
url: "/api/auth",
|
||||
method: "DELETE"
|
||||
method: "DELETE",
|
||||
}).always(function (data) {
|
||||
if (data.status === 410) location.reload();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user