aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates/popular.html
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-09-20 15:31:12 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-09-20 15:31:12 +0200
commit2abfc7c43131e0366137b27b0b75132da6ef6582 (patch)
treecd313c9c1a80fb64508b2e17b660b8108452cbce /src/web/templates/popular.html
parentFew improvemnts for the tag cloud of the user's profile pages. (diff)
downloadnewspipe-2abfc7c43131e0366137b27b0b75132da6ef6582.tar.gz
newspipe-2abfc7c43131e0366137b27b0b75132da6ef6582.tar.bz2
newspipe-2abfc7c43131e0366137b27b0b75132da6ef6582.zip
simple test of a 'popular' page.
Diffstat (limited to 'src/web/templates/popular.html')
-rw-r--r--src/web/templates/popular.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/web/templates/popular.html b/src/web/templates/popular.html
new file mode 100644
index 00000000..6b2e9001
--- /dev/null
+++ b/src/web/templates/popular.html
@@ -0,0 +1,13 @@
+{% 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> <span class="badge">{{ feed[1] }}</span>
+ </li>
+ {% endfor %}
+</ul>
+</div><!-- /.container -->
+{% endblock %}
bgstack15