|
|
|
| Description |
| A web-based UI.
|
|
| Synopsis |
|
|
|
| Documentation |
|
|
| Constructors | | HledgerWebApp | | | appRoot :: String | | | appDir :: FilePath | | | appOpts :: [Opt] | | | appArgs :: [String] | | | appJournal :: Journal | | | appStatic :: Static | |
|
| Instances | |
|
|
| data HledgerWebAppRoute | Source |
|
| Constructors | | StaticR (Route Static) | | | IndexR | | | JournalOnlyR | | | RegisterOnlyR | | | AccountsOnlyR | | | JournalR | | | RegisterR | |
| Instances | |
|
|
|
| A bundle of useful data passed to templates.
| | Constructors | | TD | | | here :: HledgerWebAppRoute | the current page's route
| | title :: String | page's title
| | msg :: Maybe (Html ()) | transient message
| | a :: String | a (acct/desc filter pattern) parameter
| | p :: String | p (period expression) parameter
| | j :: Journal | the current journal
| | today :: Day | the current day
|
|
|
|
|
|
| The web command.
|
|
| browser :: String -> IO () | Source |
|
|
|
|
|
| Gather all the stuff we want for a typical hledger web request handler.
|
|
|
|
|
| A combined accounts and journal view.
|
|
|
|
|
| A combined accounts and register view.
|
|
|
|
|
| A simple accounts and balances view like hledger balance.
|
|
|
| Render a balance report as HTML.
|
|
| accountNameToAccountRegex :: String -> String | Source |
|
|
| accountRegexToAccountName :: String -> String | Source |
|
|
| isAccountRegex :: String -> Bool | Source |
|
|
|
| A basic journal view, like hledger print, with editing.
|
|
|
| Render a journal report as HTML.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Handle a journal add form post.
|
|
|
| Handle a journal edit form post.
|
|
|
| Handle an import page post.
|
|
|
| A simple postings view like hledger register.
|
|
|
| Render a register report as HTML.
|
|
|
| A standalone journal edit form page.
|
|
|
| Wrap a template with the standard hledger web ui page layout.
|
|
|
|
| journalTitleInfo :: Journal -> String -> Day -> (String, String) | Source |
|
| Generate journal- and context-specific title and info strings for display.
|
|
|
|
|
|
|
|
|
|
| Produced by Haddock version 2.6.1 |