This patch converts the toolbar on the suggestions page to to Bootstrap,
replacing YUI button code with Bootstrap markup.
To test, view the suggestions page and confirm that the "New purchase
suggestion" button looks correct and works correctly.
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Comment: Another confirmation. Button looks and works. 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>
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
<script type="text/javascript">
// <![CDATA[
-
- function yuiToolbar() {
- new YAHOO.widget.Button("newsuggestion");
- }
$.tablesorter.addParser({
id: 'articles',
is: function(s) {return false; },
$("#"+show+id).show();
}
$(document).ready(function() {
- yuiToolbar();
$('#suggestiontabs').tabs({
select: function(ui) {
$("#loadingtab").show();
[% END %]
[% IF ( op_else ) %]
- <div id="toolbar">
- <ul class="toolbar">
- <li> <a id="newsuggestion" href="suggestion.pl?op=add">New purchase suggestion</a></li>
- </ul></div>
+<div id="toolbar" class="btn-toolbar">
+ <a class="btn btn-small" id="newsuggestion" href="suggestion.pl?op=add"><i class="icon-plus"></i> New purchase suggestion</a>
+</div>
<h1>Suggestions management</h1>