From fe6daa5852d1084cee2efc0f16ee5c8c26847539 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sat, 28 Jun 2014 15:01:04 +0200 Subject: Try to star an article with a jQuery PUT call. --- pyaggr3g470r/templates/home.html | 50 +++++++++++++++++++++++++++++++++++--- pyaggr3g470r/templates/layout.html | 4 +-- 2 files changed, 49 insertions(+), 5 deletions(-) (limited to 'pyaggr3g470r') diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html index 1290038d..2c9460df 100644 --- a/pyaggr3g470r/templates/home.html +++ b/pyaggr3g470r/templates/home.html @@ -99,11 +99,11 @@ {{ article.date|datetime }} - + {% if article.like %} - + {% else %} - + {% endif %} {% if article.readed %} @@ -132,4 +132,48 @@ {% endif %} {% endif %} + + {% endblock %} diff --git a/pyaggr3g470r/templates/layout.html b/pyaggr3g470r/templates/layout.html index e97128f7..10b802a2 100644 --- a/pyaggr3g470r/templates/layout.html +++ b/pyaggr3g470r/templates/layout.html @@ -10,6 +10,8 @@ deployed on Heroku or on a traditional server." /> {% if head_title %}{{ head_title }} - {% endif %}pyAggr3g470r + + @@ -162,8 +164,6 @@ deployed on Heroku or on a traditional server." /> - - -- cgit