From d1807987341c169e3c3cac0db8a3661c8ffe3b14 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sun, 1 Jun 2014 13:47:58 +0200 Subject: Improved sidenav bar. --- pyaggr3g470r/templates/home.html | 11 ++++---- pyaggr3g470r/templates/layout.html | 57 +++++++++++++++++++++++++++++++++++++- 2 files changed, 62 insertions(+), 6 deletions(-) diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html index b4c43b64..ce87d0a3 100644 --- a/pyaggr3g470r/templates/home.html +++ b/pyaggr3g470r/templates/home.html @@ -2,8 +2,8 @@ {% 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 %} diff --git a/pyaggr3g470r/templates/layout.html b/pyaggr3g470r/templates/layout.html index 39f4df32..d3162886 100644 --- a/pyaggr3g470r/templates/layout.html +++ b/pyaggr3g470r/templates/layout.html @@ -17,7 +17,62 @@ deployed on Heroku or on a traditional server." /> -- cgit