diff --git a/static/admin.js b/static/admin.js index 80d2059..7195bb5 100644 --- a/static/admin.js +++ b/static/admin.js @@ -135,7 +135,7 @@ async function doLogin() { if (adminUsrInput && adminPassInput) { adminToken = await getAdminToken(adminUsrInput.value, adminPassInput.value); if (adminToken) { - adminWrapper.style.display="block"; + adminWrapper.style.display="inline"; getTables(); adminZone.style.display = "block"; } else { @@ -144,13 +144,6 @@ async function doLogin() { } } -function showAdminModal(show) { - const modal = document.getElementById("admin_modal") - if (modal) { - modal.style.display = show ? "block" : "none"; - } -} - async function getAdminToken(user, pass) { const headers = new Headers(); headers.set('Authorization', 'Basic ' + btoa(user + ":" + pass)); diff --git a/static/index.html b/static/index.html index 7a1e829..c8daece 100644 --- a/static/index.html +++ b/static/index.html @@ -7,23 +7,25 @@
+ -