summaryrefslogtreecommitdiffstats
path: root/templates/part.feed.unread.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-08-27 12:00:48 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-08-27 12:00:48 +0200
commite24e0a32c7bd167d1b3ca57686638d45eeb23ed5 (patch)
treebd501833411b6c4f23f86e80b9b859ff7badaaf9 /templates/part.feed.unread.php
parent78fba05e7ea0128bbe2fef6955874620277e0881 (diff)
styles for navigation entries
Diffstat (limited to 'templates/part.feed.unread.php')
-rw-r--r--templates/part.feed.unread.php33
1 files changed, 17 insertions, 16 deletions
diff --git a/templates/part.feed.unread.php b/templates/part.feed.unread.php
index 7381d68d7..f572f1d43 100644
--- a/templates/part.feed.unread.php
+++ b/templates/part.feed.unread.php
@@ -3,27 +3,28 @@
unread: Navigation.getUnreadCount() > 0
}">
- <a class="rss-icon" ng-href="#/items/" ng-if="!Navigation.isShowAll()">
+ <a class="icon-rss" ng-href="#/items/" ng-if="!Navigation.isShowAll()">
<?php p($l->t('Unread articles'))?>
</a>
- <a class="rss-icon" ng-href="#/items/" ng-if="Navigation.isShowAll()">
+ <a class="icon-rss" ng-href="#/items/" ng-if="Navigation.isShowAll()">
<?php p($l->t('All articles'))?>
</a>
- <div class="utils">
+ <div class="app-navigation-entry-utils">
+ <ul>
+ <li class="app-navigation-entry-utils-counter"
+ ng-show="Navigation.getUnreadCount() > 0">
+ {{ Navigation.getUnreadCount() | unreadCountFormatter }}
+ </li>
+ <li class="app-navigation-entry-utils-menu-button"><button ng-click="optionsId = (optionsId == 'all' ? -1 : 'all')"></button></li>
+ </ul>
+ </div>
+
+ <div class="app-navigation-entry-menu" ng-class="{'app-navigation-entry-menu-open': optionsId == 'all'}">
+ <ul>
+ <li><button class="icon-checkmark" title="<?php p($l->t('Read all')); ?>" ng-click="Navigation.markRead()"></button></li>
+ </ul>
+ </div>
- </div>
- <span class="utils">
- <span class="unread-counter" ng-show="Navigation.getUnreadCount() > 0">
- {{ Navigation.getUnreadCount() | unreadCountFormatter }}
- </span>
- <!--
- <button class="svg action mark-read-icon"
- ng-click="Navigation.markRead()"
- title="<?php p($l->t('Mark read')) ?>"
- ng-show="getTotalUnreadCount() > 0"
- oc-tooltip data-placement="bottom"></button>
- -->
- </span>
</li> \ No newline at end of file