diff --git a/WebKit/css/default.css b/WebKit/css/default.css index eb29391..ff8bbfd 100644 --- a/WebKit/css/default.css +++ b/WebKit/css/default.css @@ -441,4 +441,9 @@ form.search input { width: 100%; padding: 10px; font-size: 1.2em; +} + +p.noresult { + padding : 10px; + text-align : center; } \ No newline at end of file diff --git a/WebKit/scripts/controller/Search.js b/WebKit/scripts/controller/Search.js index 55b7d57..51ce153 100644 --- a/WebKit/scripts/controller/Search.js +++ b/WebKit/scripts/controller/Search.js @@ -116,6 +116,11 @@ function(HostApp, Core, Paths, URI) { _this.body.appendChild(new_node); } } + } else { + var noresult = document.createElement("p"); + noresult.className = "noresult"; + noresult.textContent = "No Results"; + _this.body.appendChild(noresult); } }, null, false);