aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2020-03-14 11:05:36 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2020-03-14 11:05:36 +0100
commitbd2e6d05d3bc3f929e63c048784111f6560bf5de (patch)
treeb78e44e4b98b1ca3e687218d675b1f9edda96eeb
parentPreparing new 9.1.0 release. (diff)
downloadnewspipe-bd2e6d05d3bc3f929e63c048784111f6560bf5de.tar.gz
newspipe-bd2e6d05d3bc3f929e63c048784111f6560bf5de.tar.bz2
newspipe-bd2e6d05d3bc3f929e63c048784111f6560bf5de.zip
Minor optimizations of the layout for the home page.
-rw-r--r--newspipe/templates/home.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/newspipe/templates/home.html b/newspipe/templates/home.html
index 1dbfe9cd..a4f60297 100644
--- a/newspipe/templates/home.html
+++ b/newspipe/templates/home.html
@@ -38,8 +38,8 @@
<li class="nav-item feed-commands"><span class="nav-link">
<a href="/feed/{{ fid }}"><i class="fa fa-info" aria-hidden="true" title="{{ _('Details') }}"></i></a>
<a href="{{ url_for('feed.form', feed_id=fid) }}"><i class="fa fa-pencil-square-o" aria-hidden="true" title="{{ _('Edit this feed') }}"></i></a>
- <a href="{{ url_for('article.mark_as', new_value='read', feed_id=fid) }}"><i class="fa fa-check-square-o" aria-hidden="true" title="{{ _('Mark this feed as read') }}"></i></a>
<a href="{{ url_for('article.mark_as', new_value='unread', feed_id=fid) }}"><i class="fa fa-square-o" aria-hidden="true" title="{{ _('Mark this feed as unread') }}"></i></a>
+ <a href="{{ url_for('article.mark_as', new_value='read', feed_id=fid) }}"><i class="fa fa-check-square-o" aria-hidden="true" title="{{ _('Mark this feed as read') }}"></i></a>
<a href="{{ url_for('feed.delete', feed_id=fid) }}"><i class="fa fa-times" aria-hidden="true" title="{{ _('Delete this feed') }}" onclick="return confirm('{{ _('You are going to delete this feed.') }}');"></i></a>
</span></li>
{% endfor %}
@@ -57,8 +57,8 @@
<li class="nav-item feed-commands"><span class="nav-link">
<a href="/feed/{{ fid }}"><i class="fa fa-info" aria-hidden="true" title="{{ _('Details') }}"></i></a>
<a href="{{ url_for('feed.form', feed_id=fid) }}"><i class="fa fa-pencil-square-o" aria-hidden="true" title="{{ _('Edit this feed') }}"></i></a>
- <a href="{{ url_for('article.mark_as', new_value='read', feed_id=fid) }}"><i class="fa fa-check-square-o" aria-hidden="true" title="{{ _('Mark this feed as read') }}"></i></a>
<a href="{{ url_for('article.mark_as', new_value='unread', feed_id=fid) }}"><i class="fa fa-square-o" aria-hidden="true" title="{{ _('Mark this feed as unread') }}"></i></a>
+ <a href="{{ url_for('article.mark_as', new_value='read', feed_id=fid) }}"><i class="fa fa-check-square-o" aria-hidden="true" title="{{ _('Mark this feed as read') }}"></i></a>
<a href="{{ url_for('feed.delete', feed_id=fid) }}"><i class="fa fa-times" aria-hidden="true" title="{{ _('Delete this feed') }}" onclick="return confirm('{{ _('You are going to delete this feed.') }}');"></i></a>
</span></li>
{% endfor %}
@@ -94,7 +94,11 @@
<table class="table table-striped strict-table">
<thead>
<tr>
- <th></th>
+ <th>
+ {% if feed_id %}
+ <a href="{{ url_for('article.mark_as', new_value='read', feed_id=feed_id) }}"><i class="fa fa-check-square-o" aria-hidden="true" title="{{ _('Mark this feed as read') }}"></i></a>
+ {% endif%}
+ </th>
<th>{{ _('Feed') }}</th>
<th>{{ _('Article') }}</th>
<th>{{ _('Date') }}</th>
bgstack15