mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-27 04:13:11 +03:00
web: refactor: begin layout cleanup
This commit is contained in:
parent
6aff8134b6
commit
e1bd767f61
@ -512,8 +512,8 @@ getJournalR = do
|
||||
td = mktd{here=here, title="hledger journal", msg=msg, a=a, p=p, j=j, today=today}
|
||||
editform' = editform td
|
||||
hamletToRepHtml $ pageLayout td [$hamlet|
|
||||
%div.ledger
|
||||
%div.accounts!style=float:left; ^br^
|
||||
%div#ledger
|
||||
%div#accounts ^br^
|
||||
^navlinks.td^
|
||||
^addform.td^
|
||||
^editform'^
|
||||
@ -543,8 +543,8 @@ getRegisterR = do
|
||||
td = mktd{here=here, title="hledger register", msg=msg, a=a, p=p, j=j, today=today}
|
||||
editform' = editform td
|
||||
hamletToRepHtml $ pageLayout td [$hamlet|
|
||||
%div.ledger
|
||||
%div.accounts!style=float:left; ^br^
|
||||
%div#ledger
|
||||
%div#accounts ^br^
|
||||
^navlinks.td^
|
||||
^addform.td^
|
||||
^editform'^
|
||||
@ -645,7 +645,7 @@ getJournalOnlyR = do
|
||||
editform' = editform td
|
||||
txns = journalReportAsHtml opts td $ journalReport opts fspec j
|
||||
hamletToRepHtml $ pageLayout td [$hamlet|
|
||||
%div.journal
|
||||
%div#journal
|
||||
%div.nav2
|
||||
%a#addformlink!href!onclick="return addformToggle()" add one transaction
|
||||
\ | $
|
||||
|
@ -42,8 +42,15 @@ body { margin:0; }
|
||||
#stopfilterlink { font-weight:bold; }
|
||||
.filtering { background-color:#ddd; }
|
||||
|
||||
div#floatcontainer { white-space:nowrap; }
|
||||
div#accounts { float:left; padding-right:1em; border-right:thin solid #eee; margin-right:1em; margin-bottom:5em; }
|
||||
div#transactions { }
|
||||
|
||||
div.journal { }
|
||||
div.register { }
|
||||
|
||||
.current { font-weight:bold; background-color:#ddd; }
|
||||
.description { padding-left:1em; }
|
||||
.description { padding-left:1em; white-space:normal; }
|
||||
.account { white-space:nowrap; padding-left:1em; }
|
||||
.amount { white-space:nowrap; padding-left:1em; }
|
||||
.balance { white-space:nowrap; padding-left:1em; }
|
||||
@ -58,14 +65,9 @@ table.journalreport { border-spacing: 0; }
|
||||
.journalreport td { border-top:thin solid #eee; }
|
||||
.journalreport pre { margin-top:0; }
|
||||
|
||||
.ledger .accounts {padding-right:1em; margin-right:1em; border-right:thin solid #eee; }
|
||||
.ledger .register { }
|
||||
|
||||
div.accounts { margin-bottom:5em; }
|
||||
|
||||
.balancereport tr { vertical-align:top; }
|
||||
table.balancereport { border-spacing:0; }
|
||||
.ledger .balancereport td { padding:0; }
|
||||
.balancereport td { padding:0; }
|
||||
.totalrule td { border-top:thin solid black; }
|
||||
|
||||
table.registerreport { border-spacing:0; }
|
||||
|
Loading…
Reference in New Issue
Block a user