mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 15:14:49 +03:00
web: tooltips everywhere
This commit is contained in:
parent
20bc969ef0
commit
8dfd504343
@ -1,12 +1,12 @@
|
|||||||
<div#accountsheading
|
<div#accountsheading
|
||||||
accounts
|
accounts
|
||||||
\ #
|
\ #
|
||||||
<a#accounts-toggle-link.togglelink href="#">[+/-]
|
<a#accounts-toggle-link.togglelink href="#" title="Toggle accounts sidebar">[+/-]
|
||||||
|
|
||||||
<div#accounts
|
<div#accounts
|
||||||
<table.balancereport>
|
<table.balancereport>
|
||||||
<tr.item :allaccts:.inacct
|
<tr.item :allaccts:.inacct
|
||||||
<td.account colspan=3><a href=@{here}>all accounts
|
<td.account colspan=3><a href=@{here} title="Show all accounts and postings">all accounts
|
||||||
|
|
||||||
$forall i <- items
|
$forall i <- items
|
||||||
^{itemAsHtml vd i}
|
^{itemAsHtml vd i}
|
||||||
|
@ -10,4 +10,4 @@
|
|||||||
<a href="@?{acctsonlyquery}" title="Focus on this account and sub-accounts and hide others">-others -->
|
<a href="@?{acctsonlyquery}" title="Focus on this account and sub-accounts and hide others">-others -->
|
||||||
|
|
||||||
<td.balance align=right>#{mixedAmountAsHtml abal}
|
<td.balance align=right>#{mixedAmountAsHtml abal}
|
||||||
<td.numpostings align=right>(#{numpostingsinacct acct})
|
<td.numpostings align=right title="#{numpostings} transactions in this account">(#{numpostings})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<a#editformlink href onclick="return editformToggle(event)">edit
|
<a#editformlink href onclick="return editformToggle(event)" title="Toggle journal edit form">edit
|
||||||
\ | #
|
\ | #
|
||||||
<a#addformlink href onclick="return addformToggle(event)">add
|
<a#addformlink href onclick="return addformToggle(event)" title="Toggle transaction add form">add
|
||||||
<a#importformlink href onclick="return importformToggle(event)" style="display:none;">import transactions
|
<a#importformlink href onclick="return importformToggle(event)" style="display:none;">import transactions
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
^{sidecontent}
|
^{sidecontent}
|
||||||
<div#main.journal
|
<div#main.journal
|
||||||
<div#navlinks
|
<div#navlinks
|
||||||
^{navlink vd "transactions" JournalR} | #
|
^{navlink vd "transactions" JournalR "View the transaction register"} | #
|
||||||
^{editlinks}
|
^{editlinks}
|
||||||
<div#maincontent
|
<div#maincontent
|
||||||
^{searchform vd}
|
^{searchform vd}
|
||||||
|
@ -1 +1 @@
|
|||||||
<a##{s}link.#{style} href=@?{u}>#{s}
|
<a##{s}link.#{style} href=@?{u} title="#{title}">#{s}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
^{sidecontent}
|
^{sidecontent}
|
||||||
<div#main.register
|
<div#main.register
|
||||||
<div#navlinks
|
<div#navlinks
|
||||||
^{navlink vd "transactions" RegisterR} | #
|
^{navlink vd "transactions" RegisterR "View the transaction register"} | #
|
||||||
^{editlinks}
|
^{editlinks}
|
||||||
<div#maincontent
|
<div#maincontent
|
||||||
^{searchform vd}
|
^{searchform vd}
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<input name=q size=60 value=#{q}
|
<input name=q size=60 value=#{q}
|
||||||
<input type=submit value="Search"
|
<input type=submit value="Search"
|
||||||
\ #
|
\ #
|
||||||
<a#search-help-link href="#">help
|
<a#search-help-link href="#" title="Toggle search help">help
|
||||||
$if filtering
|
$if filtering
|
||||||
\ #
|
\ #
|
||||||
<span.showall
|
<span.showall
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<div#topbar
|
<div#topbar
|
||||||
<a.topleftlink href=#{hledgerorgurl}
|
<a.topleftlink href=#{hledgerorgurl} title="More about hledger"
|
||||||
hledger-web
|
hledger-web
|
||||||
<br />
|
<br />
|
||||||
#{version}
|
#{version}
|
||||||
<a.toprightlink href=#{manualurl} target=hledgerhelp>manual
|
<a.toprightlink href=#{manualurl} target=hledgerhelp title="User manual">manual
|
||||||
<h1>#{title}
|
<h1>#{title}
|
||||||
$maybe m <- msg
|
$maybe m <- msg
|
||||||
<div#message>#{m}
|
<div#message>#{m}
|
||||||
|
@ -350,8 +350,8 @@ topbar VD{j=j,msg=msg,today=today} = $(Settings.hamletFile "topbar")
|
|||||||
-- registerlink = navlink vd "postings" RegisterR
|
-- registerlink = navlink vd "postings" RegisterR
|
||||||
|
|
||||||
-- | Navigation link, preserving parameters and possibly highlighted.
|
-- | Navigation link, preserving parameters and possibly highlighted.
|
||||||
navlink :: ViewData -> String -> AppRoute -> Hamlet AppRoute
|
navlink :: ViewData -> String -> AppRoute -> String -> Hamlet AppRoute
|
||||||
navlink VD{here=here,q=q} s dest = $(Settings.hamletFile "navlink")
|
navlink VD{here=here,q=q} s dest title = $(Settings.hamletFile "navlink")
|
||||||
where u = (dest, if null q then [] else [("q", pack q)])
|
where u = (dest, if null q then [] else [("q", pack q)])
|
||||||
style | dest == here = "navlinkcurrent"
|
style | dest == here = "navlinkcurrent"
|
||||||
| otherwise = "navlink" :: Text
|
| otherwise = "navlink" :: Text
|
||||||
|
Loading…
Reference in New Issue
Block a user