fixes #2487: Blacklist re-enable/disable all access for inline lists

This commit is contained in:
r888888888
2015-08-18 16:07:58 -07:00
parent f93c3a827d
commit 6f4c460cff
3 changed files with 6 additions and 7 deletions

View File

@@ -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);

View File

@@ -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;
}
}
}

View File

@@ -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>