ari.lt/page/reset/index.html
Ari Archer a326846854 Improve the wedditor and generic css
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-09-30 17:45:29 +03:00

102 lines
3.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, 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" />
<link rel="stylesheet" href="/content/styles/noscript/index.css" />
<style>
*, *::before, *::after {
scroll-behavior: smooth !important;
}
.title {
text-align: center;
margin: 1em;
}
.buttons * {
color: white;
padding: 1em;
font-size: 1.4em;
}
.buttons {
text-align: center;
}
</style>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
/**
* @licstart The following is the entire license notice for the JavaScript
* code in this page.
*
* Copyright (C) 2022 Ari Archer
*
* The JavaScript code in this page is free software: you can redistribute
* it and/or modify it under the terms of the GNU General Public License
* (GNU GPL) as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version. The code is
* distributed WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU GPL
* for more details.
*
* As additional permission under GNU GPL version 3 section 7, you may
* distribute non-source (e.g., minimized or compacted) forms of that code
* without the copy of the GNU GPL normally required by section 4, provided
* you include this license notice and a URL through which recipients can
* access the Corresponding Source.
*
* @licend The above is the entire license notice for the JavaScript code
* in this page.
*/
//--><!]]>
</script>
<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>
</head>
<body>
<h1 class="title">
Do you want to reset your account?
<noscript>
<span ns
>(No JS enabled, will not work, although if this is just a
trust thing, <a href="/git">see the source code</a>)</span
>
</noscript>
</h1>
<div class="buttons">
<button onclick="reset();">Yes</button>
<button onclick="window.location = '/';">No</button>
</div>
</body>
</html>