Bug 9420 [Revised] Work on Bootstrap for Koha
authorOwen Leonard <oleonard@myacpl.org>
Fri, 25 Jan 2013 18:57:28 +0000 (13:57 -0500)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Fri, 15 Feb 2013 14:04:17 +0000 (09:04 -0500)
commitecf42ffbd0fd2e7366ac9cf68047637f867c30b0
tree49fce7386460ed9375bd7f09efb6e674ca9d30c5
parenta386df2c78b6c44f5ac476678e49d0039306b94b
Bug 9420 [Revised] Work on Bootstrap for Koha

YUI JS is deprecated as far as Koha is concerned, and jQueryUI menus
don't seem to be as robust as they should be. This makes Twitter
Bootstrap very attrative for its menus features as well as other
aspects.

This patch revises the staff client header menu to include features from
Bootstrap, including replacement of the YUI-driven "More..." menu with a
Bootstrap version, and a new user menu taken from Corey Fuimaono's
similar patch.

To test, be sure to clear your cache after applying the patch. Load any
page in the staff client and confirm that the menu at the top of the
screen looks correct and works as normal, including functionality of the
"more" menu. Confirm that the username/logged-in branch triggers a menu
with "set library" and "log out" options. Confirm that Cart operations
trigger the correct confirmation popup.

Revision moves the Bootstrap assets out of the prog template into
koha-tmpl/intranet-tmpl/lib.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Works great. No errors.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/intranet-tmpl/lib/bootstrap/bootstrap.min.css [new file with mode: 0644]
koha-tmpl/intranet-tmpl/lib/bootstrap/bootstrap.min.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/lib/bootstrap/img/glyphicons-halflings-white.png [new file with mode: 0644]
koha-tmpl/intranet-tmpl/lib/bootstrap/img/glyphicons-halflings.png [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc
koha-tmpl/intranet-tmpl/prog/en/includes/header.inc
koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc
koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js