From f7e02efc9cfdaf9a993b7b62384f6d9d5e826700 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Fri, 15 Mar 2013 08:26:57 +0100 Subject: Updated templates. --- source/static/templates/article.html | 24 ++++++++++++------------ source/static/templates/base.html | 4 ++-- source/static/templates/index.html | 20 ++++++++++---------- 3 files changed, 24 insertions(+), 24 deletions(-) (limited to 'source/static/templates') diff --git a/source/static/templates/article.html b/source/static/templates/article.html index bd459c4e..9225993a 100644 --- a/source/static/templates/article.html +++ b/source/static/templates/article.html @@ -5,17 +5,17 @@

${article["article_title"]} from ${feed["feed_title"]}


%if article["article_like"]: - + %else: - + %endif -    +   

${description} -
-
+
+

@@ -27,29 +27,29 @@ Share this article:
- + - + - + - + - + - + - + diff --git a/source/static/templates/base.html b/source/static/templates/base.html index aa375470..29e81450 100644 --- a/source/static/templates/base.html +++ b/source/static/templates/base.html @@ -10,12 +10,12 @@ %else: ${header_text} - pyAggr3g470r %endif - +

pyAggr3g470r

${self.body()} diff --git a/source/static/templates/index.html b/source/static/templates/index.html index 43269f0a..f4cada50 100644 --- a/source/static/templates/index.html +++ b/source/static/templates/index.html @@ -30,20 +30,20 @@ import utils

<% html = "" @@ -68,7 +68,7 @@ import utils # display a heart for faved articles if article["article_like"] == True: - like = """ """ + like = """ """ else: like = "" @@ -94,7 +94,7 @@ import utils # some options for the current feed html += """All articles   """ % (feed["feed_id"],) html += """Feed summary   """ % (feed["feed_id"],) - html += """

\n""" % (feed["feed_id"],) + html += """

\n""" % (feed["feed_id"],) if mongo.nb_unread_articles(feed["feed_id"]) != 0: html += """  Mark all as read""" % (feed["feed_id"],) html += """     Unread article(s) (%s)""" % (feed["feed_id"], mongo.nb_unread_articles(feed["feed_id"])) -- cgit