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 */ /* set up various show/hide toggles */
$('#search-help-link').click(function() { $('#search-help').slideToggle('fast'); }); $('#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; } .topleftlink { font-size:small; }
.toprightlink { font-size:small; } .toprightlink { font-size:small; }
#journaldesc { font-size:small; } #journaldesc { font-size:small; }
.togglelink { font-size:small; }
.help { font-size:smaller; } .help { font-size:smaller; }
.form { font-size:small; } .form { font-size:small; }
.journalreport { font-size:small; } .journalreport { font-size:small; }

View File

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