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 */
 | 
					    /* 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'); });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -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; }
 | 
				
			||||||
 | 
				
			|||||||
@ -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}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user