aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates/feed_list_simple.html
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-09-20 15:08:47 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-09-20 15:08:47 +0200
commite60087e68546a8a9b483e09a78f4389fcc9ebc4e (patch)
treeacd780e7255d7de48a5519bc815c0e90f08d98b3 /src/web/templates/feed_list_simple.html
parentDraft for a public user profile page. (diff)
downloadnewspipe-e60087e68546a8a9b483e09a78f4389fcc9ebc4e.tar.gz
newspipe-e60087e68546a8a9b483e09a78f4389fcc9ebc4e.tar.bz2
newspipe-e60087e68546a8a9b483e09a78f4389fcc9ebc4e.zip
Few improvemnts for the tag cloud of the user's profile pages.
Diffstat (limited to 'src/web/templates/feed_list_simple.html')
-rw-r--r--src/web/templates/feed_list_simple.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/web/templates/feed_list_simple.html b/src/web/templates/feed_list_simple.html
new file mode 100644
index 00000000..976c3631
--- /dev/null
+++ b/src/web/templates/feed_list_simple.html
@@ -0,0 +1,22 @@
+{% if feeds.count() != 0 %}
+<div class="table-responsive">
+ <table class="table table-striped">
+ <thead>
+ <tr>
+ <th>#</th>
+ <th>{{ _('Title') }}</th>
+ <th>{{ _('Site') }}</th>
+ </tr>
+ </thead>
+ <tbody>
+ {% for feed in feeds %}
+ <tr>
+ <td>{{ loop.index }}</td>
+ <td>{% if feed.icon_url %}<img src="{{ url_for('icon.icon', url=feed.icon_url) }}" width="16px" />&nbsp;{% endif %}{{ feed.title }}</td>
+ <td><a href="{{ feed.site_link }}">{{ feed.site_link }}</a></td>
+ </tr>
+ {% endfor %}
+ </tbody>
+ </table>
+</div>
+{% endif %}
bgstack15