fixes #2487: Blacklist re-enable/disable all access for inline lists
This commit is contained in:
@@ -62,9 +62,9 @@
|
||||
var hash = entry.tags.hash();
|
||||
|
||||
link.text(entry.tags);
|
||||
link.addClass("blacklist-toggle");
|
||||
link.click(Danbooru.Blacklist.toggle_entry);
|
||||
count.html(entry.hits);
|
||||
count.addClass("count");
|
||||
item.append(link);
|
||||
item.append(" ");
|
||||
item.append(count);
|
||||
|
||||
@@ -48,12 +48,8 @@ article.post-preview {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
a.blacklist-toggle {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
a.blacklisted-active {
|
||||
text-decoration: none;
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
.post-preview.blacklisted-active, #image-container.blacklisted-active {
|
||||
@@ -525,8 +521,9 @@ div#c-explore-posts, div#c-post-appeals, div#c-post-flags, div#c-pools, div#c-no
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
span {
|
||||
span.count {
|
||||
color: #AAA;
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
<div id="blacklist-box">
|
||||
<strong>Blacklisted: </strong>
|
||||
<ul id="blacklist-list">
|
||||
<li id="disable-all-blacklists" style="display: none;"><span class="link">Disable all</span></li>
|
||||
<li id="re-enable-all-blacklists" style="display: none;"><span class="link">Re-enable all</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user