aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/home.html
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-10-13 12:10:57 +0200
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-10-13 12:10:57 +0200
commite3ed62caa7d4fe832adacf82b97b8802961e0d08 (patch)
treee8f1ed4f85eebfc2104e591303844964ba20d310 /pyaggr3g470r/templates/home.html
parentFirst prototype for the /article page. (diff)
downloadnewspipe-e3ed62caa7d4fe832adacf82b97b8802961e0d08.tar.gz
newspipe-e3ed62caa7d4fe832adacf82b97b8802961e0d08.tar.bz2
newspipe-e3ed62caa7d4fe832adacf82b97b8802961e0d08.zip
First prototype for the /articles page.
Diffstat (limited to 'pyaggr3g470r/templates/home.html')
-rw-r--r--pyaggr3g470r/templates/home.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html
index b6e24a50..614ad269 100644
--- a/pyaggr3g470r/templates/home.html
+++ b/pyaggr3g470r/templates/home.html
@@ -3,11 +3,12 @@
<div class="container">
{% for feed in feeds %}
<div class="row">
- <div class="col-md-6 col-md-offset-3"><h1>{{ feed.title }}</h1></div>
+ <div class="col-md-6 col-md-offset-3">
+ <h1>{{ feed.title }}</h1>
+ <a href="/articles/{{ feed.id }}"><i class="glyphicon glyphicon-th-list"></i></a>
+ </div>
</div>
- {% for number in range(0, feed.articles[:10]|length-2, 3) %}
-
-
+ {% for number in range(0, feed.articles[:10]|sort(attribute='date')|length-2, 3) %}
<div class="row">
<div class="col-xs-6 col-sm-4 col-md-4">
{% if feed.articles[number].readed %}<h3>{% else %}<h1>{% endif %}
bgstack15