2024-03-12 18:34:05 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<title>Login - Burgernotes</title>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
|
|
|
<link rel="stylesheet" type="text/css" href="../static/css/style.css" />
|
|
|
|
<script src="../static/js/hash-wasm.js"></script>
|
|
|
|
<style>
|
|
|
|
body {
|
|
|
|
background-color: #d9d9d9;
|
|
|
|
background-image: url("/static/svg/grid.svg");
|
|
|
|
background-repeat: repeat;
|
|
|
|
background-size: 312px;
|
|
|
|
}
|
|
|
|
.inoutdiv {
|
|
|
|
border-radius: 8px;
|
|
|
|
}
|
|
|
|
</style>
|
2024-03-12 18:49:14 +00:00
|
|
|
<script>
|
|
|
|
if (origin !== "null") {
|
|
|
|
// Get the current URL
|
|
|
|
var currentUrl = window.location.href;
|
|
|
|
|
|
|
|
// Remove '/index.html' from the current URL
|
|
|
|
var newUrl = currentUrl.replace('/index.html', '');
|
|
|
|
|
|
|
|
// Redirect to the new URL
|
|
|
|
window.location.href = newUrl;
|
|
|
|
}
|
|
|
|
</script>
|
2024-03-12 18:34:05 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div class="inoutdiv">
|
|
|
|
<h2 class="w300">Login</h2>
|
|
|
|
<p id="statusBox"></p>
|
|
|
|
<span id="inputNameBox" style="margin-right: 10px;color: var(--text-color);"></span>
|
|
|
|
<input id="usernameBox" class="hidden" type="text" placeholder="Enter your username">
|
|
|
|
<input id="passwordBox" class="hidden" type="password" placeholder="Enter your password">
|
|
|
|
<button id="signupButton">Next</button>
|
|
|
|
<button id="backButton" class="hidden">Back</button>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<p>Don't have an account? If so, <a href="../signup/index.html">Create one here!</a></p>
|
|
|
|
<div style="display: flex;"><p id="homeserver">Your homeserver is loading... </p><div style="display: flex;flex-direction: column;justify-content: center;"><a href="/homeserver">Change</a></div></div>
|
|
|
|
<a href="../privacy/index.html">Privacy & Terms</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script type="text/javascript" src="../static/js/login.js"></script>
|
|
|
|
</body>
|