From d8e46270e1a879ea9a5fda8852ad7ddede95695d Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Sat, 11 Apr 2015 15:20:03 +0200 Subject: regrouping favorties and home, redoing the tab selection jscode --- pyaggr3g470r/templates/favorites.html | 48 ----------------------------------- pyaggr3g470r/templates/layout.html | 27 ++++++++++---------- 2 files changed, 14 insertions(+), 61 deletions(-) delete mode 100644 pyaggr3g470r/templates/favorites.html (limited to 'pyaggr3g470r/templates') diff --git a/pyaggr3g470r/templates/favorites.html b/pyaggr3g470r/templates/favorites.html deleted file mode 100644 index 210f7343..00000000 --- a/pyaggr3g470r/templates/favorites.html +++ /dev/null @@ -1,48 +0,0 @@ - {% extends "layout.html" %} -{% block content %} -
- {% if feeds|count == 0 %} - - {% else %} - - {% for feed in feeds|sort(attribute="title") %} -
-
-

{{ feed.title|safe }}

- - - -
-
- {% for number in range(0, feed.articles|length-(feed.articles|length % 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|length % 3 != 0 %} -
- {% for n in range(feed.articles|length-(feed.articles|length % 3), feed.articles|length) %} -
- {% 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 %} diff --git a/pyaggr3g470r/templates/layout.html b/pyaggr3g470r/templates/layout.html index 90263fb8..f9b51127 100644 --- a/pyaggr3g470r/templates/layout.html +++ b/pyaggr3g470r/templates/layout.html @@ -6,7 +6,7 @@ - {% if head_title %}{{ head_title }} - {% endif %}pyAggr3g470r + pyAggr3g470r{% if head_title %} - {{ head_title }}{% endif %} @@ -25,7 +25,7 @@ - pyAggr3g470r + pyAggr3g470r{% if head_title %}-  {{ head_title }}{% endif %} @@ -101,18 +101,19 @@ -- cgit