aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates/feed_list_simple.html
diff options
context:
space:
mode:
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