add more padding. kill more boots

This commit is contained in:
Scott O'Hara 2013-07-13 22:09:00 -04:00
parent aa092cc930
commit 1b517b8c8b
2 changed files with 65 additions and 65 deletions

View file

@ -1,58 +1,59 @@
.row .page
.span12.text-center .row.content
h1 Site Settings .span12.text-center
h1 Site Settings
.row
.span12.text-center .row
- if !current_site.errors.empty? .span12.text-center
.row - if !current_site.errors.empty?
.span8.offset2 .row
.alert.alert-block.alert-error .span8.offset2
- current_site.errors.each do |error| .alert.alert-block.alert-error
p = error.last.first - current_site.errors.each do |error|
p = error.last.first
.row
.span4 .row
h2 Change Password .span4
form method="POST" action="/change_password" h2 Change Password
input name="csrf_token" type="hidden" value="#{csrf_token}" form method="POST" action="/change_password"
input name="csrf_token" type="hidden" value="#{csrf_token}"
div
p Current Password:
input name="current_password" type="password"
div
p New Password:
input name="new_password" type="password"
div
p Confirm New Password:
input name="new_password_confirm" type="password"
input.btn-Action type="submit" value="Change Password"
.span4
h2 Change Site (User) Name
div form method="POST" action="/change_name"
p Current Password: input name="csrf_token" type="hidden" value="#{csrf_token}"
input name="current_password" type="password"
p It cannot contain spaces, and can only use the following characters: a-z A-Z 0-9 _ -
div div
p New Password: p Current name: <span style="color: green"><strong>#{current_site.username}</strong></span>
input name="new_password" type="password" div
p New name:
input name="name" type="text" placeholder="newname"
div
input.btn-Action type="submit" value="Change Name"
.span4
h2 Mark Adult Content
p If your site contains objectionable (adult) content, check this box. Your site will not be removed, but it will be listed on a special browse page. We don't have an official policy on what defines "adult" content yet, we are still working on this. In the interim, best guesses. Thanks for your patience as we try to find a way to balance out the needs of everyone.
form method="POST" action="/change_nsfw"
input name="csrf_token" type="hidden" value="#{csrf_token}"
input name="is_nsfw" type="hidden" value="false"
p: strong My page contains objectionable (adult) content:&nbsp;&nbsp;&nbsp;<input name="is_nsfw" type="checkbox" value="true" style="margin-top: 0px" #{"checked" if current_site.is_nsfw}>
div input.btn-Action type="submit" value="Update"
p Confirm New Password:
input name="new_password_confirm" type="password"
input.btn.btn-success type="submit" value="Change Password"
.span4
h2 Change Site (User) Name
form method="POST" action="/change_name"
input name="csrf_token" type="hidden" value="#{csrf_token}"
p It cannot contain spaces, and can only use the following characters: a-z A-Z 0-9 _ -
div
p Current name: <span style="color: green"><strong>#{current_site.username}</strong></span>
div
p New name:
input name="name" type="text" placeholder="newname"
div
input.btn.btn-success type="submit" value="Change Name"
.span4
h2 Mark Adult Content
p If your site contains objectionable (adult) content, check this box. Your site will not be removed, but it will be listed on a special browse page. We don't have an official policy on what defines "adult" content yet, we are still working on this. In the interim, best guesses. Thanks for your patience as we try to find a way to balance out the needs of everyone.
form method="POST" action="/change_nsfw"
input name="csrf_token" type="hidden" value="#{csrf_token}"
input name="is_nsfw" type="hidden" value="false"
p: strong My page contains objectionable (adult) content:&nbsp;&nbsp;&nbsp;<input name="is_nsfw" type="checkbox" value="true" style="margin-top: 0px" #{"checked" if current_site.is_nsfw}>
input.btn.btn-success type="submit" value="Update"

View file

@ -1,16 +1,15 @@
.text-center .page
.row .content.single-Col
.span12 h1 Welcome back!
h1 Welcome back!
.row
.span12 form method="POST" action="/signin"
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" type="text" placeholder="Your username" autocapitalize="off" autocorrect="off" div: input name="username" type="text" placeholder="Your username" class="input-Area" autocapitalize="off" autocorrect="off"
div: input name="password" type="password" placeholder="Your password" div: input name="password" type="password" class="input-Area" placeholder="Your password"
div: button class="btn btn-large btn-success" href="#" style="margin-top: 10px" Sign in div: button class="btn-Action" href="#" Sign in
.row .row
.span12 .span12
div div