mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-19 18:29:36 +03:00
web: add help links
This commit is contained in:
parent
9c410a50dd
commit
b3aedda275
@ -196,8 +196,10 @@ hledgerpage env msgs title content =
|
||||
navbar :: Hack.Env -> HSP XML
|
||||
navbar env =
|
||||
<div id="navbar">
|
||||
<a href="http://hledger.org" id="hledgerorglink">hledger.org</a>
|
||||
<% navlinks env %>
|
||||
<% searchform env %>
|
||||
<a href="http://hledger.org/README.html" id="helplink">help</a>
|
||||
</div>
|
||||
|
||||
getParamOrNull p = fromMaybe "" `fmap` getParam p
|
||||
@ -245,7 +247,7 @@ addform env = do
|
||||
</tr>
|
||||
<% transactionfields 1 env %>
|
||||
<% transactionfields 2 env %>
|
||||
<tr align="right"><td><input type="submit" value="add transaction" /></td></tr>
|
||||
<tr id="addbuttonrow"><td><input type="submit" value="add transaction" /></td></tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -5,8 +5,11 @@ body { font-family: "helvetica","arial", "sans serif"; margin:0; }
|
||||
#navlinks { display:inline; }
|
||||
.navlink { font-weight:normal; }
|
||||
#searchform { font-size:small; display:inline; margin-left:1em; }
|
||||
#resetlink { }
|
||||
#hledgerorglink { font-size:small; float:right; }
|
||||
#helplink { font-size:small; margin-left:1em; }
|
||||
#resetlink { font-size:small; }
|
||||
#messages { color:red; background-color:#ffeeee; margin:0.5em;}
|
||||
#content { padding:0 4px 0 4px; }
|
||||
#addform { margin-left:1em; font-size:small; float:right;}
|
||||
#addform table { background-color:#eeeeee; border:2px solid #dddddd; }
|
||||
#addform #addbuttonrow td { text-align:left; }
|
Loading…
Reference in New Issue
Block a user