Bug 9630 - Replace YUI button on cities and towns administration page with Bootstrap

This patch converts the toolbar button on the cities
administration page to Bootstrap, replacing YUI button and menu code
with Bootstrap markup.

To test, view the cities administration page and confirm that the
"New city" button looks correct and works correctly.

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

Comment: Works as described, looks correct 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-02 13:40:23 -05:00 committed by Jared Camins-Esakov
parent c8a8825367
commit 5d14cef0cc
1 changed files with 3 additions and 7 deletions

View File

@ -19,9 +19,6 @@
document.Aform.submit();
}
}
$(document).ready(function() {
new YAHOO.widget.Button("newcity");
});
//]]>
</script>
</head>
@ -118,10 +115,9 @@
[% IF ( else ) %]
<div id="toolbar">
<ul class="toolbar">
<li><a id="newcity" href="[% script_name %]?op=add_form">New city</a></li>
</ul></div>
<div id="toolbar" class="btn-toolbar">
<a class="btn btn-small" id="newcity" href="[% script_name %]?op=add_form"><i class="icon-plus"></i> New city</a>
</div>
<h2>Cities</h2>
[% IF ( searchfield ) %]