d399ff3494
This big patch, fix xhtml code, and user interface. It Delete the term of budget period and use it as "Root Budget". It add improvment on UI, adding tooltip, and table tree.
37 lines
1.4 KiB
HTML
37 lines
1.4 KiB
HTML
<div id="toolbar"><script type="text/javascript">
|
|
//<![CDATA[
|
|
|
|
// prepare DOM for YUI Toolbar
|
|
$(document).ready(function() {
|
|
$("#periods_menuc").empty();
|
|
$("#budgets_menuc").empty();
|
|
$("#planning_menuc").empty();
|
|
|
|
yuiToolbar();
|
|
});
|
|
|
|
// YUI Toolbar Functions
|
|
function yuiToolbar() {
|
|
var periods_menu = [
|
|
{ text: _("Display all root budgets"), url: "/cgi-bin/koha/admin/aqbudgetperiods.pl" },
|
|
{ text: _("New root budget"), url: "/cgi-bin/koha/admin/aqbudgetperiods.pl?op=add_form" },
|
|
{ text: _("Duplicate root budget"), },
|
|
]
|
|
new YAHOO.widget.Button({
|
|
type: "menu",
|
|
label: _("Root Budgets"),
|
|
name: "periods_button",
|
|
menu: periods_menu,
|
|
container: "periods_menuc"
|
|
});
|
|
}
|
|
|
|
//]]>
|
|
</script>
|
|
<ul class="toolbar">
|
|
<li id="periods_menuc"><a id="periods_menu" href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=add_form">Root budgets</a></li>
|
|
<li id="budgets_menuc"><a id="budgets_menu" href="/cgi-bin/koha/cataloguing/addbiblio.pl">Budgets</a></li>
|
|
<li id="planning_menuc"><a id="planning_menu" href="/cgi-bin/koha/admin/aqplan.pl?budget_period_id=<!-- TMPL_VAR NAME="budget_period_id" -->">Budget planning</a></li>
|
|
|
|
</ul>
|
|
</div>
|