From 403894252fd8e0acfbb7f94ec76a3ae05a74e68e Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 16 Apr 2012 17:03:44 -0400 Subject: [PATCH] kpac2 : results page Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander --- Open-ILS/examples/web/templates/kpac/home.tt2 | 93 ++++++++++--------- .../web/templates/kpac/parts/base.tt2 | 11 ++- .../web/templates/kpac/parts/home_search.tt2 | 34 ------- 3 files changed, 54 insertions(+), 84 deletions(-) delete mode 100644 Open-ILS/examples/web/templates/kpac/parts/home_search.tt2 diff --git a/Open-ILS/examples/web/templates/kpac/home.tt2 b/Open-ILS/examples/web/templates/kpac/home.tt2 index 44017f6253..1378d188fa 100644 --- a/Open-ILS/examples/web/templates/kpac/home.tt2 +++ b/Open-ILS/examples/web/templates/kpac/home.tt2 @@ -5,59 +5,62 @@ ctx.page_title = l("Home") %] -
-
 
-
 
-
 
-
 
-
+
[% INCLUDE 'kpac/parts/header.tt2' %]
- - - - - - -
 
- -
-

Or click on an image to get started:

- [% render_kpac_grid(ctx.kpac_layout.page) %] -
-
 
+   + + -
-
 
-
 
-
 
-
 
+
+
+ + + + + + +
 
+
+

or click on an image to get started:

+ [% render_kpac_grid(ctx.kpac_layout.page) %] +
+
 
+
+
+
+ [% INCLUDE 'kpac/parts/footer.tt2' %]
[% END %] diff --git a/Open-ILS/examples/web/templates/kpac/parts/base.tt2 b/Open-ILS/examples/web/templates/kpac/parts/base.tt2 index 2d32b71700..be26cd033b 100644 --- a/Open-ILS/examples/web/templates/kpac/parts/base.tt2 +++ b/Open-ILS/examples/web/templates/kpac/parts/base.tt2 @@ -10,13 +10,14 @@ [% l("Kid's Catalog - [_1]", ctx.page_title) %] -
[% INCLUDE 'kpac/parts/header.tt2' %]
- - [% INCLUDE 'kpac/parts/home_search.tt2' IF ctx.page == 'home' %] -
+ + [% IF ctx.page == 'home'; content; ELSE %] +
+ [% INCLUDE 'kpac/parts/header.tt2' %]
[% content %]
+ [% INCLUDE 'kpac/parts/footer.tt2' %]
- [% INCLUDE 'kpac/parts/footer.tt2' %] + [% END %] [%- INCLUDE 'kpac/parts/acimport.tt2' %] diff --git a/Open-ILS/examples/web/templates/kpac/parts/home_search.tt2 b/Open-ILS/examples/web/templates/kpac/parts/home_search.tt2 deleted file mode 100644 index 6406803268..0000000000 --- a/Open-ILS/examples/web/templates/kpac/parts/home_search.tt2 +++ /dev/null @@ -1,34 +0,0 @@ - - -- 2.43.2