Commit Graph

66 Commits

Author SHA1 Message Date
Eli Flanagan
e922a4aac5 fix datepicker not closing, linting
Added defacto JavaScript linting with eslint. I also included an editor
config file to aid common style. (http://editorconfig.org/#example-file)
2017-12-30 13:44:40 -05:00
Eli Flanagan
d12d7e2228 use bootstrap-datepicker
This also validates transaction date and description upon form submission. As noted in
the issue, this removes hledger-web's "smart date" functionality. This
functionality can be restored giving the demand but should be tracked in
another issue.
Previous iterations used input[type=date], but it isn't easily
crossbrowser and the polyfill I found had some quirks.
2017-12-29 13:01:26 -08:00
Dominik Süß
6b0972b752 Using full width on large screens 2016-10-26 10:14:45 -07:00
Dominik Süß
c0a6689c27 Improved highlighting 2016-10-26 10:14:45 -07:00
Dominik Süß
c61aedd106 Setting column width at the first entry 2016-10-26 10:05:50 -07:00
Dominik Süß
aaf95eb372 Accounts are now bottom-aligned 2016-10-26 10:05:50 -07:00
Dominik Süß
9dab7c4148 Title now moves with sidebar 2016-10-26 10:05:50 -07:00
Dominik Süß
cb79e01880 Sidebar width is now limited to the column
This helps the spacing between the sidebar and the main-content
2016-10-26 10:05:50 -07:00
Dominik Süß
29ad412a2e Increased visibility and now overflowing with ellipsis 2016-10-26 10:05:50 -07:00
Dominik Süß
f8f75cec52 Disabled Sidebar animations and fixed overflow 2016-10-26 10:05:50 -07:00
Dominik Süß
eff37004f7 Fixed sidebar wonkyness 2016-10-26 10:05:50 -07:00
Dominik Süß
0567e00625 Fixed multi commodities in sidebar 2016-10-26 10:05:50 -07:00
Dominik Süß
5d677fc174 Persistent sidebar state 2016-10-26 10:05:50 -07:00
Dominik Süß
5b4d61f198 Removed garbage from my clipboard 2016-10-26 10:05:50 -07:00
Dominik Süß
7d6887898a Enhanced searchbar 2016-10-26 10:05:50 -07:00
Dominik Süß
533d4ff2b8 Optimized for sm devices 2016-10-26 10:05:50 -07:00
Dominik Süß
e9feee098b Responsive sidebar 2016-10-26 10:05:50 -07:00
Dominik Süß
ab2ebbbcad Sidebar now works again 2016-10-26 10:05:50 -07:00
Dominik Süß
b29efba09d Improved add-modal 2016-10-26 10:05:50 -07:00
Dominik Süß
817fc8d9ec Highlighting active selection in the sidebar 2016-10-26 10:05:50 -07:00
Dominik Süß
962ddb3c3a Adopted Bootstrap classes everywhere 2016-10-26 10:05:50 -07:00
Simon Michael
7b1b1f5f8d web: focus field after clicking add txn (fixes #338) 2016-04-28 20:53:08 -07:00
Simon Michael
3739f0e364 web: leave date field blank, avoid problems (#322) 2016-04-28 18:27:00 -07:00
Thomas R. Koll
9f49da3713 web: remove more deprecated html attributes (align) and fix a tag with duplicate style attribute 2015-12-18 23:12:39 +01:00
Thomas R. Koll
3306c65ae5 web: colour for visited links needs to be important to stick 2015-12-18 10:14:35 +01:00
Thomas R. Koll
71f4dc53b1 web: in registerCharClick set the window.location.hash and listen to that event to highlight the new row 2015-12-18 10:14:09 +01:00
Thomas R. Koll
b6c3ba1caf web: highlight whatever is in the url hash, i.e. transactions 2015-12-18 09:21:14 +01:00
Thomas R. Koll
8a725e7e61 web: cleanup commented code 2015-12-18 08:57:19 +01:00
Thomas R. Koll
5fbdae005b web: use transaction indexes instead of the date for html tag ids #308 2015-12-18 08:35:37 +01:00
Thomas R. Koll
2782f2abf1 web: tt tag is deprecated, replace it with code tag and some colouring 2015-12-16 20:38:56 +01:00
Simon Michael
a06e612095 Merge pull request #263 from kmels/pr-251-fix-broken-shortcut
hledger-web: Fixes keyboard shortcut for adding a transaction.
2015-07-28 14:16:34 -07:00
Simon Michael
d156173647 web: make j keybinding respect --base-url (fixes #271) 2015-06-25 07:33:55 -07:00
Simon Michael
f64d3c7944 web: re-add unminified jquery source (#161) 2015-06-23 06:09:15 -07:00
Carlos Lopez-Camey
d14941ab4d hledger-web: Fixes keyboard shortcut for adding a transaction. 'addformShow' and 'addformReset' were broken. 2015-05-25 20:44:50 -06:00
Carlos Lopez-Camey
2d1f33cb06 Set default javascript parameter values in the functions addformReset, addFormShow 2015-05-02 15:42:08 -06:00
Simon Michael
abe47e81c2 web: keep the add button right-aligned on ctrl - 2015-02-23 23:26:49 +00:00
Simon Michael
e76cc6ee47 web: stay in add form when there are errors 2015-02-23 23:22:02 +00:00
Simon Michael
50ef6d52dd web: update typeahead.js to 0.10.4 2014-07-29 10:50:23 -07:00
Simon Michael
cf6da3af5d web: tweak some keys 2014-07-21 18:16:46 -07:00
Simon Michael
059c8dfc97 web: also handle keys when journal select focussed 2014-07-21 08:54:37 -07:00
Simon Michael
43eee83c33 web: fix js error on journal select field 2014-07-21 08:54:17 -07:00
Simon Michael
ed44ee99e4 web: add missing and all remaining flot js 2014-07-18 16:59:51 -07:00
Simon Michael
f2d9c6e9c1 web: more register chart improvements
- show a background color for future and less-than-zero regions
- show points for transactions, not all line corners
- hovering over point shows balance, date, posted amount and transaction
- clicking a point scrolls towards that date
2014-07-18 16:45:46 -07:00
Simon Michael
470835adc2 web: show points and zero/today lines on chart 2014-07-18 07:55:23 -07:00
Simon Michael
50577588d0 web: upgrade flot to 0.8.3 2014-07-17 16:51:49 -07:00
Simon Michael
b0d74b1466 web: support more than 2 postings in the add form
- ctrl plus/ctrl minus adds/removes posting fields
- clicking the more link or pressing tab in the last field also works
- the focus is adjusted sensibly
- the add form is reset if closed and reopened, except the number of postings
- keyboard shortcuts should be less dependent on focus now
- tested in recent firefox, chrome, safari
- things should be robust with typeahead, with one notable exception:
  typeahead is not enabled in the new account fields when you add
  postings. I tried hard, help welcome.
2014-07-14 14:30:30 -07:00
Simon Michael
c27ea12b66 web: upgrade bootstrap to 3.2 2014-07-14 14:28:20 -07:00
Simon Michael
009df13baf web: make the add form a modal dialog
The add form has become a modal dialog, and been moved into the default
template. This simplifies some things, for now. Eg it's easily
accessible from any page.
2014-07-09 00:04:50 -07:00
Simon Michael
ed3fd58fb9 web: rename help modal 2014-07-09 00:00:23 -07:00
Simon Michael
4f0b4ea36c web: add missing hs & js files 2014-06-14 14:33:11 -07:00