mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
29 lines
1.2 KiB
HTML
29 lines
1.2 KiB
HTML
<div ng-controller="FeedListCtrl">
|
|
|
|
<div class="entrylist-header">
|
|
<h3><span>{{entryList.name}} </span><span ng-show="entryList.name && selectedType == 'category'"> »</span></h3>
|
|
</div>
|
|
|
|
<div id="feed-accordion" infinite-scroll="loadMoreEntries()" infinite-scroll-disabled="busy" infinite-scroll-distance="1">
|
|
<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>
|
|
<div class="entry-body">
|
|
<div>
|
|
<h4>
|
|
<a href="{{entry.url}}" target="_blank">{{entry.title}}</a>
|
|
</h4>
|
|
</div>
|
|
<div ng-bind-html-unsafe="entry.content" ui-if="isOpen && current == entry"></div>
|
|
</div>
|
|
</accordion-group>
|
|
</accordion>
|
|
<div class="no-entries" ng-show="entryList.entries.length == 0">"{{entryList.name}}" has no unread items.</div>
|
|
<div ng-show="busy">Loading data...</div>
|
|
</div>
|
|
</div> |