mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 07:09:28 +03:00
web: gratuitous accounts sidebar toggle
This commit is contained in:
parent
b0279cb2df
commit
8396f988ad
@ -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'); });
|
||||
|
||||
});
|
||||
|
||||
|
@ -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; }
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user