aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/forgot.pug22
-rw-r--r--views/login.pug2
-rw-r--r--views/stylesheets/authentication.css21
3 files changed, 43 insertions, 2 deletions
diff --git a/views/forgot.pug b/views/forgot.pug
new file mode 100644
index 000000000..4036b49db
--- /dev/null
+++ b/views/forgot.pug
@@ -0,0 +1,22 @@
+
+extends ./layout
+
+block content
+ style
+ include ./stylesheets/authentication.css
+ form.form-horizontal(id='forgot-form', method='POST')
+ input(type='hidden', name='_csrf', value=_csrf)
+ .overlay(id='overlay_forgot')
+ a(href="/login")
+ img(id='to_login', src="https://bit.ly/2U6ouZk", alt="")
+ .inner.forgot
+ h3.auth_header Recover Password
+ .form-group
+ //- label.col-sm-3.control-label(for='email', id='email_label') Email
+ .col-sm-7
+ input.form-control(type='email', name='email', id='email', placeholder='Email', autofocus, required)
+ .form-group
+ .col-sm-offset-3.col-sm-7
+ button.btn.btn-success(id='submit', type='submit')
+ i.fa.fa-user-plus
+ | Submit \ No newline at end of file
diff --git a/views/login.pug b/views/login.pug
index c379a6605..9bc40a495 100644
--- a/views/login.pug
+++ b/views/login.pug
@@ -9,6 +9,8 @@ block content
.overlay(id='overlay_login')
a(href="/signup")
img(id='new_user', src="https://bit.ly/2EuqPb4", alt="")
+ a(href="/forgot")
+ img(id='forgot', src="https://bit.ly/2XjHpSo", alt="")
.inner.login
h3.auth_header Log In
.form-group
diff --git a/views/stylesheets/authentication.css b/views/stylesheets/authentication.css
index 232e5a091..0922ad730 100644
--- a/views/stylesheets/authentication.css
+++ b/views/stylesheets/authentication.css
@@ -30,6 +30,10 @@ body {
height: 220px;
}
+.forgot {
+ height: 175px;
+}
+
.signup {
height: 273px;
}
@@ -50,13 +54,26 @@ body {
height: 300px;
}
+#overlay_forgot {
+ height: 250px;
+}
+
#new_user,
#to_login {
+ right: 15px;
+}
+
+#new_user,
+#to_login,
+#forgot {
+ top: 15px;
width: 20px;
height: 20px;
position: absolute;
- top: 15px;
- right: 15px;
+}
+
+#forgot {
+ left: 15px;
}
.overlay {