From 189daeb5862dcf6d89e5070c019cd584c26e73a6 Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Thu, 12 Jun 2014 01:50:08 +0200 Subject: reimplementing the unread count in left menu --- pyaggr3g470r/templates/home.html | 96 ++++++++++++++++++++++++++++++++++++++ pyaggr3g470r/templates/reader.html | 88 ---------------------------------- 2 files changed, 96 insertions(+), 88 deletions(-) create mode 100644 pyaggr3g470r/templates/home.html delete mode 100644 pyaggr3g470r/templates/reader.html (limited to 'pyaggr3g470r/templates') diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html new file mode 100644 index 00000000..96cd83a5 --- /dev/null +++ b/pyaggr3g470r/templates/home.html @@ -0,0 +1,96 @@ +{% extends "layout.html" %} +{% block content %} + +
+

{{ _('Your articles') }} ({{ articles.__len__() }})

+
+ {% if filter_ == 'all' %}{% endif %} + {{ _('All') }} + {% if filter_ == 'all' %}{% endif %} + | + {% if filter_ == 'read' %}{% endif %} + {{ _('Read') }} + {% if filter_ == 'read' %}{% endif %} + | + {% if filter_ == 'unread' %}{% endif %} + {{ _('Unread') }} + {% if filter_ == 'unread' %}{% endif %} + - + {% if limit == 10 %}{% endif %} + {{ _(10) }} + {% if limit == 10 %}{% endif %} + | + {% if limit == 100 %}{% endif %} + {{ _(100) }} + {% if limit == 100 %}{% endif %} + | + {% if limit == 1000 %}{% endif %} + {{ _(1000) }} + {% if limit == 1000 %}{% endif %} + | + {% if limit == 'all' %}{% endif %} + {{ _('All') }} + {% if limit == 'all' %}{% endif %} + +
+
+ + + + + + + + + + + {% for article in articles %} + + + + + + + {% endfor %} + +
{{ _('Feed') }}{{ _('Article') }}{{ _('Date') }}
{{ article.source.title|safe }}{{ article.title|safe }}{{ article.date|datetime }} + + + {% if article.like %} + + {% else %} + + {% endif %} + + {% if article.readed %} + + {% else %} + + {% endif %} +
+
+
+{% endblock %} diff --git a/pyaggr3g470r/templates/reader.html b/pyaggr3g470r/templates/reader.html deleted file mode 100644 index a2b4481c..00000000 --- a/pyaggr3g470r/templates/reader.html +++ /dev/null @@ -1,88 +0,0 @@ -{% extends "layout.html" %} -{% block content %} - -
-

{{ _('Your articles') }} ({{ articles.__len__() }})

-
- {% if filter_ == 'all' %}{% endif %} - {{ _('All') }} - {% if filter_ == 'all' %}{% endif %} - | - {% if filter_ == 'read' %}{% endif %} - {{ _('Read') }} - {% if filter_ == 'read' %}{% endif %} - | - {% if filter_ == 'unread' %}{% endif %} - {{ _('Unread') }} - {% if filter_ == 'unread' %}{% endif %} - - - {% if limit == 10 %}{% endif %} - {{ _(10) }} - {% if limit == 10 %}{% endif %} - | - {% if limit == 100 %}{% endif %} - {{ _(100) }} - {% if limit == 100 %}{% endif %} - | - {% if limit == 1000 %}{% endif %} - {{ _(1000) }} - {% if limit == 1000 %}{% endif %} - | - {% if limit == 'all' %}{% endif %} - {{ _('All') }} - {% if limit == 'all' %}{% endif %} - -
-
- - - - - - - - - - - {% for article in articles %} - - - - - - - {% endfor %} - -
{{ _('Feed') }}{{ _('Article') }}{{ _('Date') }}
{{ article.source.title|safe }}{{ article.title|safe }}{{ article.date|datetime }} - - - {% if article.like %} - - {% else %} - - {% endif %} - - {% if article.readed %} - - {% else %} - - {% endif %} -
-
-
-{% endblock %} -- cgit