diff --git a/hledger-web/static/hledger.css b/hledger-web/static/hledger.css index 798447de1..effae01d3 100644 --- a/hledger-web/static/hledger.css +++ b/hledger-web/static/hledger.css @@ -158,8 +158,30 @@ ul { vertical-align:bottom; } -.transactionsreport .posting td { - border: none !important; +.transactionsreport { + margin-top: 1ex; + border-top: solid 2px #ddd; +} + +.transaction { + border-bottom-style: solid; + border-width: 1px; + border-color: #ddd; + padding-bottom: 1ex; + padding: 5px; +} + +.transaction .title > * { + display: inline-block; +} + +.postings { + padding-left: 2em; +} + +.transaction .posting { + display: flex; + justify-content: space-between; } .negative { diff --git a/hledger-web/templates/journal.hamlet b/hledger-web/templates/journal.hamlet index 00481096f..0f8d6494b 100644 --- a/hledger-web/templates/journal.hamlet +++ b/hledger-web/templates/journal.hamlet @@ -6,32 +6,23 @@ $if elem AddPermission perms data-toggle="modal" data-target="#addmodal" title="Lisää uusi tapahtuma kirjanpitoon."> Kirjaa tapahtuma -
- - - - -
Päiväys - Selite - Tili - Summa - +
    $forall torig <- items -
- #{show (tdate torig)} - - #{textElideRight 60 (tdescription torig)} - +
  • +
    +
  • - - -   - - #{elideAccountName 40 acc} - - ^{mixedAmountAsHtml amt} +