From dc8c6ad3932e8186390564b0fbce704d1a657aa9 Mon Sep 17 00:00:00 2001 From: Karen Date: Wed, 31 Aug 2011 19:09:46 +0530 Subject: [PATCH 1/3] adding pagination --- gazetteer/static/css/main.css | 1 + gazetteer/templates/search.html | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gazetteer/static/css/main.css b/gazetteer/static/css/main.css index a13a5c4..deae8a1 100644 --- a/gazetteer/static/css/main.css +++ b/gazetteer/static/css/main.css @@ -91,6 +91,7 @@ cursor:pointer;} #stateList {width:10%;} + .map {float:left; width:60%; diff --git a/gazetteer/templates/search.html b/gazetteer/templates/search.html index c59773d..61e068e 100644 --- a/gazetteer/templates/search.html +++ b/gazetteer/templates/search.html @@ -85,7 +85,10 @@
  • 10
  • »
  • --> - + +

    Total Results:

    +

    Showing page of

    +
    First Last From 3b6c655bedf49e4efaf4b540893c7e89b26aa206 Mon Sep 17 00:00:00 2001 From: Karen Date: Wed, 31 Aug 2011 19:14:08 +0530 Subject: [PATCH 2/3] bold text --- gazetteer/static/css/main.css | 2 ++ gazetteer/templates/search.html | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gazetteer/static/css/main.css b/gazetteer/static/css/main.css index deae8a1..59f3dff 100644 --- a/gazetteer/static/css/main.css +++ b/gazetteer/static/css/main.css @@ -92,6 +92,8 @@ cursor:pointer;} #stateList {width:10%;} +.resultsList +{font-weight:bold;} .map {float:left; width:60%; diff --git a/gazetteer/templates/search.html b/gazetteer/templates/search.html index 61e068e..3eccbc2 100644 --- a/gazetteer/templates/search.html +++ b/gazetteer/templates/search.html @@ -86,8 +86,8 @@
  • »
  • --> -

    Total Results:

    -

    Showing page of

    +

    Total Results: 21

    +

    Showing page 1 of 10

    First From cea7a09e02e7a03d3e3e82f412afd66a63994498 Mon Sep 17 00:00:00 2001 From: Karen Date: Wed, 31 Aug 2011 19:17:15 +0530 Subject: [PATCH 3/3] font-weight added --- gazetteer/static/css/main.css | 4 ++++ gazetteer/templates/search.html | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gazetteer/static/css/main.css b/gazetteer/static/css/main.css index 59f3dff..e7c7050 100644 --- a/gazetteer/static/css/main.css +++ b/gazetteer/static/css/main.css @@ -94,6 +94,10 @@ cursor:pointer;} .resultsList {font-weight:bold;} + +#noOfResults, #currPageNo +{font-weight:normal;} + .map {float:left; width:60%; diff --git a/gazetteer/templates/search.html b/gazetteer/templates/search.html index 3eccbc2..32539a8 100644 --- a/gazetteer/templates/search.html +++ b/gazetteer/templates/search.html @@ -38,7 +38,7 @@
    -

    Results for

    +

    Results for

    @@ -87,7 +87,7 @@ -->

    Total Results: 21

    -

    Showing page 1 of 10

    +

    Showing Page 1 of 10

    First