From 9731e3604fe360f662a042f3249bb39ddec6adf5 Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Wed, 11 Jun 2014 23:55:06 +0200 Subject: redoing home page --- pyaggr3g470r/templates/home.html | 71 ---------------------------------------- 1 file changed, 71 deletions(-) delete mode 100644 pyaggr3g470r/templates/home.html (limited to 'pyaggr3g470r/templates/home.html') diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html deleted file mode 100644 index 297e0214..00000000 --- a/pyaggr3g470r/templates/home.html +++ /dev/null @@ -1,71 +0,0 @@ - {% extends "layout.html" %} -{% block content %} -
-
- -
- {% if result|count == 0 %} -

{{ _("You don't have any feeds.") }}

-

{{ _('Add some') }}, {{ _('or') }} {{ _('upload an OPML file.') }}

- {% else %} - {% for feed in result|sort(attribute="title") %} -
-
-
-

{{ feed.title|safe }} - {% if feed.nb_unread != 0 %} - {{ feed.nb_unread }} - {% endif %}

- - - - {% if feed.enabled %} - - {% endif %} - {% if feed.nb_unread != 0 %} - - {% endif %} - -
-
- {% for number in range(0, feed.articles.all()|count-(feed.articles.all()|count % 3), 3) %} -
- {% for n in range(number, number+3) %} -
- {% if feed.articles[n].readed %}

{% else %}

{% endif %} - {{ feed.articles[n].title|safe }} - {% if feed.articles[n].readed %}

{% else %}{% endif %} -
{{ feed.articles[n].date | datetime }}
-
- {% endfor %} -
- {% endfor %} - {% if feed.articles.all()|count % 3 != 0 %} -
- {% for n in range(feed.articles.all()|count-(feed.articles.all()|count % 3), feed.articles.all()|count) %} -
- {% if feed.articles[n].readed %}

{% else %}

{% endif %} - {{ feed.articles[n].title|safe }} - {% if feed.articles[n].readed %}

{% else %}{% endif %} -
{{ feed.articles[n].date | datetime }}
-
- {% endfor %} -
- {% endif %} - {% endfor %} - {% endif %} -
-
-
-{% endblock %} -- cgit