mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-01 16:19:26 +00:00
Generalised form styles
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{{> mainPageHeader name='Password Recovery' }}
|
||||
|
||||
<div class='mainForm'>
|
||||
<div class='formContainer'>
|
||||
<form action='/change-password' method='post'>
|
||||
<input type='password' id='password' name='password' placeholder='New password' required/>
|
||||
<input type='password' id='confPassword' name='confPassword' placeholder='Confirm new password' required/>
|
||||
@@ -8,7 +8,7 @@
|
||||
<input type='hidden' id='uuid' name='uuid' value='{{ uuid }}' required/>
|
||||
<input type='hidden' id='token' name='token' value='{{ token }}' required/>
|
||||
|
||||
<input type='submit' class='btn btn--primary' value='Change password'/>
|
||||
<input type='submit' class='btn btn--primary btn--full' value='Change password'/>
|
||||
</form>
|
||||
<a href='/login'>Back to login</a>
|
||||
</div>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{{> mainPageHeader name='Log In' }}
|
||||
|
||||
<div class='mainForm'>
|
||||
<div class='formContainer'>
|
||||
<form action='/login' method='post'>
|
||||
<input type='email' id='email' name='email' placeholder='Email Address' required/>
|
||||
<input type='password' id='password' name='password' placeholder='Password' required/>
|
||||
|
||||
<input type='submit' class='btn btn--primary' value='Log In'/>
|
||||
<input type='submit' class='btn btn--primary btn--full' value='Log In'/>
|
||||
</form>
|
||||
<a href='/register'>Not got an account yet? Sign up</a>
|
||||
<a href='/password-reset'>Forgotten your password?</a>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{{> mainPageHeader name='Log Out' }}
|
||||
|
||||
<div class='mainForm'>
|
||||
<div class='formContainer'>
|
||||
<p style='text-align: center;'>You are logged in as <span class='hl'>{{ username }}</span></p>
|
||||
<form action='/logout' method='post'>
|
||||
<input type='submit' class='btn btn--primary' value='Log Out'/>
|
||||
<input type='submit' class='btn btn--primary btn--full' value='Log Out'/>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{{> mainPageHeader name='Password Recovery' }}
|
||||
|
||||
<div class='mainForm'>
|
||||
<div class='formContainer'>
|
||||
<form action='/password-reset' method='post'>
|
||||
<input type='email' id='email' name='email' placeholder='Email Address' required/>
|
||||
|
||||
<input type='submit' class='btn btn--primary' value='Request a password reset'/>
|
||||
<input type='submit' class='btn btn--primary btn--full' value='Request a password reset'/>
|
||||
</form>
|
||||
<a href='/login'>Back to login</a>
|
||||
</div>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{{> mainPageHeader name='Sign Up' }}
|
||||
|
||||
<div class='mainForm'>
|
||||
<div class='formContainer'>
|
||||
<form action='/register' method='post'>
|
||||
<div class='input-group'>
|
||||
<input type='text' id='fname' name='fname' placeholder='First Name' required/>
|
||||
@@ -12,7 +12,7 @@
|
||||
<input type='password' id='password' name='password' placeholder='Password' required/>
|
||||
<input type='password' id='confPassword' name='confPassword' placeholder='Confirm Password' required/>
|
||||
|
||||
<input type='submit' class='btn btn--primary' value='Sign Up'/>
|
||||
<input type='submit' class='btn btn--primary btn--full' value='Sign Up'/>
|
||||
</form>
|
||||
<a href='/login'>Already got an account? Log in</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user