From c9fe6a680f0c2547157db0825dde93471704c609 Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Sun, 31 Jan 2016 03:11:42 +0100 Subject: decommissionning old home --- src/web/templates/home.html | 153 +++++++------------------------------------ src/web/templates/home2.html | 22 ------- 2 files changed, 22 insertions(+), 153 deletions(-) delete mode 100644 src/web/templates/home2.html (limited to 'src/web/templates') diff --git a/src/web/templates/home.html b/src/web/templates/home.html index 6b136870..4389ae6f 100644 --- a/src/web/templates/home.html +++ b/src/web/templates/home.html @@ -1,131 +1,22 @@ -{% extends "layout.html" %} -{% block content %} -{% if feeds|count == 0 %} -
-

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

-

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

-
-{% else %} -
-
- - - {% with messages = get_flashed_messages(with_categories=true) %} - {% if messages %} -
- {% block messages %} - {{ super() }} - {% endblock %} -
- {% endif %} - {% endwith %} -
- - {% if articles | count != 0%} -
- - - - - - - - - - - {% for article in articles %} - - - - - - - {% endfor %} - -
{{ _('Feed') }}{{ _('Article') }}{{ _('Date') }}
- - {% if article.like %} - - {% else %} - - {% endif %} - {% if article.readed %} - - {% else %} - - {% if filter_ == 'all' %}{% endif %} - {% endif %} - - - {% if article.source.icon_url %} - - {% else %} - - {% endif %} - - {{ article.title|safe }} - {{ article.date|datetime }}
-
- {% endif %} -
-
-
- -{% endif %} -{% endblock %} + + + + {% block head %} + + + + + JARR{% if head_titles %} - {{ ' - '.join(head_titles) }}{% endif %} + + + + + + + {% endblock %} + + +
+ + + diff --git a/src/web/templates/home2.html b/src/web/templates/home2.html deleted file mode 100644 index 4389ae6f..00000000 --- a/src/web/templates/home2.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - {% block head %} - - - - - JARR{% if head_titles %} - {{ ' - '.join(head_titles) }}{% endif %} - - - - - - - {% endblock %} - - -
- - - -- cgit