diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-03-21 02:50:52 +0300 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-03-21 15:36:50 +0300 |
commit | c0e6ca12e83e27b2ef86a58f9a44c0248e711a75 (patch) | |
tree | c3710a516ca17aa99e46112c2a911985174fec28 /templates | |
parent | dde0b1c0e72e7ffa9ef1ea01246effc50eff9667 (diff) |
implement clientside search code
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.php | 2 |
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> |