mirror of
https://git.ari.lt/ari.lt/ari.lt.git
synced 2025-02-04 17:49:24 +01:00
50 lines
1.3 KiB
HTML
50 lines
1.3 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 -> Reset</title>
|
|
|
|
<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>
|