From fbfe8fc7ea6ba91661027ea51dec290823f9e0bb Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Wed, 10 Oct 2012 19:12:07 +0200 Subject: Improve styling in headers and thread view --- hyperkitty/templates/base.html | 14 +++---- hyperkitty/templates/messages/message.html | 4 +- hyperkitty/templates/month_view.html | 62 +++++++++++++++++----------- hyperkitty/templates/recent_activities.html | 19 ++------- hyperkitty/templates/search.html | 12 +++--- hyperkitty/templates/thread.html | 2 +- hyperkitty/templates/threads/month_list.html | 17 ++++++++ hyperkitty/templates/user_profile.html | 2 +- 8 files changed, 76 insertions(+), 56 deletions(-) create mode 100644 hyperkitty/templates/threads/month_list.html (limited to 'hyperkitty/templates') diff --git a/hyperkitty/templates/base.html b/hyperkitty/templates/base.html index 7a62c5f..c679687 100644 --- a/hyperkitty/templates/base.html +++ b/hyperkitty/templates/base.html @@ -18,22 +18,22 @@ -
- {% for key, value in archives_length|sort %} -

{{ key }}

-
- -
- {% endfor %} -
+{% include 'threads/month_list.html' %} {% endblock %} diff --git a/hyperkitty/templates/recent_activities.html b/hyperkitty/templates/recent_activities.html index 4bca218..f044dad 100644 --- a/hyperkitty/templates/recent_activities.html +++ b/hyperkitty/templates/recent_activities.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load poll_extras %} +{% load hk_generic %} {% load gravatar %} {% load storm %} @@ -202,20 +202,9 @@ {% endif %} -
- {% for key, value in archives_length|sort %} -

{{ key }}

-
- -
- {% endfor %} -
+ +{% include 'threads/month_list.html' %} + {% endblock %} {% block additionaljs %} diff --git a/hyperkitty/templates/search.html b/hyperkitty/templates/search.html index 0fd6e44..5763eeb 100644 --- a/hyperkitty/templates/search.html +++ b/hyperkitty/templates/search.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load poll_extras %} +{% load hk_generic %} {% load gravatar %} {% block content %} @@ -59,14 +59,14 @@ diff --git a/hyperkitty/templates/thread.html b/hyperkitty/templates/thread.html index b019d8a..3fe03f6 100644 --- a/hyperkitty/templates/thread.html +++ b/hyperkitty/templates/thread.html @@ -1,7 +1,7 @@ {% extends "base.html" %} {% load gravatar %} -{% load storm %} +{% load hk_generic %} {% block additional_stylesheets %} diff --git a/hyperkitty/templates/threads/month_list.html b/hyperkitty/templates/threads/month_list.html new file mode 100644 index 0000000..b3918f8 --- /dev/null +++ b/hyperkitty/templates/threads/month_list.html @@ -0,0 +1,17 @@ +{% load hk_generic %} + +
+ {% for year, months in archives_length|sort %} +

{{ year }}

+
+ +
+ {% endfor %} +
diff --git a/hyperkitty/templates/user_profile.html b/hyperkitty/templates/user_profile.html index 6e58549..f5bca76 100644 --- a/hyperkitty/templates/user_profile.html +++ b/hyperkitty/templates/user_profile.html @@ -1,6 +1,6 @@ {% extends "base.html" %} {% load i18n %} -{% load poll_extras %} +{% load hk_generic %} {% block content %}

User Profile - {{ user }}

-- cgit