Bug 9688 - Replace YUI button on Authority MARC framework toolbar with Bootstrap
This patch converts the toolbar used on the Authority MARC framework toolbar to Bootstrap, replacing YUI button code with Bootstrap markup. To test, view auth_tag_structure.pl for any authority framework. Confirm that the 'New tag' button looks correct and works correctly. Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Comment: Works and looks 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:
parent
e84c0b6798
commit
fe5115e2ae
|
|
@ -196,21 +196,9 @@ return false;
|
|||
|
||||
[% IF ( else ) %]
|
||||
|
||||
<div id="toolbar">
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
// prepare DOM for YUI Toolbar
|
||||
$(document).ready(function() {
|
||||
yuiToolbar();
|
||||
});
|
||||
// YUI Toolbar Functions
|
||||
function yuiToolbar() {
|
||||
new YAHOO.widget.Button("newtag");
|
||||
} //]]>
|
||||
</script>
|
||||
<ul class="toolbar">
|
||||
<li><a id="newtag" href="/cgi-bin/koha/admin/auth_tag_structure.pl?op=add_form&authtypecode=[% authtypecode %]">New tag</a></li>
|
||||
</ul></div>
|
||||
<div id="toolbar" class="btn-toolbar">
|
||||
<div class="btn-group"><a class="btn btn-small" id="newtag" href="/cgi-bin/koha/admin/auth_tag_structure.pl?op=add_form&authtypecode=[% authtypecode %]"><i class="icon-plus"></i> New tag</a></div>
|
||||
</div>
|
||||
|
||||
<h2>Select an authority framework</h2>
|
||||
<form action="[% script_name %]" method="post">
|
||||
|
|
|
|||
Loading…
Reference in New Issue