Files
commafeed/src/main/webapp/templates/feeds.html

27 lines
1.1 KiB
HTML
Raw Normal View History

<div ng-controller="FeedListCtrl">
2013-03-23 23:14:14 +01:00
{{readType}}
<span>{{entryList.name}}</span><span
ng-show="selectedType == 'category'"> &#187;</span>
2013-03-25 21:01:29 +01:00
<div id="feed-accordion" infinite-scroll="loadMoreEntries()" infinite-scroll-disabled="busy" infinite-scroll-distance="1">
2013-03-26 12:10:19 +01:00
<accordion close-others="true">
<accordion-group ng-repeat="entry in entryList.entries" class="entry">
<accordion-heading>
<div class="entry-heading" ng-click="toggle(entry)" ng-class="{unread: entry.read == false, open: current == entry, closed: current != entry}">
<span ng-show="selectedType == 'category'">{{entry.feedName}}
- </span>{{entry.title}} <span class="pull-right">{{entry.date}}</span>
</div>
</accordion-heading>
2013-03-25 14:58:15 +01:00
<div>
<div>
<h4>
<a href="{{entry.url}}" target="_blank">{{entry.title}}</a>
</h4>
</div>
<div ng-bind-html="entry.content"></div>
</div>
2013-03-26 12:10:19 +01:00
</accordion-group>
</accordion>
2013-03-25 21:01:29 +01:00
<div class="no-entries" ng-show="entryList.entries.length == 0">"{{entryList.name}}" has no unread items.</div>
2013-03-25 13:52:02 +01:00
<div ng-show="busy">Loading data...</div>
2013-03-21 16:22:58 +01:00
</div>
</div>