aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2018-11-10 16:24:03 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2018-11-10 16:24:03 +0100
commit2791b7b8a58fd5b535c2c65599653f7adb9e71de (patch)
treeda1cba3b516fecd89bb7cbf667d620439b4f7e15 /src/web/templates
parentUpdated dependencies. (diff)
parentMerge branch 'master' of gitlab.com:newspipe/newspipe (diff)
downloadnewspipe-2791b7b8a58fd5b535c2c65599653f7adb9e71de.tar.gz
newspipe-2791b7b8a58fd5b535c2c65599653f7adb9e71de.tar.bz2
newspipe-2791b7b8a58fd5b535c2c65599653f7adb9e71de.zip
Merge branch 'master' of gitlab.com:newspipe/newspipe
Diffstat (limited to 'src/web/templates')
-rw-r--r--src/web/templates/popular.html35
1 files changed, 22 insertions, 13 deletions
diff --git a/src/web/templates/popular.html b/src/web/templates/popular.html
index aae50a8c..4b207903 100644
--- a/src/web/templates/popular.html
+++ b/src/web/templates/popular.html
@@ -1,18 +1,27 @@
{% extends "layout.html" %}
{% block content %}
<div class="container">
- <h1>{{ _('Popular feeds') }}</h1>
- <ul class="list-group">
- {% for feed in popular %}
- <li class="list-group-item">
- <a href="{{ feed[0] }}">{{ feed[0] }}</a>&nbsp;
- <a href="{{ url_for('feed.bookmarklet', url=feed[0]) }}" >
- <span class="glyphicon glyphicon-plus text-muted" title="follow this feed"></span>
- <span class="text-muted">{{ _('add this feed') }}</a>
- </a>
- <span class="badge">{{ feed[1] }}</span>
- </li>
- {% endfor %}
- </ul>
+ <div class="row">
+ <div class="col-md-12">
+ <h1>{{ _('Popular feeds') }}</h1>
+ <a href="{{ url_for('popular', nb_days='all') }}">all</a>&nbsp;&#8231;&nbsp;<a href="{{ url_for('popular', nb_days=365) }}">last year</a>&nbsp;&#8231;&nbsp;<a href="{{ url_for('popular', nb_days=31) }}">last month</a>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-md-12">
+ <ul class="list-group">
+ {% for feed in popular %}
+ <li class="list-group-item">
+ <a href="{{ feed[0] }}">{{ feed[0] }}</a>&nbsp;
+ <a href="{{ url_for('feed.bookmarklet', url=feed[0]) }}" >
+ <span class="glyphicon glyphicon-plus text-muted" title="follow this feed"></span>
+ <span class="text-muted">{{ _('add this feed') }}</span>
+ </a>
+ <span class="badge">{{ feed[1] }}</span>
+ </li>
+ {% endfor %}
+ </ul>
+ </div>
+ </div>
</div><!-- /.container -->
{% endblock %}
bgstack15