From a4be135f5424a91ac3e2aa33d66d79e27a0a7936 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 2 May 2018 18:33:04 +0000 Subject: [PATCH] Bug 21438: Update two-column templates with Bootstrap grid: Patron card creator This patch modifies the patron card creator templates to use the Bootstrap grid instead of YUI. To test, apply the patch and view the following pages, confirming that they look correct at various browser widths: - Tools -> patron card creator - Manage -> Card batches - Edit card batch - Manage -> Layouts - Edit layout - Manage -> Images - Manage -> Card templates - Edit template - Manage -> Printer profiles - Edit profile --- .../prog/en/modules/patroncards/edit-batch.tt | 25 ++++++---- .../prog/en/modules/patroncards/edit-layout.tt | 32 ++++++++----- .../prog/en/modules/patroncards/edit-profile.tt | 34 +++++++------ .../prog/en/modules/patroncards/edit-template.tt | 56 +++++++++++----------- .../prog/en/modules/patroncards/home.tt | 36 +++++++------- .../prog/en/modules/patroncards/image-manage.tt | 37 +++++++------- .../prog/en/modules/patroncards/manage.tt | 26 ++++++---- 7 files changed, 133 insertions(+), 113 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt index d16ad3f..f8b4eb3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt @@ -21,10 +21,12 @@ New [% END %] -
-
-
-
+ +
+
+
+
+
[% INCLUDE 'patroncards-toolbar.inc' %]
@@ -118,13 +120,16 @@ [% END %]
-
-
-
- [% INCLUDE 'tools-menu.inc' %] -
-
+ +
+ +
+ +
+
[% MACRO jsinclude BLOCK %] [% INCLUDE 'greybox.inc' %] [% INCLUDE 'datatables.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-layout.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-layout.tt index b93385b..014c6f3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-layout.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-layout.tt @@ -14,10 +14,12 @@ Layouts › [% IF ( layout_id ) %]Edit ([% layout_id | html %])[% ELSE %]New[% END %]
-
-
-
-
+ +
+
+
+
+
[% INCLUDE 'patroncards-toolbar.inc' %]
@@ -27,8 +29,8 @@
-
-
+
+
[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] patron card text layout
    @@ -259,7 +261,7 @@
-
+
[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] patron card graphic layout
    @@ -460,12 +462,16 @@
-
-
-
- [% INCLUDE 'tools-menu.inc' %] -
-
+ +
+
+ +
+ +
+
[% MACRO jsinclude BLOCK %]