mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
more updates to settings page
This commit is contained in:
parent
3098a96870
commit
5a56929e18
1 changed files with 45 additions and 42 deletions
|
@ -1,7 +1,7 @@
|
||||||
.page
|
.page
|
||||||
.content
|
.content
|
||||||
.span12.text-center
|
|
||||||
h1 Account Settings
|
h1.txt-Center Account Settings
|
||||||
|
|
||||||
.txt-Center
|
.txt-Center
|
||||||
- if !current_site.errors.empty?
|
- if !current_site.errors.empty?
|
||||||
|
@ -12,47 +12,50 @@
|
||||||
p = error.last.first
|
p = error.last.first
|
||||||
|
|
||||||
.row
|
.row
|
||||||
.col.col-33
|
.col.col-33.txt-Center
|
||||||
h2.delta Change Password
|
.content
|
||||||
form method="POST" action="/change_password"
|
h2.delta 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
|
div
|
||||||
p Current Password:
|
p Current Password:
|
||||||
input name="current_password" type="password"
|
input name="current_password" type="password"
|
||||||
|
|
||||||
div
|
div
|
||||||
p New Password:
|
p New Password:
|
||||||
input name="new_password" type="password"
|
input name="new_password" type="password"
|
||||||
|
|
||||||
div
|
div
|
||||||
p Confirm New Password:
|
p Confirm New Password:
|
||||||
input name="new_password_confirm" type="password"
|
input name="new_password_confirm" type="password"
|
||||||
|
|
||||||
input.btn-Action type="submit" value="Change Password"
|
input.btn-Action type="submit" value="Change Password"
|
||||||
|
|
||||||
.col.col-33
|
.col.col-33.txt-Center
|
||||||
h2.delta Change Site (User) Name
|
.content
|
||||||
|
h2.delta Change Site (User) Name
|
||||||
|
|
||||||
form method="POST" action="/change_name"
|
form method="POST" action="/change_name"
|
||||||
input name="csrf_token" type="hidden" value="#{csrf_token}"
|
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 It cannot contain spaces, and can only use the following characters: a-z A-Z 0-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" 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.txt-Center
|
||||||
h2.delta Mark Adult Content
|
.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.
|
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"
|
form method="POST" action="/change_nsfw"
|
||||||
input name="csrf_token" type="hidden" value="#{csrf_token}"
|
input name="csrf_token" type="hidden" value="#{csrf_token}"
|
||||||
input name="is_nsfw" type="hidden" value="false"
|
input name="is_nsfw" type="hidden" value="false"
|
||||||
p: strong My page contains objectionable (adult) content: <input name="is_nsfw" type="checkbox" value="true" style="margin-top: 0px" #{"checked" if current_site.is_nsfw}>
|
p: strong My page contains objectionable (adult) content: <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"
|
input.btn-Action type="submit" value="Update"
|
Loading…
Add table
Reference in a new issue