/{pools,favgroups}/:id/order/edit: add blacklist controls.

This commit is contained in:
evazion
2017-07-11 20:28:48 -05:00
parent 638f7522dd
commit ed7b80c016
3 changed files with 6 additions and 1 deletions

View File

@@ -66,7 +66,8 @@ div#c-pool-orders, div#c-favorite-group-orders {
cursor: pointer;
margin-right: 20px;
margin-bottom: 20px;
width: 150px;
min-width: 150px;
min-height: 150px;
padding: 10px;
@include inline-block;
}

View File

@@ -3,6 +3,8 @@
<h1>Order Favorite Group: <%= @favorite_group.pretty_name %></h1>
<p>Drag and drop the list below to determine ordering.</p>
<%= render "posts/partials/common/inline_blacklist" %>
<ul id="sortable">
<% @favorite_group.posts(:limit => 1_000).each do |post| %>
<li class="ui-state-default" id="favorite_group[post_id_array]_<%= post.id %>">

View File

@@ -3,6 +3,8 @@
<h1>Order Pool: <%= @pool.pretty_name %></h1>
<p>Drag and drop the list below to determine ordering.</p>
<%= render "posts/partials/common/inline_blacklist" %>
<ul id="sortable">
<% @pool.posts(:limit => 1_000).each do |post| %>
<li class="ui-state-default" id="pool[post_id_array]_<%= post.id %>">