Update login view

This commit is contained in:
soruly 2022-06-20 05:02:30 +00:00
parent 518697d616
commit 287f46b976
No known key found for this signature in database
GPG Key ID: EF971E90F3D2521F
4 changed files with 20 additions and 4 deletions

View File

@ -39,6 +39,6 @@ const base64ToArrayBuffer = (str) => Uint8Array.from(atob(str), (c) => c.charCod
});
if (res.status === 204) window.location.reload();
} catch (e) {
document.body.innerText = e;
alert(e);
}
})();

View File

@ -36,6 +36,6 @@ const base64ToArrayBuffer = (str) => Uint8Array.from(atob(str), (c) => c.charCod
});
if (res.status === 204) window.location.href = "/";
} catch (e) {
document.body.innerText = e;
alert(e);
}
})();

View File

@ -11,11 +11,19 @@
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<title>Authenticator</title>
<meta name="theme-color" content="#8787e7" />
<title>ソ瑠璃パス</title>
<link rel="manifest" href="/manifest.json" />
<link rel="icon" type="image/png" href="/favicon.png" />
<link rel="apple-touch-icon" href="/favicon.png" />
<link rel="stylesheet" href="/style.css" />
<div class="counter"></div>
<div class="nav">
<div class="title">ソ瑠璃パス</div>
<span class="add material-icons">add</span>
</div>
<script src="/login.js" defer></script>
</html>

View File

@ -11,11 +11,19 @@
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<title>Authenticator</title>
<meta name="theme-color" content="#8787e7" />
<title>ソ瑠璃パス</title>
<link rel="manifest" href="/manifest.json" />
<link rel="icon" type="image/png" href="/favicon.png" />
<link rel="apple-touch-icon" href="/favicon.png" />
<link rel="stylesheet" href="/style.css" />
<div class="counter"></div>
<div class="nav">
<div class="title">ソ瑠璃パス</div>
<span class="add material-icons">add</span>
</div>
<script src="/register.js" defer></script>
</html>