Bug 9623 - Replace YUI button on authority types administration page with Bootstrap

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

To test, view the authority types administration page and confirm that
the "New authority type" button looks correct and works correctly.

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

Comment: Work as described. 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 15:21:21 -05:00 committed by Jared Camins-Esakov
parent 28db493f16
commit e299c69d43

View file

@ -42,9 +42,6 @@ function Check(f) {
}
}
$(document).ready(function() {
new YAHOO.widget.Button("authtype");
});
//]]>
</script>
</head>
@ -124,10 +121,9 @@ $(document).ready(function() {
[% IF ( else ) %]
<div id="toolbar">
<ul class="toolbar">
<li><a id="authtype" href="[% script_name %]?op=add_form">New authority type</a></li>
</ul></div>
<div id="toolbar" class="btn-toolbar">
<a id="authtype" class="btn btn-small" href="[% script_name %]?op=add_form"><i class="icon-plus"></i> New authority type</a>
</div>
<h1>Authority types</h1>
<p>Define authority types, then authority MARC structure in the same way you define itemtypes and biblio MARC tag structure. Authority values are managed through plugins</p>