ari.lt/page/reset/index.html
Ari Archer b6c51622ea Switch licensing order, fix keywords
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-08-10 00:01:17 +03:00

61 lines
1.8 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, account"
/>
<meta
name="robots"
content="follow, index, max-snippet:-1, max-video-preview:-1, max-image-preview:large"
/>
<link rel="stylesheet" href="/content/styles/generic/main.min.css" />
</head>
<body>
<style>
.title {
text-align: center;
margin: 1em;
}
.buttons * {
color: white;
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>