From 240b160b8aab32820a68f60b7173fb7804481910 Mon Sep 17 00:00:00 2001 From: Toks Date: Sun, 26 May 2013 08:08:05 -0400 Subject: [PATCH] style user deletion page (#1676) --- .../specific/user_deletions.css.scss | 10 +++++ .../maintenance/user/deletions/show.html.erb | 42 +++++++++++-------- 2 files changed, 35 insertions(+), 17 deletions(-) create mode 100644 app/assets/stylesheets/specific/user_deletions.css.scss diff --git a/app/assets/stylesheets/specific/user_deletions.css.scss b/app/assets/stylesheets/specific/user_deletions.css.scss new file mode 100644 index 000000000..b09d9c9ed --- /dev/null +++ b/app/assets/stylesheets/specific/user_deletions.css.scss @@ -0,0 +1,10 @@ +div#c-maintenance-user-deletions { + ul { + margin-left: 1em; + margin-bottom: 1em; + } + + li { + list-style-type: disc; + } +} \ No newline at end of file diff --git a/app/views/maintenance/user/deletions/show.html.erb b/app/views/maintenance/user/deletions/show.html.erb index 217292c8e..eb0001cff 100644 --- a/app/views/maintenance/user/deletions/show.html.erb +++ b/app/views/maintenance/user/deletions/show.html.erb @@ -1,23 +1,31 @@ -

Delete Account

+
+
+

Delete Account

-

You can delete your account. This will not actually remove your account from the database, but it will do the following things:

+

You can delete your account. This will not actually remove your account from the database, but it will do the following things:

-
    -
  • Rename your account to a generic string
  • -
  • Scramble your password
  • -
  • Remove all your favorites
  • -
  • Blank out your settings (including email)
  • -
+
    +
  • Rename your account to a generic string
  • +
  • Scramble your password
  • +
  • Remove all your favorites
  • +
  • Blank out your settings (including email)
  • +
-

You must enter your password to delete your account.

+

You must enter your password to delete your account.

-<%= form_tag(maintenance_user_deletion_path, :method => :delete, :class => "simple_form") do %> -
- - <%= password_field_tag :password %> + <%= form_tag(maintenance_user_deletion_path, :method => :delete, :class => "simple_form") do %> +
+ + <%= password_field_tag :password %> +
+ +
+ <%= submit_tag %> +
+ <% end %>
+
-
- <%= submit_tag %> -
-<% end %> \ No newline at end of file +<% content_for(:page_title) do %> + Delete Account - <%= Danbooru.config.app_name %> +<% end %>