Layout updates

Updates to password reset, settings and sign in pages
This commit is contained in:
Scott O'Hara 2013-07-14 19:53:27 -04:00
parent 994ef558ee
commit 28ee419613
3 changed files with 25 additions and 26 deletions

View file

@ -1,15 +1,15 @@
.text-center .txt-Center.content-Base
.row
.span12 h1 Reset Password
h1 Reset Password
.row h5 If you provided your e-mail you can reset your password.
.span6.offset3.text-center h6 If you didn't, you will not be able to reset your password.
h5 If you provided your e-mail you can reset your password. If you didn't, you will not be able to reset your password, you will need to create a new site. We will not change a password without an email entered, no exceptions. p You will need to create a new account. We will not change a password without an email entered, no exceptions.
.row
.span12 form method="POST" action="/send_password_reset"
form method="POST" action="/send_password_reset"
input name="csrf_token" type="hidden" value="#{csrf_token}" input name="csrf_token" type="hidden" value="#{csrf_token}"
fieldset fieldset
div: input name="email" type="email" placeholder="Your email" input name="email" type="email" class="input-Area" placeholder="Your email"
div: button class="btn btn-large btn-success" href="#" style="margin-top: 10px" Send Password Reset button class="btn-Action" href="#" style="margin-top: 10px" Send Password Reset

View file

@ -18,15 +18,15 @@
div div
p Current Password: p Current Password:
input name="current_password" type="password" input class="input-Area" name="current_password" type="password"
div div
p New Password: p New Password:
input name="new_password" type="password" input class="input-Area" name="new_password" type="password"
div div
p Confirm New Password: p Confirm New Password:
input name="new_password_confirm" type="password" input class="input-Area" name="new_password_confirm" type="password"
input.btn-Action type="submit" value="Change Password" input.btn-Action type="submit" value="Change Password"
@ -42,9 +42,9 @@
p Current name: <span style="color: green"><strong>#{current_site.username}</strong></span> p Current name: <span style="color: green"><strong>#{current_site.username}</strong></span>
p New name: p New name:
input name="name" type="text" placeholder="newname" input name="name" class="input-Area" type="text" placeholder="newname"
input.btn-Action type="submit" value="Change Name" input.btn-Action type="submit" value="Change Name"
.col.col-33 .col.col-33
.content .content

View file

@ -2,18 +2,17 @@
.content.single-Col.txt-Center .content.single-Col.txt-Center
h1 Welcome back! h1 Welcome back!
form method="POST" action="/signin" class="content"
form method="POST" action="/signin"
input name="csrf_token" type="hidden" value="#{csrf_token}" input name="csrf_token" type="hidden" value="#{csrf_token}"
fieldset fieldset
div: input name="username" style="height:auto!important" type="text" placeholder="Your username" class="input-Area" autocapitalize="off" autocorrect="off" input name="username" type="text" placeholder="Your username" class="input-Area" autocapitalize="off" autocorrect="off"
div: input name="password" style="height:auto!important" type="password" class="input-Area" placeholder="Your password" input name="password" type="password" class="input-Area" placeholder="Your password"
div: button class="btn-Action" href="#" Sign in button class="btn-Action" href="#" Sign in
hr hr
p p
a href="/new" title="Sign me up!" I don't have an account yet. a href="/new" title="Sign me up!" I don't have an account yet.
p p
a href="/password_reset" title="What did I huh?" I forgot my password. a href="/password_reset" title="What did I huh?" I forgot my password.