mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 07:09:28 +03:00
web: update search help and make it slidey
This commit is contained in:
parent
c2a1a399b6
commit
f825db1c89
@ -11,6 +11,9 @@ $(document).ready(function() {
|
||||
$('.balancereport td.account').mouseenter(function(){ $(this).addClass('mouseover'); });
|
||||
$('.balancereport td.account').mouseleave(function(){ $(this).removeClass('mouseover'); });
|
||||
|
||||
/* set up various show/hide toggles */
|
||||
$('#search-help-link').click(function() { $('#search-help').slideToggle('fast'); });
|
||||
|
||||
});
|
||||
|
||||
function searchformToggle() {
|
||||
|
@ -21,6 +21,7 @@ body { backgroun
|
||||
#addform input.textinput, #addform .dhx_combo_input, .dhx_combo_list { background-color:#eee; }
|
||||
#editform textarea { background-color:#eee; }
|
||||
.negative { color:#800; }
|
||||
.help { }
|
||||
|
||||
.balancereport .inacct { background-color:#eee; font-weight:bold; }
|
||||
.notinacct, .notinacct :link, .notinacct :visited, .notinacct .negative { /*color:#aaa;*/ }
|
||||
|
@ -8,15 +8,21 @@
|
||||
<td
|
||||
<input name=q size=100 value=#{q}
|
||||
<input type=submit value="Search"
|
||||
\ #
|
||||
<a#search-help-link href="#">help
|
||||
$if filtering
|
||||
\ #
|
||||
<span.showall
|
||||
<a href=@{here}>clear search
|
||||
<tr.help
|
||||
<tr
|
||||
<td
|
||||
<td
|
||||
leave blank to see general journal (all postings)<br>
|
||||
inacct:FULLACCTNAME or click an account to focus on one account, or inaccts: to include subs<br>
|
||||
acct:REGEXP to see postings to matched accounts, desc:REGEXP to search by description<br>
|
||||
date:PERIODEXP or edate:PERIODEXP to match by date or effective date<br>
|
||||
not: to negate, single or double quotes to include spaces, multiple patterns are AND'ed
|
||||
<div#search-help.help style="display:none;"
|
||||
Leave blank or click "all accounts" to see general journal (all postings). #
|
||||
Click account links to focus on one account, optionally with subaccounts.
|
||||
<br>
|
||||
acct:REGEXP to filter postings/transactions by account, #
|
||||
desc:REGEXP by description, #
|
||||
date:PERIODEXP or edate:PERIODEXP by date or effective date.
|
||||
<br>
|
||||
not: to negate, use single or double quotes to include spaces, multiple patterns are AND'ed.
|
||||
|
Loading…
Reference in New Issue
Block a user