Commit 98f461d19e74598f16307611691908bfb204ccad
updated README
austinfrey committed on 11/6/2018, 3:00:49 AMParent: 12620577768038d331153bf3c539432cfec9909e
Files changed
README.md | changed |
package.json | changed |
views/entries.js | changed |
README.md | ||
---|---|---|
@@ -3,5 +3,6 @@ | ||
3 | 3 … | |
4 | 4 … | ## Commands |
5 | 5 … | Command | Description | |
6 | 6 … | -----------------------|--------------------------------------------------| |
7 | -`$ npm run electro` | |
7 … | +`$ npm run electro` | start electron application | |
8 … | +`$ npm run electro:clean` | delete databases/indexes, start electron application |
package.json | |||
---|---|---|---|
@@ -6,9 +6,8 @@ | |||
6 | 6 … | "build": "bankai build index.js", | |
7 | 7 … | "create": "choo-scaffold", | |
8 | 8 … | "electro": "electro .", | |
9 | 9 … | "electro:clean": "rm .test.db accounts.json entries.json && electro .", | |
10 | - "carlo": "node carlo", | ||
11 | 10 … | "inspect": "bankai inspect index.js", | |
12 | 11 … | "start": "bankai start index.js", | |
13 | 12 … | "test": "standard && npm run test-deps", | |
14 | 13 … | "test-deps": "dependency-check . && dependency-check . --extra --no-dev -i tachyons" |
views/entries.js | ||
---|---|---|
@@ -4,17 +4,17 @@ | ||
4 | 4 … | |
5 | 5 … | function view (state, emit) { |
6 | 6 … | if (state.title !== TITLE) emit(state.events.DOMTITLECHANGE, TITLE) |
7 | 7 … | |
8 | - const form = h('form', [ | |
8 … | + const form = h('form.pb2', [ | |
9 | 9 … | h('div.pb2', [ |
10 | 10 … | h('label.mb2', 'debit account'), |
11 | 11 … | h('div', h('select#debit', [ |
12 | 12 … | h('option', { value: 'true' }, 'select'), |
13 | 13 … | generateAccountList() |
14 | 14 … | ])) |
15 | 15 … | ]), |
16 | - h('div.pb2', [ | |
16 … | + h('div.pb3', [ | |
17 | 17 … | h('label.mb2', 'credit account'), |
18 | 18 … | h('div', h('select#credit', [ |
19 | 19 … | h('option', { value: 'true' }, 'select'), |
20 | 20 … | generateAccountList() |
Built with git-ssb-web