Port dashboard landing page to v6.0 API

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2023-01-31 20:41:12 +01:00
parent 4cf7a82713
commit 4eb9a4cf29
11 changed files with 481 additions and 569 deletions

View File

@@ -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();
});