diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-03-30 16:20:05 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-03-30 16:20:05 +0200 |
commit | ee3d2332ec97487893ae5f1f46b599c550b25eb6 (patch) | |
tree | e5a46f12fc027e3deb7c9436160595bb60d99356 /templates/index.php | |
parent | 026ccbc8875fc78b665dec95c308afe8a3c5899e (diff) |
fix #156
Diffstat (limited to 'templates/index.php')
-rw-r--r-- | templates/index.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/index.php b/templates/index.php index 8df71076f..7d9d69297 100644 --- a/templates/index.php +++ b/templates/index.php @@ -60,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> @@ -81,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'), |