update settings page to not be so tweety

This commit is contained in:
Scott O'Hara 2013-07-13 22:26:02 -04:00
parent 75500237ac
commit 044a5b1f74

View file

@ -1,10 +1,9 @@
.page
.row.content
.content
.span12.text-center
h1 Site Settings
h1 Account Settings
.row
.span12.text-center
.txt-Center
- if !current_site.errors.empty?
.row
.span8.offset2
@ -12,48 +11,48 @@
- current_site.errors.each do |error|
p = error.last.first
.row
.span4
h2 Change Password
form method="POST" action="/change_password"
input name="csrf_token" type="hidden" value="#{csrf_token}"
.row
.col.col-33
h2.delta Change Password
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 Current Password:
input name="current_password" type="password"
div
p New Password:
input name="new_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"
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
input.btn-Action type="submit" value="Change Password"
form method="POST" action="/change_name"
input name="csrf_token" type="hidden" value="#{csrf_token}"
.col.col-33
h2.delta Change Site (User) Name
p It cannot contain spaces, and can only use the following characters: a-z A-Z 0-9 _ -
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-Action type="submit" value="Change Name"
input name="name" type="text" placeholder="newname"
.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.
input.btn-Action type="submit" value="Change Name"
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}>
.col.col-33
h2.delta 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.
input.btn-Action type="submit" value="Update"
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-Action type="submit" value="Update"