Reset password form
parent
d86efcf1a3
commit
4033d29dc6
|
@ -18,3 +18,4 @@ block content
|
||||||
|
|
||||||
include views/modules/login-form
|
include views/modules/login-form
|
||||||
include views/modules/register-form
|
include views/modules/register-form
|
||||||
|
include views/modules/forgot-form
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
div.forgot-form-container
|
||||||
|
p.forgot-text
|
||||||
|
strong Don't worry, it happens even in the best families :-) <br />
|
||||||
|
span Give us your mail and we'll sent you instructions to get a new one
|
||||||
|
form
|
||||||
|
fieldset
|
||||||
|
input(type="text", placeholder="Your email")
|
||||||
|
fieldset
|
||||||
|
a.button.button-forgot.button-green(href="", title="Reset Password") Reset Password
|
|
@ -2,7 +2,7 @@ div.login-form-container
|
||||||
form.login-form(ng-submit="ctrl.submit()")
|
form.login-form(ng-submit="ctrl.submit()")
|
||||||
fieldset
|
fieldset
|
||||||
input(type="text", name="username", ng-model="form.username", placeholder="User name")
|
input(type="text", name="username", ng-model="form.username", placeholder="User name")
|
||||||
fieldset
|
fieldset.login-password
|
||||||
input(type="password", name="password", ng-model="form.password")
|
input(type="password", name="password", ng-model="form.password")
|
||||||
//-This should be hidden when focus on pass
|
//-This should be hidden when focus on pass
|
||||||
a.forgot-pass(href="", title="Did you forgot your pass?") Forgot it?
|
a.forgot-pass(href="", title="Did you forgot your pass?") Forgot it?
|
||||||
|
|
|
@ -3,7 +3,7 @@ div.register-form-container
|
||||||
fieldset
|
fieldset
|
||||||
input(type="text" placeholder="Pick a username")
|
input(type="text" placeholder="Pick a username")
|
||||||
fieldset
|
fieldset
|
||||||
input(type="email" placeholder="Your email")
|
input(type="text" placeholder="Your email")
|
||||||
fieldset
|
fieldset
|
||||||
input(type="password" placeholder="Set a password")
|
input(type="password" placeholder="Set a password")
|
||||||
fieldset
|
fieldset
|
||||||
|
|
|
@ -45,8 +45,7 @@
|
||||||
.register-text {
|
.register-text {
|
||||||
@extend %small;
|
@extend %small;
|
||||||
}
|
}
|
||||||
.button-login,
|
.button {
|
||||||
.button-register {
|
|
||||||
color: $white;
|
color: $white;
|
||||||
display: block;
|
display: block;
|
||||||
margin-bottom: .5rem;
|
margin-bottom: .5rem;
|
||||||
|
@ -54,35 +53,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-form-container {
|
|
||||||
.login-password {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
input:focus {
|
|
||||||
&+.forgot-pass {
|
|
||||||
opacity: 0;
|
|
||||||
@include transition(opacity .5s linear);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.forgot-pass {
|
|
||||||
@include transition(all .3s linear);
|
|
||||||
@extend %small;
|
|
||||||
color: $gray-light;
|
|
||||||
opacity: 1;
|
|
||||||
position: absolute;
|
|
||||||
right: 1rem;
|
|
||||||
top: .5rem;
|
|
||||||
&:hover {
|
|
||||||
@include transition(color .3s linear);
|
|
||||||
color: $grayer;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.register-form-container {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.login-error {
|
.login-error {
|
||||||
background: $red;
|
background: $red;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
|
|
@ -52,6 +52,9 @@ $prefix-for-spec: true;
|
||||||
@import 'modules/comments';
|
@import 'modules/comments';
|
||||||
@import 'modules/comment-activity';
|
@import 'modules/comment-activity';
|
||||||
@import 'modules/activity';
|
@import 'modules/activity';
|
||||||
|
@import 'modules/login-form';
|
||||||
|
@import 'modules/register-form';
|
||||||
|
//@import 'modules/forgot-form';
|
||||||
|
|
||||||
// Responsive
|
// Responsive
|
||||||
@import 'responsive/mobile';
|
@import 'responsive/mobile';
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
.login-form-container {
|
||||||
|
display: none;
|
||||||
|
.login-password {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
input:focus {
|
||||||
|
&+.forgot-pass {
|
||||||
|
opacity: 0;
|
||||||
|
@include transition(opacity .5s linear);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.forgot-pass {
|
||||||
|
@include transition(all .3s linear);
|
||||||
|
@extend %small;
|
||||||
|
color: $gray-light;
|
||||||
|
opacity: 1;
|
||||||
|
position: absolute;
|
||||||
|
right: 1rem;
|
||||||
|
top: .5rem;
|
||||||
|
&:hover {
|
||||||
|
@include transition(color .3s linear);
|
||||||
|
color: $grayer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
.register-form-container {
|
||||||
|
display: none;
|
||||||
|
}
|
Loading…
Reference in New Issue