From ae180f2caa0bd3c9a6bb777b398396d9956d331c Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 29 Jan 2013 20:08:29 -0500 Subject: [PATCH] Bug 9420 - Work on Bootstrap for Koha: Circ toolbar Content-Type: text/plain; charset="utf-8" This patch converts the toolbar include file used by Circ and Patron pages to Bootstrap, replacing YUI button and menu code with Bootstrap markup. To test, view any page in circ/ or members/ which uses members-toolbar.inc (circulation.pl, moremember.pl, etc). Buttons and menus should look correct and work correctly. This patch is preliminary. This patch does not include final styling of the buttons, which lack icons to match the YUI version. Some icons have been chosen from the default Bootstrap set to demonstrate the functionality. Comments welcome. --- .../intranet-tmpl/prog/en/css/staff-global.css | 2 +- .../prog/en/includes/members-toolbar.inc | 196 ++++++++++---------- 2 files changed, 104 insertions(+), 94 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css index 4d3d013..735efbb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -2415,7 +2415,7 @@ a.btn:visited{ .dropdown-menu li { list-style: none outside none; } -[class^="icon-"],[class*=" icon-"]{background-image:url("../../img/glyphicons-halflings.png");} +[class^="icon-"],[class*=" icon-"]{background-image:url("../../../lib/bootstrap/img/glyphicons-halflings.png");} .icon-white,.nav-tabs>.active>a>[class^="icon-"],.nav-tabs>.active>a>[class*=" icon-"],.nav-pills>.active>a>[class^="icon-"],.nav-pills>.active>a>[class*=" icon-"],.nav-list>.active>a>[class^="icon-"],.nav-list>.active>a>[class*=" icon-"],.navbar-inverse .nav>.active>a>[class^="icon-"],.navbar-inverse .nav>.active>a>[class*=" icon-"],.dropdown-menu>li>a:hover>[class^="icon-"],.dropdown-menu>li>a:hover>[class*=" icon-"],.dropdown-menu>.active>a>[class^="icon-"],.dropdown-menu>.active>a>[class*=" icon-"]{background-image:url("../../img/glyphicons-halflings-white.png");} a.disabled { color : #999999; diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc index 91d179e..4acd035 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc @@ -1,7 +1,39 @@ -
- - //]]> - -
+ Duplicate +
+ + +
+ Search to hold +
+ + +
+ \ No newline at end of file -- 1.7.10.4