mirror of https://gitlab.com/litecord/litecord.git
38 lines
1.5 KiB
HTML
38 lines
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>litecord: register</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link href="css/invite_register.css" rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
<main id="register">
|
|
<h1>register</h1>
|
|
<form method="post" action="/api/v6/auth/register_inv">
|
|
<div class="form-group">
|
|
<label for="username">username <small>(only alphanumeric or underscore, no spaces)</small></label>
|
|
<input type="text" name="username" maxlength=19 minlength=2 pattern="^[a-zA-Z0-9_]+$" placeholder="luna" required>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="email">email</label>
|
|
<input type="email" name="email" pattern="^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$" placeholder="luna@blockchain.mail" required>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="password">password</label>
|
|
<input type="password" name="password" minlength=5 required>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="invcode">invite code</label>
|
|
<input type="text" name="invcode" placeholder="4MLsEr" required>
|
|
</div>
|
|
|
|
<input type="submit" value="register">
|
|
</form>
|
|
</main>
|
|
</body>
|
|
</html>
|