more userpages
This commit is contained in:
@ -20,7 +20,12 @@
|
||||
<li class="highlight"><a href="/">New paste</a></li>
|
||||
<li class="highlight"><a href="/v">View pastes</a></li>
|
||||
<li><hr></li>
|
||||
<li class="highlight"><a href="/u">Login</a></li>
|
||||
<li class="highlight"><a href="/u">Login</a>
|
||||
<ul class="submenu hidden">
|
||||
<li><a href="/u/register">Register</a></li>
|
||||
<li><a href="/u/lost-password">Password lost</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><hr></li>
|
||||
<li class="highlight"><a href="/a">About</a>
|
||||
<ul class="submenu hidden">
|
||||
|
6
views/user/lost-password.handlebars
Normal file
6
views/user/lost-password.handlebars
Normal file
@ -0,0 +1,6 @@
|
||||
<h1>Lost password</h1>
|
||||
<p>To request a new password, please enter your email below. You will then receive an email with further instructions.</p>
|
||||
<p>If you already received your key you can change your password <a href="/u/lost-password/change">here</a>.</p>
|
||||
<form method="post" action="/u/lost-password" id="lost-password-form">
|
||||
<p class="label">Email:</p><input type="text" name="email" value=""><input type="submit">
|
||||
</form>
|
8
views/user/register.handlebars
Normal file
8
views/user/register.handlebars
Normal file
@ -0,0 +1,8 @@
|
||||
<h1>Register a new user</h1>
|
||||
<p>Please make sure your email address is correct. It will be used to send you the activation key required to activate your account.</p>
|
||||
<form method="post" action="/u/register" id="registration-form">
|
||||
<p class="label">Email:</p><input type="text" name="email" value=""><br>
|
||||
<p class="label">Username:</p><input type="text" name="username" value=""><br>
|
||||
<p class="label">Password:</p><input type="password" name="password"><br>
|
||||
<input type="submit">
|
||||
</form>
|
Reference in New Issue
Block a user