From ddc2cc6f2efecb5108d4554830517147464790ea Mon Sep 17 00:00:00 2001 From: Olga Brani Date: Fri, 21 Sep 2012 12:55:22 +0300 Subject: [PATCH] - Pagination style change - Extra select for sorting table --- snf-astakos-app/astakos/im/static/im/css/forms.css | 4 +- .../astakos/im/templates/im/astakosgroup_list.html | 75 ++++++++++++-------- 2 files changed, 47 insertions(+), 32 deletions(-) diff --git a/snf-astakos-app/astakos/im/static/im/css/forms.css b/snf-astakos-app/astakos/im/static/im/css/forms.css index f03121a..f016797 100644 --- a/snf-astakos-app/astakos/im/static/im/css/forms.css +++ b/snf-astakos-app/astakos/im/static/im/css/forms.css @@ -156,7 +156,9 @@ form.link-like input[type="submit"]:hover { text-decoration:underline; } .projects form .with-checkbox { margin:20px 0; } .projects form .with-checkbox label { padding-top:7px; } .projects form .with-checkbox span.info { bottom:24px; } - +.projects .minimal { float:right; position:relative; margin-bottom:-20px;} +.projects .minimal select { padding:3px; width:250px; } +.projects .minimal label { position:absolute; right:290px; top:5px; white-space:nowrap} @media screen and (max-width : 630px) { form.withlabels .extra-img { left:260px; } diff --git a/snf-astakos-app/astakos/im/templates/im/astakosgroup_list.html b/snf-astakos-app/astakos/im/templates/im/astakosgroup_list.html index f870c06..1e2bde0 100644 --- a/snf-astakos-app/astakos/im/templates/im/astakosgroup_list.html +++ b/snf-astakos-app/astakos/im/templates/im/astakosgroup_list.html @@ -116,24 +116,35 @@ + + +

+

+ + Page {{ page_obj.number }} of {{ paginator.num_pages }} + +

+ {% else %} {% if mine %}
+
+ + +
+ @@ -179,24 +190,25 @@
MY GROUPS
+

+

+ + Page {{ mine.number }} of {{ mine.paginator.num_pages }} + +

+ + {% endif %} {% if other %}
- +
{% if is_search %} SEARCH RESULTS @@ -271,20 +283,21 @@ +

+

+ + Page {{ other.number }} of {{ other.paginator.num_pages }} + +

+ + {% endif %} {% if q %}

No groups found!

-- 1.7.10.4