diff options
author | Bernhard Posselt <Raydiation@users.noreply.github.com> | 2015-03-30 19:40:07 +0200 |
---|---|---|
committer | Bernhard Posselt <Raydiation@users.noreply.github.com> | 2015-03-30 19:40:07 +0200 |
commit | 05985bc2965f8a332e98121050ba1f07343bbc0f (patch) | |
tree | 96ca5d59b7ce3c9d3678dd95d8595145d1d5df08 /templates/index.php | |
parent | eb7fc97f33cadcf041a06915b8f1650a9b4f6bbb (diff) | |
parent | ee3d2332ec97487893ae5f1f46b599c550b25eb6 (diff) |
Merge pull request #751 from owncloud/next
Changes for 8.1
Diffstat (limited to 'templates/index.php')
-rw-r--r-- | templates/index.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/index.php b/templates/index.php index e8064d1d6..7d9d69297 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" class="ng-hide"></news-search> <news-title-unread-count unread-count="{{ Navigation.getUnreadCount() }}"> </news-title-unread-count> @@ -58,6 +60,9 @@ foreach (Plugin::getScripts() as $appName => $fileName) { </div> <!-- content --> + <script type="text/ng-template" id="audio.html"> + <?php print_unescaped($this->inc('part.content.audio')) ?> + </script> <script type="text/ng-template" id="articleaction.html"> <?php print_unescaped($this->inc('part.content.articleaction')) ?> </script> @@ -79,6 +84,14 @@ foreach (Plugin::getScripts() as $appName => $fileName) { }" tabindex="-1" news-pull-to-refresh="showPullToRefresh"> + <div class="podcast" news-sticky-menu="#app-content" ng-if="App.playingItem"> + <audio controls autoplay ng-src="{{ App.playingItem.enclosureLink|trustUrl }}" news-play-one></audio> + <a class="button podcast-download" title="<?php p($l->t('Download')) ?>" + ng-href="{{ App.playingItem.enclosureLink|trustUrl }}" + target="_blank"></a> + <button class="podcast-close" title="<?php p($l->t('Close')) ?>" + ng-click="App.playingItem = false"></button> + </div> <div id="app-content-wrapper" ng-class="{ 'autopaging': App.loading.isLoading('autopaging'), |