diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/part.feed.starred.php | 16 | ||||
-rw-r--r-- | templates/part.feed.unread.php | 33 | ||||
-rw-r--r-- | templates/part.listfeed.php | 3 |
3 files changed, 29 insertions, 23 deletions
diff --git a/templates/part.feed.starred.php b/templates/part.feed.starred.php index 2cae5ced8..56c0b394b 100644 --- a/templates/part.feed.starred.php +++ b/templates/part.feed.starred.php @@ -3,12 +3,16 @@ unread: Navigation.getStarredCount() > 0 }" class="starred"> - <a class="starred-icon" ng-href="#/items/starred/"> + <a class="icon-starred" ng-href="#/items/starred/"> <?php p($l->t('Starred')) ?> </a> - <span class="utils"> - <span class="unread-counter"> - {{ Navigation.getStarredCount() | unreadCountFormatter }} - </span> - </span> + + <div class="app-navigation-entry-utils"> + <ul> + <li class="app-navigation-entry-utils-counter" + ng-show="Navigation.getStarredCount() > 0"> + {{ Navigation.getStarredCount() | unreadCountFormatter }} + </li> + </ul> + </div> </li>
\ No newline at end of file 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 diff --git a/templates/part.listfeed.php b/templates/part.listfeed.php index 569e415eb..1c5cc3bc3 100644 --- a/templates/part.listfeed.php +++ b/templates/part.listfeed.php @@ -50,7 +50,7 @@ ng-show="feed.id && Navigation.getUnreadCount(feed.id) > 0 && !feed.error && !feed.editing"> {{ Navigation.getFeedUnreadCount(feed.id) | unreadCountFormatter }} </li> - <li><button class="app-navigation-entry-utils-menu-button" ng-click="optionsId = (optionsId == feed.id ? -1 : feed.id)"></button></li> + <li class="app-navigation-entry-utils-menu-button"><button ng-click="optionsId = (optionsId == feed.id ? -1 : feed.id)"></button></li> </ul> </div> @@ -58,6 +58,7 @@ <ul> <li><button class="icon-rename" title="<?php p($l->t('Rename feed')); ?>"></button></li> <li><button class="icon-delete" title="<?php p($l->t('Delete website')); ?>"></button></li> + <li><button class="icon-checkmark" title="<?php p($l->t('Read all')); ?>"></button></li> </ul> </div> |