redesigned register prompt, added links between both pages
implements changes as suggested on #15 A new registration prompt! (basically the same content but nicely packaged now!) There also are now little texts between both pages to switch between logging in w/ already existing credentials and registering an account.
This commit is contained in:
parent
d0ef4a9e55
commit
2c52b27622
|
@ -6,4 +6,5 @@
|
||||||
<tr><td colspan='2' style='text-align:right;'><input type='submit' value='Login'></td></tr>
|
<tr><td colspan='2' style='text-align:right;'><input type='submit' value='Login'></td></tr>
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
|
<p>Don't have an account yet? <a href="/login">Register an account!</a></p>
|
||||||
{{.reason}}
|
{{.reason}}
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<h1>Register</h1>
|
<h1>Register on this BashTube instance</h1>
|
||||||
<form method='post'>
|
<form method='post'>
|
||||||
<label for='login'>Login:</label>
|
<table>
|
||||||
<input type='text' name='login'><br>
|
<tr><td><label for='login'>User name:</label></td><td><input type='text' name='login' placeholder="dingus"></td></tr>
|
||||||
<label for='password'>Password:</label>
|
<tr><td><label for='password'>Password:</label></td><td><input type='password' name='password' placeholder="password123"></td></tr>
|
||||||
<input type='password' name='password'><br>
|
<tr><td colspan='2' style='text-align:right;'><input type='submit' value='Register'></td></tr>
|
||||||
<input type='submit' value='Register'>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
(please make sure that you're connecting over SSL)<br>
|
<p>Have an account already? <a href="/login">Log in with your credentials!</a></p>
|
||||||
{{.reason}}
|
{{.reason}}
|
||||||
|
|
Loading…
Reference in a new issue