2025-01-20 10:34:39 +00:00
|
|
|
{{define "head"}}
|
|
|
|
<title>Register - ari melody 💫</title>
|
|
|
|
<link rel="shortcut icon" href="/img/favicon.png" type="image/x-icon">
|
2025-01-21 01:01:33 +00:00
|
|
|
<link rel="stylesheet" href="/admin/static/admin.css">
|
2025-01-20 10:34:39 +00:00
|
|
|
<style>
|
|
|
|
p a {
|
|
|
|
color: #2a67c8;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.discord {
|
|
|
|
color: #5865F2;
|
|
|
|
}
|
|
|
|
|
2025-01-23 12:09:33 +00:00
|
|
|
form#register {
|
2025-01-20 10:34:39 +00:00
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
form div {
|
|
|
|
width: 20rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
form button {
|
|
|
|
margin-top: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
2025-01-23 13:53:06 +00:00
|
|
|
width: calc(100% - 1rem - 2px);
|
2025-01-20 10:34:39 +00:00
|
|
|
}
|
|
|
|
</style>
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
{{define "content"}}
|
|
|
|
<main>
|
2025-01-23 00:37:19 +00:00
|
|
|
{{if .Session.Error.Valid}}
|
|
|
|
<p id="error">{{html .Session.Error.String}}</p>
|
2025-01-20 10:34:39 +00:00
|
|
|
{{end}}
|
|
|
|
|
2025-01-23 12:09:33 +00:00
|
|
|
<form action="/admin/register" method="POST" id="register">
|
2025-01-23 13:53:06 +00:00
|
|
|
<h1>Create Account</h1>
|
|
|
|
|
2025-01-20 10:34:39 +00:00
|
|
|
<div>
|
|
|
|
<label for="username">Username</label>
|
2025-01-23 13:53:06 +00:00
|
|
|
<input type="text" name="username" value="" autocomplete="username" required autofocus>
|
2025-01-20 10:34:39 +00:00
|
|
|
|
|
|
|
<label for="email">Email</label>
|
2025-01-23 00:37:19 +00:00
|
|
|
<input type="text" name="email" value="" autocomplete="email" required>
|
2025-01-20 10:34:39 +00:00
|
|
|
|
|
|
|
<label for="password">Password</label>
|
2025-01-23 00:37:19 +00:00
|
|
|
<input type="password" name="password" value="" autocomplete="new-password" required>
|
2025-01-20 10:34:39 +00:00
|
|
|
|
|
|
|
<label for="invite">Invite Code</label>
|
2025-01-23 00:37:19 +00:00
|
|
|
<input type="text" name="invite" value="" autocomplete="off" required>
|
2025-01-20 10:34:39 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<button type="submit" class="new">Create Account</button>
|
|
|
|
</form>
|
|
|
|
</main>
|
|
|
|
{{end}}
|