1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ihatemoney_ynh.git synced 2024-09-03 19:26:15 +02:00
Commit graph

139 commits

Author SHA1 Message Date
Alexandre Avenel
38d4534c69 Fix id in form label
Checking item was broken when clicking on the label instead of the checkbox
2017-02-16 23:36:45 +01:00
Alexandre Avenel
baba943e62 Fix xss (#173)
Fix #173
Rewrite multi select widget as a template in order to have all values properly escaped.
2017-02-16 23:11:30 +01:00
Jocelyn Delalande
0aafbcc0b3 Update bootstrap-datepicker to 1.6.4
Actually switching to maintained fork at
https://github.com/uxsolutions/bootstrap-datepicker ; the original project
being unmaintained since 2012.

- Works with recent jQuery
- BS4 is not supported by bootstrap-datepicker, but actually, it works :-)

ref https://github.com/uxsolutions/bootstrap-datepicker/issues/1670
2017-02-07 15:38:18 +01:00
Jocelyn Delalande
fe39258630 Adapt list bills view to bootstrap 4
- modal classes and hierarchy changed since BS2
- striped tables are now handled by css3 pseudo-class rather than classes
- fix placement/alignment for the button and comment above the table
2017-02-04 00:41:28 +01:00
Jocelyn Delalande
f9856cb991 Adapt tryout button to bootstrap 4
Trying to keep same look'n'feel.
2017-02-04 00:41:28 +01:00
Jocelyn Delalande
c6c5f8657e Adapt navigation bar to bootstrap 4
Also fixed some weird alignment issues.
I think this will need more work later (revamp the navbar layout to avoid that
sensation of thing which are floating at random places in the navbar).
2017-02-04 00:41:28 +01:00
Jocelyn Delalande
e148d19e96 Add a label for screen-readers on user add form
There was no label, which is bad for accessibility.
2017-02-04 00:41:28 +01:00
Jocelyn Delalande
a3cbede680 Refactor layout based on bootstrap 4 grid 2017-02-04 00:41:20 +01:00
Jocelyn Delalande
2862130269 Adapt to bootstrap 4 forms
- Adapt to BS4 class names and hierarchy
- Redesign some forms to have the label above the input (mobile-friendly)
- For the remaining inline form (add bill), use the grid, as BS no longer
  provides inline form alignment helpers
2017-02-04 00:41:05 +01:00
Jocelyn Delalande
37da1db38a Update bootstrap dependency to bootstrap 4 2017-02-04 00:40:59 +01:00
Jocelyn Delalande
87d2dea9c8 Factor navbar between list_bills and settle_bill 2017-01-30 23:23:03 +01:00
Baptiste Jonglez
d6cf89008f Workaround rounding issues when displaying balance of users
A user with a "0.00" balance would have either a "+0.00" in green or a
"-0.00" in red, depending on the exact value of the floating-point value.

Fix this by simply rounding to 2 digits before comparing to zero.
2017-01-03 21:37:19 +01:00
Jocelyn Delande
7a630b78ea Hide the member weights in members list if all weights are "1". 2016-06-16 15:52:24 +02:00
Jocelyn Delande
ec8fe2326b Added member edit form 2016-06-16 15:52:24 +02:00
Jocelyn Delande
64c2cd56df display an edit button on members list 2016-06-15 10:20:37 +02:00
Jocelyn Delande
1147f2ece8 Ask for confirmation only for deleting users 2016-06-15 10:20:37 +02:00
Jocelyn Delande
85abc0b1fc Added a template filter not to show zero decimals on user weights 2016-06-15 10:20:37 +02:00
Jocelyn Delande
b57df5cd36 UI for showing user weights in user list 2016-06-15 10:20:37 +02:00
Mathieu Leplatre
eff0f7c2df Prevent comma to be included in URL 2015-09-25 12:32:56 +02:00
Mathieu Leplatre
c6c40f02c5 Prevent comma to be included in URL 2015-09-25 12:31:52 +02:00
Jocelyn Delande
d9313ba40e Remove trailing whitespaces 2015-08-20 12:02:04 +02:00
Alexandre Avenel
79f24b7cb8 Format numbers in templates 2014-07-22 20:19:35 +02:00
A.Avenel
ca186dfa2e Fix translation for password tooltip
- Javascript don't like non-escaped character
- fix typo
2013-10-13 21:51:34 +02:00
A.Avenel
a0e94f3c11 bugfix : "Settle" link was not active on navbar. 2013-04-07 23:01:32 +02:00
A.Avenel
0d7c82b122 More code cleanup for "settle bills" 2013-04-07 22:14:32 +02:00
A.Avenel
1fa0cff180 use "member.id" instead of "member" 2013-04-07 20:25:25 +02:00
A.Avenel
b410e48851 Merge branch 'flask0.9' of github.com:aavenel/ihatemoney 2013-02-19 15:36:37 +01:00
A.Avenel
8b114c5718 update for "create archive" interface 2012-11-26 21:52:25 +01:00
A.Avenel
79bd22c25c Add unit tests for settle_bill 2012-11-03 20:53:51 +01:00
A.Avenel
2b51131aa4 Merge git://github.com/Lastpixl/ihatemoney into HEAD
Conflicts:
	budget/templates/layout.html
	budget/templates/list_bills.html
2012-11-03 17:34:05 +01:00
A.Avenel
0fcc2c72ec Some love for the dashboard view 2012-09-03 23:11:32 +02:00
A.Avenel
44dc06bb6f Bugfix : "Submit and add a new one" not working 2012-09-03 21:06:07 +02:00
A.Avenel
d0129abc0e Bugfix : calendar widget not working when you edit a bill. 2012-09-03 18:11:31 +02:00
A.Avenel
a2b950d9c8 Remove some old code no longer needed (Correct 404 errors about jquery-ui) 2012-09-03 17:40:34 +02:00
Alexis Metaireau
6a544855d7 Fix project deletion. fix #87 2012-09-02 13:53:01 +02:00
Frédéric Sureau
be32a2550e Update to Boostrap v2.
Remove unused libs (QTip, JQueryUI) and add bootstrap-datepicker which is much lighter.
2012-04-05 15:40:09 +02:00
Xavier Mehrenberger
cb13fbb782 Split bills function and basic template. 2012-03-12 01:35:28 +01:00
Adrien CLERC
bd1b0aaff3 Add QTip2 and use it to display a message about access code on the first page. 2012-02-11 19:18:34 +01:00
Frédéric Sureau
a59465c9a5 Changed delete feature to only support POST method. Fix #21. 2012-01-28 01:35:04 +01:00
Alexis Metaireau
848e4a34ce Fix an error in dashboard.html 2011-12-04 00:23:55 +01:00
A.Avenel
1a5abcfbf2 Fix for a bug introduced in last commit : crash of dashboard view when there is no bill. 2011-12-03 22:25:19 +01:00
A.Avenel
0633b153f6 Small commit to add more informations in dashboard view. 2011-12-03 17:40:50 +01:00
Alexis Metaireau
79cbd72c03 oops, forgot to include dashboard.html in a previous commit. See #42 2011-12-03 16:15:25 +01:00
Alexis Metaireau
3a2958a44e Add a 'sumbit and add a new one' button for new bills. Fix #53 2011-11-28 01:42:02 +01:00
Alexis Metaireau
46f9807806 Fix a little styling mistake. Now the menu displays the right way 2011-11-28 01:15:52 +01:00
Alexis Metaireau
f75bf39307 Transform the bill addition form, using a popup. See #53 2011-11-28 00:22:10 +01:00
Alexis Metaireau
8570e79170 reorganize the static folder structure 2011-11-28 00:20:30 +01:00
Alexis Metaireau
44060f03df update bootstrap to the last version. Clean some css 2011-11-27 23:11:09 +01:00
Alexis Metaireau
bb146b09d7 Fix #54. The flash message is now in green 2011-11-27 04:33:45 +01:00
Alexis Metaireau
f0c750f99a merge with quentin 2011-11-27 04:13:30 +01:00