67 lines
2.7 KiB
Plaintext
67 lines
2.7 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title data-text="title">Asteroid Radio - Register</title>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="icon" type="image/x-icon" href="/asteroid/static/favicon.ico">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/asteroid/static/favicon-32x32.png">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/asteroid/static/favicon-16x16.png">
|
|
<link rel="stylesheet" type="text/css" href="/asteroid/static/asteroid.css">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<header>
|
|
<h1 style="display: flex; align-items: center; justify-content: center; gap: 15px;">
|
|
<img src="/asteroid/static/asteroid.png" alt="Asteroid" style="height: 50px; width: auto;">
|
|
<span>ASTEROID RADIO - REGISTER</span>
|
|
</h1>
|
|
<nav class="nav">
|
|
<a href="/asteroid">Home</a>
|
|
<a href="/asteroid/player">Player</a>
|
|
<a href="/asteroid/status">Status</a>
|
|
<a href="/asteroid/login">Login</a>
|
|
</nav>
|
|
</header>
|
|
|
|
<div class="auth-container">
|
|
<div class="auth-form">
|
|
<h2>Create Account</h2>
|
|
<div class="message error" lquery="(attr :style display-error)" style="display: none;">
|
|
<span lquery="(text error-message)">Registration failed</span>
|
|
</div>
|
|
<div class="message success" lquery="(attr :style display-success)" style="display: none;">
|
|
<span lquery="(text success-message)">Registration successful!</span>
|
|
</div>
|
|
<form method="post" action="/asteroid/register">
|
|
<div class="form-group">
|
|
<label>Username:</label>
|
|
<input type="text" name="username" required minlength="3" maxlength="50">
|
|
<small style="color: #8892b0;">Minimum 3 characters</small>
|
|
</div>
|
|
<div class="form-group">
|
|
<label>Email:</label>
|
|
<input type="email" name="email" required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label>Password:</label>
|
|
<input type="password" name="password" required minlength="6">
|
|
<small style="color: #8892b0;">Minimum 6 characters</small>
|
|
</div>
|
|
<div class="form-group">
|
|
<label>Confirm Password:</label>
|
|
<input type="password" name="confirm-password" required minlength="6">
|
|
</div>
|
|
<div class="form-actions">
|
|
<button type="submit" class="btn btn-primary" style="width: 100%;">CREATE ACCOUNT</button>
|
|
</div>
|
|
</form>
|
|
<div class="auth-footer">
|
|
<p>Already have an account? <a href="/asteroid/login">Login here</a></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|