Bug 9622 - Replace YUI button on MARC fameworks page with Bootstrap
This patch converts the toolbar on the MARC frameworks administration page to to Bootstrap, replacing YUI button code with Bootstrap markup. To test, view the MARC frameworks administration page and confirm that the "New framework" button looks correct and works correctly. Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Comment: Work as described. No errors. Look good. 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
902e389836
commit
65d46ca2d1
|
|
@ -43,9 +43,6 @@ function Check(f) {
|
|||
return true;
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
new YAHOO.widget.Button("newframework");
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
|
|
@ -138,11 +135,12 @@ $(document).ready(function() {
|
|||
<div id="bd">
|
||||
<div id="yui-main">
|
||||
<div class="yui-b">
|
||||
|
||||
[% IF ( else ) %]<div id="toolbar">
|
||||
<ul class="toolbar">
|
||||
<li><a id="newframework" href="/cgi-bin/koha/admin/biblio_framework.pl?op=add_form">New framework</a></li>
|
||||
</ul></div>[% END %]
|
||||
|
||||
[% IF ( else ) %]
|
||||
<div id="toolbar" class="btn-toolbar">
|
||||
<a class="btn btn-small" id="newframework" href="/cgi-bin/koha/admin/biblio_framework.pl?op=add_form"><i class="icon-plus"></i> New framework</a>
|
||||
</div>
|
||||
[% END %]
|
||||
|
||||
[% IF ( add_form ) %]
|
||||
<h1>[% IF ( frameworkcode ) %]Modify framework text[% ELSE %]Add framework[% END %]</h1>
|
||||
|
|
|
|||
Loading…
Reference in New Issue