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
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
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
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
1fa0cff180
use "member.id" instead of "member"
2013-04-07 20:25:25 +02: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
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
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
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
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
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
f0c750f99a
merge with quentin
2011-11-27 04:13:30 +01:00
Alexis Metaireau
47010d4cd7
change the icons, simplify some javascript
2011-11-27 04:11:22 +01:00
Tinmn
2cadead381
Members are now sorted by name in the balance.
2011-11-26 14:24:48 +01:00
Alexis Metaireau
672f2a1ca1
revert arnaud's commit about delete links
2011-11-24 00:27:51 +01:00
Tinmn
2a6ccaa0cf
Correction of a (very) minor bug of bill hover (commit 6df17b7d97
).
2011-11-21 02:35:57 +01:00
Tinmn
6df17b7d97
Bill's members highlights in the balance in accordance with #69 .
...
I'm not satisfied with the payer display but I have better in mind.
2011-11-20 20:30:14 +01:00
Tinmn
2e9d1b882a
Change delete bill logo in accordance with #67 .
2011-11-20 16:43:03 +01:00
Tinmn
ebf705a20f
Bill owers are now separated with a ',' in the bill list.
2011-11-20 16:32:48 +01:00
Tinmn
a5cc50b0c2
Addition of an auto hiding user information message in the add user text field (with translation).
2011-11-20 14:37:32 +01:00
Arnaud Bos
3bf8cececf
Minor CSS changes
2011-11-17 09:07:21 +01:00
Arnaud Bos
ac2935b429
Ease "Add a bill" form occurrence with slideUp/slideDown effects. Related to #53 .
2011-11-02 13:20:00 +01:00
Arnaud Bos
d9cf29c510
First draft of fixing sidebar ugly hovering effect pointed in #51 .
2011-11-02 00:54:43 +01:00
Arnaud Bos
0d44b97c4a
Make the new bill link more visible. Fix #50 .
2011-11-01 14:41:51 +01:00
Arnaud Bos
5963d7df9d
Replace edit / delete links by icons. Fix #49 .
2011-11-01 14:35:20 +01:00
Arnaud Bos
7f805b63ca
Improvement of the sidebar look. Related to #34 . Fix #52 .
2011-11-01 12:57:12 +01:00
Arnaud Bos
1e0898dd87
Last selected payer and translations. Fix #47 .
...
- Last selected payer selected by default when creating a new bill
- Fix some translation typos and modify a few labels
2011-10-20 04:18:12 +02:00
Alexis Metaireau
6f4f04b117
Document the API. Fix #46
2011-10-18 23:26:13 +02:00
Alexis Metaireau
4e1819523f
Minor changes to the slidebar. See #34
2011-10-18 18:39:38 +02:00
Alexis Metaireau
f7a969240a
Add a datepicker (with support of i18n). Fix #37
2011-10-16 23:38:27 +02:00
Alexis Metaireau
9a3e4537cb
Format floats with 2 decimals. Fix #39
2011-10-16 13:59:22 +02:00
Alexis Metaireau
c1267da2ea
translate 'each' as well
2011-10-15 02:53:09 +02:00
Alexis Metaireau
8acd4984dd
add the project's title in the list of bills
2011-10-15 02:40:19 +02:00
Alexis Metaireau
d9c7977a59
fix a bit the UI (identifier on bill's list)
2011-10-15 02:24:02 +02:00
Alexis Metaireau
f61d1432c7
Translate the application using Flask-babel.
...
The only translation so far is french, but more can be added. The browser language
is used thanks to the HTTP languages headers.
There are still some problems with the translation of some strings, I don't know
why this is. See #12
2011-10-15 01:19:19 +02:00
Alexis Metaireau
5245a1a6c7
Do not prompt the user with a 'prompt()' in javascript when deleting members. Fix #29
2011-10-08 17:13:36 +02:00