summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-03-21 00:50:52 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2015-03-21 13:36:50 +0100
commitc0e6ca12e83e27b2ef86a58f9a44c0248e711a75 (patch)
treec3710a516ca17aa99e46112c2a911985174fec28 /templates
parentdde0b1c0e72e7ffa9ef1ea01246effc50eff9667 (diff)
implement clientside search code
Diffstat (limited to 'templates')
-rw-r--r--templates/index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/index.php b/templates/index.php
index e8064d1d6..d6b701cef 100644
--- a/templates/index.php
+++ b/templates/index.php
@@ -26,6 +26,7 @@ foreach (Plugin::getScripts() as $appName => $fileName) {
<div id="app" ng-app="News" ng-cloak ng-strict-di
ng-controller="AppController as App">
+
<div id="global-loading"
class="icon-loading"
ng-show="App.loading.isLoading('global')"></div>
@@ -35,6 +36,7 @@ foreach (Plugin::getScripts() as $appName => $fileName) {
ng-controller="NavigationController as Navigation"
ng-hide="App.loading.isLoading('global')">
+ <news-search on-search="Navigation.search" />
<news-title-unread-count
unread-count="{{ Navigation.getUnreadCount() }}">
</news-title-unread-count>