mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
53 lines
2.6 KiB
HTML
53 lines
2.6 KiB
HTML
<div>
|
|
<div class="entrylist-header" ui-if="name">
|
|
<h3><span>{{name}} </span><span ng-show="name && selectedType == 'category'"> »</span></h3>
|
|
</div>
|
|
|
|
<div infinite-scroll="loadMoreEntries()" infinite-scroll-disabled="busy || !settingsService.settings.readingMode" infinite-scroll-distance="1" id="feed-accordion">
|
|
<div ng-show="message && errorCount > 10">Error while loading this feed : {{message}}</div>
|
|
<div ng-repeat="entry in entries" class="entry" scroll-to="isOpen && current == entry" scroll-to-offset="-58">
|
|
<a href="{{entry.url}}" target="_blank" class="entry-heading" ng-click="noop($event)" ng-mouseup="entryClicked(entry, $event)"
|
|
ng-class="{open: current == entry, closed: current != entry}">
|
|
<span class="feed-name">
|
|
<span class="star" ng-mouseup="star(entry, !entry.starred, $event)">
|
|
<i ng-class="{'icon-star icon-star-yellow': entry.starred, 'icon-star-empty': !entry.starred}"
|
|
class="pointer"></i>
|
|
</span>
|
|
<favicon url="entry.feedLink" />
|
|
{{entry.feedName}}
|
|
</span>
|
|
<span class="entry-date">{{entry.date | date: 'yyyy-MM-dd HH:mm'}}</span>
|
|
<span class="entry-name" ng-class="{unread: entry.read == false, shrink: true}" ng-bind-html-unsafe="entry.title"></span>
|
|
|
|
</a>
|
|
<div class="entry-body" ui-if="isOpen && current == entry">
|
|
<div>
|
|
<h4>
|
|
<a href="{{entry.url}}" target="_blank" ng-bind-html-unsafe="entry.title"></a>
|
|
</h4>
|
|
</div>
|
|
<div ng-bind-html-unsafe="entry.content" class="entry-body-content"></div>
|
|
<video controls ui-if="entry.enclosureType && entry.enclosureType.indexOf('video') == 0">
|
|
<source src="{{entry.enclosureUrl}}" type="{{entry.enclosureType}}" />
|
|
</video>
|
|
<audio controls ui-if="entry.enclosureType && entry.enclosureType.indexOf('audio') == 0">
|
|
<source src="{{entry.enclosureUrl}}" type="{{entry.enclosureType}}" />
|
|
</audio>
|
|
<div class="entry-buttons form-horizontal">
|
|
<label class="checkbox">
|
|
<input type="checkbox" ng-checked="!entry.read" ng-click="mark(entry, !entry.read)"></input>
|
|
Keep unread
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="no-entries" ng-show="name && entries.length == 0 && !busy">"{{name}}" has no unread items.</div>
|
|
<div modal="shortcutsModal" close="shortcutsModal=false" options="shortcutsOpts">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" ng-click="shortcutsModal=false">×</button>
|
|
<h4>Keyboard shortcuts</h4>
|
|
</div>
|
|
<div ng-include="'templates/_shortcuts.html'"></div>
|
|
</div>
|
|
</div>
|
|
</div> |