update tests
This commit is contained in:
@@ -34,7 +34,6 @@
|
||||
$dest.empty();
|
||||
Danbooru.RelatedTag.build_recent_and_frequent($dest);
|
||||
$dest.append("<em>Loading...</em>");
|
||||
$("#related-tags-container").show();
|
||||
$.get("/related_tag.json", {
|
||||
"query": Danbooru.RelatedTag.current_tag(),
|
||||
"category": category
|
||||
@@ -93,6 +92,9 @@
|
||||
}
|
||||
|
||||
Danbooru.RelatedTag.process_response = function(data) {
|
||||
if (data.tags.length || data.wiki_page_tags.length || data.other_wikis.length) {
|
||||
$("#related-tags-container").show();
|
||||
}
|
||||
Danbooru.RelatedTag.recent_search = data;
|
||||
Danbooru.RelatedTag.build_all();
|
||||
}
|
||||
|
||||
@@ -471,9 +471,10 @@ div#c-post-versions, div#c-artist-versions {
|
||||
div#c-posts, div#c-uploads {
|
||||
/* Fetch source data box */
|
||||
div#source-info {
|
||||
border-radius: 4px;
|
||||
margin: 1em 0;
|
||||
padding: 1em;
|
||||
border: 1px solid gray;
|
||||
border: 1px solid #666;
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
@import "../common/000_vars.scss";
|
||||
|
||||
div#related-tags-container {
|
||||
display: none;
|
||||
padding-right: 2em;
|
||||
|
||||
h1 {
|
||||
@@ -14,6 +15,7 @@ div.related-tags {
|
||||
padding: 1em;
|
||||
background: #EEE;
|
||||
overflow: auto;
|
||||
border-radius: 4px;
|
||||
|
||||
div.tag-column {
|
||||
max-width: 15em;
|
||||
|
||||
@@ -41,11 +41,18 @@ div#c-uploads {
|
||||
max-width: 700px;
|
||||
min-height: 50px;
|
||||
|
||||
.placeholder {
|
||||
font-style: italic;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
&.error {
|
||||
border-color: darken(#f2dede, 30%);
|
||||
background-color: #f2dede;
|
||||
}
|
||||
|
||||
&.success {
|
||||
border-color: darken(#dff0d8, 30%);
|
||||
background-color: #dff0d8;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user