init
This commit is contained in:
35
luser/templates/changepassword.html
Normal file
35
luser/templates/changepassword.html
Normal file
@@ -0,0 +1,35 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="sr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>User password change in LDAP system</title>
|
||||
<style>
|
||||
.container {
|
||||
max-width:900px;
|
||||
margin: 0 auto;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
color: #3d3d3d;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #e6e6e6;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<main class="container">
|
||||
<h1 style="text-align:center;">Change password</h1>
|
||||
<form action="/account/changepassword/" method="POST" style="text-align:center;">
|
||||
<label for="username">username</label>
|
||||
<input type="text" name="username" id="username" placeholder="username" required>
|
||||
<label for="oldpassword">oldpassword</label>
|
||||
<input type="password" name="oldpassword" id="oldpassword" placeholder="oldpassword" required>
|
||||
<label for="newpassword">newpassword</label>
|
||||
<input type="password" name="newpassword" id="newpassword" placeholder="newpassword" required>
|
||||
<br>
|
||||
<button>Change Password</button>
|
||||
</form>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
39
luser/templates/register.html
Normal file
39
luser/templates/register.html
Normal file
@@ -0,0 +1,39 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="sr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>User registration to LDAP system</title>
|
||||
<style>
|
||||
.container {
|
||||
max-width:900px;
|
||||
margin: 0 auto;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
color: #3d3d3d;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #e6e6e6;
|
||||
}
|
||||
</style>
|
||||
</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>
|
||||
<p>password must be at least 8 characters long<p>
|
||||
<br>
|
||||
<img src=/account/register/captcha_img/{{ imgsrc }} alt="{{ captchahash }}" style="width:200">
|
||||
<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>
|
||||
33
luser/templates/unregister.html
Normal file
33
luser/templates/unregister.html
Normal file
@@ -0,0 +1,33 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="sr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>User unregistration to LDAP system</title>
|
||||
<style>
|
||||
.container {
|
||||
max-width:900px;
|
||||
margin: 0 auto;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
color: #3d3d3d;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #e6e6e6;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<main class="container">
|
||||
<h1 style="text-align:center;">Unregister</h1>
|
||||
<form action="/account/unregister/" 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>
|
||||
<br>
|
||||
<button>Unregister</button>
|
||||
</form>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user