From 5a56929e18929f67c615c731905cb06e6019ca93 Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Sat, 13 Jul 2013 22:32:17 -0400 Subject: [PATCH] more updates to settings page --- views/settings.slim | 87 +++++++++++++++++++++++---------------------- 1 file changed, 45 insertions(+), 42 deletions(-) diff --git a/views/settings.slim b/views/settings.slim index f59f31c7..88edb6bf 100644 --- a/views/settings.slim +++ b/views/settings.slim @@ -1,7 +1,7 @@ .page .content - .span12.text-center - h1 Account Settings + + h1.txt-Center Account Settings .txt-Center - if !current_site.errors.empty? @@ -12,47 +12,50 @@ p = error.last.first .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 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" + .col.col-33.txt-Center + .content + 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 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" - .col.col-33 - h2.delta 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 _ - - - p Current name: #{current_site.username} + .col.col-33.txt-Center + .content + h2.delta Change Site (User) Name - p New name: - input name="name" type="text" placeholder="newname" + 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 _ - - input.btn-Action type="submit" value="Change Name" + p Current name: #{current_site.username} + + p New name: + input name="name" type="text" placeholder="newname" + + input.btn-Action type="submit" value="Change Name" - .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. - - 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:    - - input.btn-Action type="submit" value="Update" \ No newline at end of file + .col.col-33.txt-Center + .content + 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. + + 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:    + + input.btn-Action type="submit" value="Update" \ No newline at end of file