Bug 9639 - Replace YUI button on MARC tag structure toolbar with Bootstrap

This patch converts the toolbar used on the MARC tag structure toolbar
to Bootstrap, replacing YUI button code with Bootstrap markup.

To test, view marctagstructure.pl for any framework. Confirm that the
'New tag' button looks correct and works correctly.

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

Comment: Confirmed that 'New tag' looks and works correctly.
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-03 07:53:30 -05:00 committed by Jared Camins-Esakov
parent 2442950581
commit 0e8f896e85
1 changed files with 3 additions and 8 deletions

View File

@ -30,10 +30,6 @@ function Check(f) {
alert(alertString2);
}
}
$(document).ready(function() {
new YAHOO.widget.Button("addtag");
});
//]]>
</script>
</head>
@ -65,10 +61,9 @@ $(document).ready(function() {
<div class="yui-b">
[% IF ( else ) %]
<div id="toolbar">
<ul class="toolbar">
<li><a id="addtag" href="/cgi-bin/koha/admin/marctagstructure.pl?op=add_form&amp;frameworkcode=[% frameworkcode %]">New tag</a></li>
</ul></div>[% END %]
<div id="toolbar" class="btn-toolbar">
<a class="btn btn-small" id="addtag" href="/cgi-bin/koha/admin/marctagstructure.pl?op=add_form&amp;frameworkcode=[% frameworkcode %]"><i class="icon-plus"></i> New tag</a>
</div>[% END %]
<h1>MARC Framework for [% IF ( frameworkcode ) %][% frameworktext %] ([% frameworkcode %])[% ELSE %]default MARC framework[% END %]</h1>