fix result page for no items found

This commit is contained in:
Alex Yatskov 2017-06-25 21:14:39 -07:00
parent 8f850055a5
commit 5e72c387cc
5 changed files with 6 additions and 6 deletions

View File

@ -404,7 +404,7 @@ templates['kanji.html'] = template({"1":function(container,depth0,helpers,partia
},"23":function(container,depth0,helpers,partials,data) { },"23":function(container,depth0,helpers,partials,data) {
return "<hr>"; return "<hr>";
},"25":function(container,depth0,helpers,partials,data) { },"25":function(container,depth0,helpers,partials,data) {
return "<p>No results found.</p>\n"; return "<p class=\"note\">No results found.</p>\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) { },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1; var stack1;
@ -586,7 +586,7 @@ templates['terms.html'] = template({"1":function(container,depth0,helpers,partia
},"39":function(container,depth0,helpers,partials,data) { },"39":function(container,depth0,helpers,partials,data) {
return "<hr>"; return "<hr>";
},"41":function(container,depth0,helpers,partials,data) { },"41":function(container,depth0,helpers,partials,data) {
return "<p>No results found.</p>\n"; return "<p class=\"note\">No results found.</p>\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) { },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1; var stack1;

View File

@ -7,7 +7,7 @@
<link rel="stylesheet" href="/mixed/lib/bootstrap/css/bootstrap-theme.min.css"> <link rel="stylesheet" href="/mixed/lib/bootstrap/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="/mixed/css/frame.css"> <link rel="stylesheet" href="/mixed/css/frame.css">
<style type="text/css"> <style type="text/css">
.entry { .entry, .note {
padding-left: 10px; padding-left: 10px;
padding-right: 10px; padding-right: 10px;
} }

View File

@ -51,7 +51,7 @@ hr {
* Entries * Entries
*/ */
.entry { .entry, .note {
padding-top: 10px; padding-top: 10px;
padding-bottom: 10px; padding-bottom: 10px;
} }

View File

@ -63,5 +63,5 @@
{{> kanji debug=../debug addable=../addable source=../source root=../root}} {{> kanji debug=../debug addable=../addable source=../source root=../root}}
{{/each}} {{/each}}
{{else}} {{else}}
<p>No results found.</p> <p class="note">No results found.</p>
{{/if}} {{/if}}

View File

@ -72,5 +72,5 @@
{{> term debug=../debug grouped=../grouped addable=../addable playback=../playback}} {{> term debug=../debug grouped=../grouped addable=../addable playback=../playback}}
{{/each}} {{/each}}
{{else}} {{else}}
<p>No results found.</p> <p class="note">No results found.</p>
{{/if}} {{/if}}