34 lines
1.6 KiB
HTML
34 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link rel="stylesheet" href="/styles/reset.css">
|
|
<link rel="stylesheet" href="/styles/style.css">
|
|
<link rel="stylesheet" href="/styles/account.css">
|
|
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
|
|
<title>User registration to LDAP system</title>
|
|
</head>
|
|
<body>
|
|
<main class="container">
|
|
<h1 style="text-align:center;">Register</h1>
|
|
<form action="/account/register/" method="POST" style="text-align:center;">
|
|
<label for="username">username</label>
|
|
<input type="text" name="username" id="username" placeholder="username" required>
|
|
<label for="password">password</label>
|
|
<input type="password" name="password" id="password" placeholder="password" required>
|
|
<label for="confirmpassword">password</label>
|
|
<input type="confirmpassword" name="confirmpassword" id="confirmpassword" placeholder="confirmpassword" required>
|
|
<p>password must be at least 8 characters long<p>
|
|
<br>
|
|
<img src=/account/register/captcha_img/{{ imgsrc }} alt="{{ captchahash }}" style="width:200;margin:auto;">
|
|
<p>
|
|
<label for="captcha answer">captcha answer</label>
|
|
<input type="text" name="captchaa" id="captchaa" placeholder="captcha answer" required>
|
|
<input type="hidden" name="captchaq" id="captchaq" value="{{ imgsrc }}">
|
|
<button>Register</button>
|
|
</form>
|
|
</main>
|
|
</body>
|
|
</html>
|