aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/feeds.html
blob: b78b0a1b8689f290e3ee206d5ec08d23a7749f0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{% extends "layout.html" %}
{% block content %}
<div class="container">
    <h1>You are subscribed to the following feeds</h1>

    <div class="table-responsive">
        <table class="table table-striped">
            <thead>
                <tr>
                    <th>#</th>
                    <th>Title</th>
                    <th>Site</th>
                    <th>Articles</th>
                </tr>
            </thead>
            <tbody>
            {% for feed in feeds %}
                <tr>
                    <td>{{ loop.index }}</td>
                    <td><a href="/feed/{{ feed.oid }}">{{ feed.title }}</a></td>
                    <td><a href="{{ feed.site_link }}">{{ feed.site_link }}</a></td>
                    <td>{{ feed.articles|count }}</td>
            </tr>
            {% endfor %}
            </tbody>
        </table>
    </div>

</div><!-- /.container -->
{% endblock %}
bgstack15