[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [websites/forum-kde-org/experimental] styles/Neverland/template: Add pagination to search results bo
From: Sayak Banerjee <sayakb () kde ! org>
Date: 2012-05-07 17:52:38
Message-ID: 20120507175238.A134BA60A9 () git ! kde ! org
[Download RAW message or body]
Git commit 0948ca6f60d0c8380d564b12332335b7befda29f by Sayak Banerjee.
Committed on 07/05/2012 at 19:51.
Pushed by sayakb into branch 'experimental'.
Add pagination to search results bottom
M +5 -0 styles/Neverland/template/pagination.html
M +2 -2 styles/Neverland/template/search_body.html
M +15 -33 styles/Neverland/template/search_results.html
http://commits.kde.org/websites/forum-kde-org/0948ca6f60d0c8380d564b12332335b7befda29f
diff --git a/styles/Neverland/template/pagination.html \
b/styles/Neverland/template/pagination.html index 7f6c471..7884eee 100755
--- a/styles/Neverland/template/pagination.html
+++ b/styles/Neverland/template/pagination.html
@@ -1,6 +1,11 @@
<!-- IF PAGINATION -->
<div class="pull-right">
<h4>
+ <!-- IF SEARCH_MATCHES -->
+ {SEARCH_MATCHES}
+ •
+ <!-- ENDIF -->
+
<!-- IF not S_IS_BOT -->
<a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">
{L_GOTO_PAGE}
diff --git a/styles/Neverland/template/search_body.html \
b/styles/Neverland/template/search_body.html index fb4a5f2..7e5b83e 100755
--- a/styles/Neverland/template/search_body.html
+++ b/styles/Neverland/template/search_body.html
@@ -1,5 +1,5 @@
<!-- INCLUDE overall_header.html -->
-<!-- INCLUDE overall_box_top.html -->
+
<h2>{L_SEARCH}</h2>
<form method="get" action="{S_SEARCH_ACTION}">
<h3>{L_SEARCH_QUERY}</h3>
@@ -248,4 +248,4 @@
</div>
</form>
-<!-- INCLUDE overall_footer.html -->
+<!-- INCLUDE overall_footer.html -->
\ No newline at end of file
diff --git a/styles/Neverland/template/search_results.html \
b/styles/Neverland/template/search_results.html index 4fbb546..3efd381 100755
--- a/styles/Neverland/template/search_results.html
+++ b/styles/Neverland/template/search_results.html
@@ -40,7 +40,7 @@
<!-- IF PAGINATION or SEARCH_MATCHES or PAGE_NUMBER -->
<form method="post" action="{S_SEARCH_ACTION}">
<div class="row">
- <div class="span6 form-inline">
+ <div class="span12 form-inline">
<!-- IF SEARCH_MATCHES and SEARCH_IN_RESULTS -->
<label for="add_keywords">
{L_SEARCH_IN_RESULTS}
@@ -53,39 +53,10 @@
<!-- ELSE -->
<!-- ENDIF -->
- </div>
-
- <div class="span6 align-right">
- <h4>
- {SEARCH_MATCHES}
-
- <!-- IF PAGINATION -->
- •
-
- <!-- IF not S_IS_BOT -->
- <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">
- {L_GOTO_PAGE}
- </a>
- •
- <!-- ENDIF -->
-
- <!-- IF PREVIOUS_PAGE -->
- <a href="{PREVIOUS_PAGE}">
- {L_PREVIOUS}
- </a>
- •
- <!-- ENDIF -->
- {PAGINATION}
-
- <!-- IF NEXT_PAGE -->
- •
- <a href="{NEXT_PAGE}">
- {L_NEXT}
- </a>
- <!-- ENDIF -->
- <!-- ENDIF -->
- </h4>
+ <!-- IF PAGINATION -->
+ <!-- INCLUDE pagination.html -->
+ <!-- ENDIF -->
</div>
</div>
</form>
@@ -270,4 +241,15 @@
</form>
<!-- ENDIF -->
+<!-- IF PAGINATION -->
+ <div class="align-right">
+ <!-- IF PAGINATION -->
+ <!-- INCLUDE pagination.html -->
+ <!-- ENDIF -->
+
+ <!-- Don't remove this -->
+
+ </div>
+<!-- ENDIF -->
+
<!-- INCLUDE overall_footer.html -->
\ No newline at end of file
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic