Bug 9689 - Replace YUI buttons on the OAI sets administration page with Bootstrap

This patch converts the toolbar on the OAI sets administration page to
Bootstrap, replacing YUI button code with Bootstrap markup.

To test, view the OAI sets administration page and confirm that the "New
set" button looks correct and works correctly.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>

Comment: Works and looks nice. No errors.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works nicely, no problems found.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
Owen Leonard 2013-02-21 16:12:22 -05:00 committed by Jared Camins-Esakov
parent fe85b19ac6
commit 3d883a97ce

View file

@ -16,10 +16,6 @@ function delDescField(minusButton) {
var li = $(minusButton).parent('li');
$(li).remove();
}
$(document).ready(function() {
new YAHOO.widget.Button("newoaiset");
});
//]]>
</script>
</head>
@ -72,10 +68,9 @@ $(document).ready(function() {
</form>
[% ELSE %]
<div id="toolbar">
<ul class="toolbar">
<li><a id="newoaiset" href="/cgi-bin/koha/admin/oai_sets.pl?op=new">New set</a></li>
</ul></div>
<div id="toolbar" class="btn-toolbar">
<a class="btn btn-small" id="newoaiset" href="/cgi-bin/koha/admin/oai_sets.pl?op=new"><i class="icon-plus"></i> New set</a>
</div>
<h2>OAI sets</h2>
[% IF sets_loop %]