web: gratuitous accounts sidebar toggle

This commit is contained in:
Simon Michael 2011-06-24 18:57:31 +00:00
parent b0279cb2df
commit 8396f988ad
3 changed files with 15 additions and 10 deletions

View File

@ -13,6 +13,7 @@ $(document).ready(function() {
/* set up various show/hide toggles */
$('#search-help-link').click(function() { $('#search-help').slideToggle('fast'); });
$('#accounts-toggle-link').click(function() { $('#accounts').slideToggle('fast'); });
});

View File

@ -44,6 +44,7 @@ input.textinput, .dhx_combo_input, .dhx_combo_list { font-size:small; }
.topleftlink { font-size:small; }
.toprightlink { font-size:small; }
#journaldesc { font-size:small; }
.togglelink { font-size:small; }
.help { font-size:smaller; }
.form { font-size:small; }
.journalreport { font-size:small; }

View File

@ -1,15 +1,18 @@
<div#accountsheading
accounts
\ #
<a#accounts-toggle-link.togglelink href="#">[+/-]
<table.balancereport>
<tr.item :allaccts:.inacct
<td.account colspan=3><a href=@{here}>all accounts
<div#accounts
<table.balancereport>
<tr.item :allaccts:.inacct
<td.account colspan=3><a href=@{here}>all accounts
$forall i <- items
^{itemAsHtml vd i}
$forall i <- items
^{itemAsHtml vd i}
<tr.totalrule>
<td colspan=2>
<tr>
<td>
<td align=right>#{mixedAmountAsHtml total}
<tr.totalrule>
<td colspan=2>
<tr>
<td>
<td align=right>#{mixedAmountAsHtml total}