diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-06-25 21:14:39 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-06-25 21:14:39 -0700 |
commit | 5e72c387ccf37501d79536c8dde4d96fd15c6a3e (patch) | |
tree | e2249e70c675dd4393d09779503eb244b1174664 /ext | |
parent | 8f850055a50c949b7494b38343111bc0c169cff7 (diff) |
fix result page for no items found
Diffstat (limited to 'ext')
-rw-r--r-- | ext/bg/js/templates.js | 4 | ||||
-rw-r--r-- | ext/fg/frame.html | 2 | ||||
-rw-r--r-- | ext/mixed/css/frame.css | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/ext/bg/js/templates.js b/ext/bg/js/templates.js index d2e5435e..f10134ee 100644 --- a/ext/bg/js/templates.js +++ b/ext/bg/js/templates.js @@ -404,7 +404,7 @@ templates['kanji.html'] = template({"1":function(container,depth0,helpers,partia },"23":function(container,depth0,helpers,partials,data) { return "<hr>"; },"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) { var stack1; @@ -586,7 +586,7 @@ templates['terms.html'] = template({"1":function(container,depth0,helpers,partia },"39":function(container,depth0,helpers,partials,data) { return "<hr>"; },"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) { var stack1; diff --git a/ext/fg/frame.html b/ext/fg/frame.html index 43f46d33..c20745af 100644 --- a/ext/fg/frame.html +++ b/ext/fg/frame.html @@ -7,7 +7,7 @@ <link rel="stylesheet" href="/mixed/lib/bootstrap/css/bootstrap-theme.min.css"> <link rel="stylesheet" href="/mixed/css/frame.css"> <style type="text/css"> - .entry { + .entry, .note { padding-left: 10px; padding-right: 10px; } diff --git a/ext/mixed/css/frame.css b/ext/mixed/css/frame.css index a425aca8..a0b45fa4 100644 --- a/ext/mixed/css/frame.css +++ b/ext/mixed/css/frame.css @@ -51,7 +51,7 @@ hr { * Entries */ -.entry { +.entry, .note { padding-top: 10px; padding-bottom: 10px; } |