diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-11-02 00:02:19 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-11-02 00:02:19 +0100 |
commit | b43ff94bdf211d56c9f7662a9b55cd866b4670ad (patch) | |
tree | fe2199f40c937c4372d8fc1bb8e9d27d61966598 | |
parent | Merged Flask branch into default. (diff) | |
download | newspipe-b43ff94bdf211d56c9f7662a9b55cd866b4670ad.tar.gz newspipe-b43ff94bdf211d56c9f7662a9b55cd866b4670ad.tar.bz2 newspipe-b43ff94bdf211d56c9f7662a9b55cd866b4670ad.zip |
Added new responsive table for the /feeds page.
-rw-r--r-- | pyaggr3g470r/templates/feeds.html | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/pyaggr3g470r/templates/feeds.html b/pyaggr3g470r/templates/feeds.html index 1efa0b1f..b78b0a1b 100644 --- a/pyaggr3g470r/templates/feeds.html +++ b/pyaggr3g470r/templates/feeds.html @@ -2,10 +2,29 @@ {% block content %} <div class="container"> <h1>You are subscribed to the following feeds</h1> - <ul> - {% for feed in feeds %} - <li><a href="/feed/{{ feed.oid }}">{{ feed.title }}</a></li> - {% endfor %} - </ul> + + <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 %}
\ No newline at end of file |