summaryrefslogtreecommitdiffstats
path: root/templates/main.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-05-23 17:55:30 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-05-23 17:55:30 +0200
commit6208debf043fc8af28de13515dec4d10ace99bc3 (patch)
tree3d1cfc3a94b622f5fc7c65fac0a8f9fb8aadfb37 /templates/main.php
parent4fa9c6d6cfc24b848bc8bb1526ef8ef50f046cb3 (diff)
use firefox for ci and e2e
Diffstat (limited to 'templates/main.php')
-rw-r--r--templates/main.php37
1 files changed, 7 insertions, 30 deletions
diff --git a/templates/main.php b/templates/main.php
index 4c576754b..ad0d0a6ed 100644
--- a/templates/main.php
+++ b/templates/main.php
@@ -10,28 +10,21 @@
\OCP\Util::addScript('news', 'build/app');
\OCP\Util::addStyle('news', 'bootstrap/tooltip');
-\OCP\Util::addStyle('news', 'navigation');
\OCP\Util::addStyle('news', 'app');
-\OCP\Util::addStyle('news', 'content');
+//\OCP\Util::addStyle('news', 'navigation');
+//\OCP\Util::addStyle('news', 'content');
\OCP\Util::addStyle('news', 'settings');
?>
<div id="app" ng-app="News" ng-cloak ng-controller="AppController as App">
- <div id="global-loading" class="loading-icon" ng-show="App.loading.isLoading('global')"></div>
- <!--
- <div id="undo-container">
- <div undo-notification id="undo">
- <a href="#"><?php p($l->t('Undo deletion of %s', '{{ getCaption() }}')); ?></a>
- </div>
- </div>
- <news-translate key="appName"><?php p($l->t('News')); ?></news-translate>
- -->
+ <div id="global-loading" class="icon-loading" ng-show="App.loading.isLoading('global')"></div>
+ <!-- navigation -->
<div id="app-navigation" ng-controller="NavigationController" ng-hide="App.loading.isLoading('global')">
- <ul class="with-icon" data-id="0" droppable>
+ <ul class="with-icon" data-folder-id="0" news-droppable>
<?php //print_unescaped($this->inc('part.addnew')) ?>
<?php //print_unescaped($this->inc('part.feed.unread')) ?>
<?php //print_unescaped($this->inc('part.feed.starred')) ?>
@@ -45,25 +38,9 @@
</div>
+ <!-- content -->
<script type="text/ng-template" id="content.html"><?php print_unescaped($this->inc('part.content')) ?></script>
- <div id="app-content" ng-hide="App.loading.isLoading('global')" ng-view></div>
-
- <!--
- <div id="app-content" ng-class="{
- loading: isLoading(),
- autopaging: isAutoPaging()
- }"
- ng-controller="ItemController"
- ng-show="initialized && !feedBusinessLayer.noFeeds()"
- news-item-scroll="true"
- item-shortcuts
- news-pull-to-refresh="loadNew()"
- tabindex="-1"
- news-auto-focus>
- <?php print_unescaped($this->inc("part.items")); ?>
- </div>
-
- -->
+ <div id="app-content" ng-class="{'icon-loading': App.loading.isLoading('content')}" ng-hide="App.loading.isLoading('global')" ng-view></div>
</div>