Fix typo, add screenshots
This commit is contained in:
28
README.md
28
README.md
@@ -6,9 +6,9 @@
|
|||||||
|
|
||||||
## Feature
|
## Feature
|
||||||
|
|
||||||
### Transaction Template
|
### Create Transaction from Template
|
||||||
|
|
||||||
add your transaction template in `tx/` (in Go's template syntax), and create transaction from them on the fly.
|
Add your transaction template in `tx/` (in Go's template syntax), and create transaction from them in the browser.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
@@ -30,6 +30,16 @@ Cash expenses
|
|||||||
|
|
||||||
Checkout `tx/` folder for more examples.
|
Checkout `tx/` folder for more examples.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Adjust your transaction
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Result page
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
### Ledger Scripts
|
### Ledger Scripts
|
||||||
|
|
||||||
Run some commonly used ledger commands.
|
Run some commonly used ledger commands.
|
||||||
@@ -44,6 +54,8 @@ var SCRIPTS = map[string][]string{
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Rebuild binary everytime you make a change to `config.go`
|
||||||
|
|
||||||
Execute them and see the result in the browser.
|
Execute them and see the result in the browser.
|
||||||
|
|
||||||

|

|
||||||
@@ -53,6 +65,18 @@ Execute them and see the result in the browser.
|
|||||||
Requirements:
|
Requirements:
|
||||||
* go
|
* go
|
||||||
* ledger (Only required when you use scripts)
|
* ledger (Only required when you use scripts)
|
||||||
|
|
||||||
|
Install requirements on Debian / Ubuntu based distro:
|
||||||
|
```
|
||||||
|
sudo apt install golang ledger
|
||||||
|
```
|
||||||
|
|
||||||
|
Install requirements on Arch based distro:
|
||||||
|
```
|
||||||
|
sudo pacman -S golang ledger
|
||||||
|
```
|
||||||
|
|
||||||
|
Clone the repo
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone https://github.com/lancatlin/ledger-quicknote.git
|
git clone https://github.com/lancatlin/ledger-quicknote.git
|
||||||
|
|||||||
BIN
screenshots/action.png
Normal file
BIN
screenshots/action.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 23 KiB |
BIN
screenshots/confirm.png
Normal file
BIN
screenshots/confirm.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
BIN
screenshots/success.png
Normal file
BIN
screenshots/success.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
@@ -5,7 +5,7 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Comfirm new Tx</h1>
|
<h1>Confirm new Tx</h1>
|
||||||
<form action="/submit" method="POST">
|
<form action="/submit" method="POST">
|
||||||
<textarea name="tx" rows="15" cols="40">{{ .Tx }}</textarea><br>
|
<textarea name="tx" rows="15" cols="40">{{ .Tx }}</textarea><br>
|
||||||
<input type="submit">
|
<input type="submit">
|
||||||
|
|||||||
Reference in New Issue
Block a user