ari.lt/page/reset/index.html
Ari Archer bc1bd23403 update @ Fri 18 Mar 18:10:30 EET 2022
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-03-18 18:10:30 +02:00

57 lines
1.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Ari::web -&gt; Reset</title>
<meta property="og:type" content="website" />
<meta name="color-scheme" content="dark" />
<meta name="description" content="My personal website" />
<meta
name="keywords"
content="website webdev linux programming ari terminal dark"
/>
<meta name="robots" content="follow" />
<link rel="stylesheet" href="/content/styles/generic/main.css" />
</head>
<body>
<style>
.title {
text-align: center;
margin: 1em;
}
.buttons * {
color: black;
padding: 1em;
font-size: 1.4em;
}
.buttons {
text-align: center;
}
</style>
<script>
function reset() {
if (
confirm("Are you sure that you want to reset your account?")
) {
window.localStorage.clear();
alert("Your accout has been reset");
window.location = "/";
}
}
</script>
<h1 class="title">Do you want to reset your account?</h1>
<div class="buttons">
<button onclick="reset();">Yes</button>
<button onclick="window.location = '/';">No</button>
</div>
</body>
</html>