diff --git a/app/assets/javascripts/pools.js b/app/assets/javascripts/pools.js index 3126b16cb..07da4ca1d 100644 --- a/app/assets/javascripts/pools.js +++ b/app/assets/javascripts/pools.js @@ -14,7 +14,7 @@ Danbooru.Pool.initialize_add_to_pool_link = function() { $("#add-to-pool-dialog").dialog({autoOpen: false}); - $("#c-pool-elements #a-new input[type=text]").autocomplete({ + $("#add-to-pool-dialog input[type=text]").autocomplete({ minLength: 1, source: function(req, resp) { $.ajax({ diff --git a/app/assets/stylesheets/specific/pools.css.scss b/app/assets/stylesheets/specific/pools.css.scss index 8eadda580..f0c91bac3 100644 --- a/app/assets/stylesheets/specific/pools.css.scss +++ b/app/assets/stylesheets/specific/pools.css.scss @@ -16,26 +16,24 @@ a.pool-category-collection, .pool-category-collection a { } } -div#c-pool-elements { - div#a-new { - font-size: 0.8em; +div#add-to-pool-dialog { + font-size: 0.8em; - form { - margin-bottom: 1em; - } + form { + margin-bottom: 1em; + } - li { - margin-left: 1em; - cursor: pointer; - } + li { + margin-left: 1em; + cursor: pointer; + } - h1 { - font-size: $h3_size; - } - - .hint { - display: block; - } + h1 { + font-size: $h3_size; + } + + .hint { + display: block; } } diff --git a/app/views/pool_elements/_new.html.erb b/app/views/pool_elements/_new.html.erb index dfaf81f73..20c420350 100644 --- a/app/views/pool_elements/_new.html.erb +++ b/app/views/pool_elements/_new.html.erb @@ -1,28 +1,24 @@ -
-
- <%= form_tag(pool_element_path, :class => "simple_form") do %> - <%= hidden_field_tag "post_id", @post.id %> +<%= form_tag(pool_element_path, :class => "simple_form") do %> + <%= hidden_field_tag "post_id", @post.id %> -
- - <%= text_field_tag "pool_name", "", :size => 20 %> - Search for a pool containing (<%= link_to "see full list", all_select_pool_element_path, :remote => true %>) -
- -
- <%= submit_tag "Submit" %> -
- <% end %> - - <% if recent_updated_pools.any? %> -
-

Recent Pools

-
    - <% recent_updated_pools.each do |pool| %> -
  • <%= pool.pretty_name %>
  • - <% end %> -
-
- <% end %> +
+ + <%= text_field_tag "pool_name", "", :size => 20 %> + Search for a pool containing (<%= link_to "see full list", all_select_pool_element_path, :remote => true %>)
-
+ +
+ <%= submit_tag "Submit" %> +
+<% end %> + +<% if recent_updated_pools.any? %> +
+

Recent Pools

+ +
+<% end %> diff --git a/app/views/pool_elements/new.html.erb b/app/views/pool_elements/new.html.erb index 1f4e91cc4..c2a852509 100644 --- a/app/views/pool_elements/new.html.erb +++ b/app/views/pool_elements/new.html.erb @@ -1 +1,5 @@ -<%= render "pool_elements/new" %> +
+
+ <%= render "pool_elements/new" %> +
+
diff --git a/app/views/post_appeals/_new.html.erb b/app/views/post_appeals/_new.html.erb index f8ae1090d..1acdfacfb 100644 --- a/app/views/post_appeals/_new.html.erb +++ b/app/views/post_appeals/_new.html.erb @@ -1,12 +1,8 @@ -
-
-

If this post was automatically deleted, then it means at least ten janitors all thought it didn't belong on the site. If you still believe this image was wrongfully deleted, then you can appeal its deletion.

+

If this post was automatically deleted, then it means at least ten janitors all thought it didn't belong on the site. If you still believe this image was wrongfully deleted, then you can appeal its deletion.

-

All users are limited to one appeal a day. For more details, please read the <%= link_to "wiki", wiki_pages_path(:title => "help:deletion_appeals") %>.

+

All users are limited to one appeal a day. For more details, please read the <%= link_to "wiki", wiki_pages_path(:title => "help:deletion_appeals") %>.

- <%= form_tag(post_appeals_path(:format => :js), :remote => true) do %> - <%= hidden_field_tag "post_appeal[post_id]", @post_appeal.post_id %> - <%= text_area :post_appeal, :reason, :size => "40x5" %> - <% end %> -
-
+<%= form_tag(post_appeals_path(:format => :js), :remote => true) do %> + <%= hidden_field_tag "post_appeal[post_id]", @post_appeal.post_id %> + <%= text_area :post_appeal, :reason, :size => "40x5" %> +<% end %> diff --git a/app/views/post_appeals/new.html.erb b/app/views/post_appeals/new.html.erb index cf02345b5..a1ae2536f 100644 --- a/app/views/post_appeals/new.html.erb +++ b/app/views/post_appeals/new.html.erb @@ -1 +1,5 @@ -<%= render "post_appeals/new" %> +
+
+ <%= render "post_appeals/new" %> +
+
diff --git a/app/views/post_flags/_new.html.erb b/app/views/post_flags/_new.html.erb index 7fb229579..9d9f30624 100644 --- a/app/views/post_flags/_new.html.erb +++ b/app/views/post_flags/_new.html.erb @@ -1,29 +1,25 @@ -
-
-

If you believe a post does not belong on this site, you can flag for its deletion. As a reminder, the following are some common reasons for flagging a post:

+

If you believe a post does not belong on this site, you can flag for its deletion. As a reminder, the following are some common reasons for flagging a post:

-
    -
  • Not anime-related
  • -
  • Furry: a character has body fur or an animal face
  • -
  • Watermark: text or logo inserted by someone besides the original artist
  • -
  • Poor compression: JPEG artifacts
  • -
  • Guro: mutilation, extreme bodily distension
  • -
  • Bad proportions: extremely large breasts or penises
  • -
  • Manga: Multiple pages of a manga, doujinshi, or comic that don't stand up to individual scrutiny
  • -
  • Fake translations: Made up translations are banned
  • -
+
    +
  • Not anime-related
  • +
  • Furry: a character has body fur or an animal face
  • +
  • Watermark: text or logo inserted by someone besides the original artist
  • +
  • Poor compression: JPEG artifacts
  • +
  • Guro: mutilation, extreme bodily distension
  • +
  • Bad proportions: extremely large breasts or penises
  • +
  • Manga: Multiple pages of a manga, doujinshi, or comic that don't stand up to individual scrutiny
  • +
  • Fake translations: Made up translations are banned
  • +
-

The following are NOT valid reasons for flagging a post:

+

The following are NOT valid reasons for flagging a post:

-
    -
  • Duplicate: just parent to the original
  • -
+
    +
  • Duplicate: just parent to the original
  • +
-

Enter a reason:

+

Enter a reason:

- <%= form_tag(post_flags_path(:format => :js), :remote => true) do %> - <%= hidden_field :post_flag, :post_id %> - <%= text_area :post_flag, :reason, :size => "40x5" %> - <% end %> -
-
+<%= form_tag(post_flags_path(:format => :js), :remote => true) do %> + <%= hidden_field :post_flag, :post_id %> + <%= text_area :post_flag, :reason, :size => "40x5" %> +<% end %> diff --git a/app/views/post_flags/new.html.erb b/app/views/post_flags/new.html.erb index 296a123ab..a9437790a 100644 --- a/app/views/post_flags/new.html.erb +++ b/app/views/post_flags/new.html.erb @@ -1 +1,5 @@ -<%= render "post_flags/new" %> +
+
+ <%= render "post_flags/new" %> +
+