diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2013-01-10 15:11:56 -0800 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2013-01-10 15:11:56 -0800 |
| commit | 64385e0fa3139d7392f107c69267e977f72a4d46 (patch) | |
| tree | 674cc80111db5b92854872c32e0a7815c1ae8871 /budget/static | |
| parent | 800dcba2c8b26d09c19074d8604c4577d4774600 (diff) | |
| parent | 8b114c5718e332553a3bb9718c707365f7ab5a0a (diff) | |
| download | ihatemoney-mirror-64385e0fa3139d7392f107c69267e977f72a4d46.zip ihatemoney-mirror-64385e0fa3139d7392f107c69267e977f72a4d46.tar.gz ihatemoney-mirror-64385e0fa3139d7392f107c69267e977f72a4d46.tar.bz2 | |
Merge pull request #97 from aavenel/cosmetics
Small changes for UI
Diffstat (limited to 'budget/static')
| -rw-r--r-- | budget/static/css/main.css | 4 | ||||
| -rw-r--r-- | budget/static/js/ihatemoney.js | 21 |
2 files changed, 15 insertions, 10 deletions
diff --git a/budget/static/css/main.css b/budget/static/css/main.css index c3c8ed9..3274241 100644 --- a/budget/static/css/main.css +++ b/budget/static/css/main.css @@ -189,6 +189,10 @@ tr.payer_line .balance-name{ position: absolute; } +.modal-body { + max-height:455px; +} + /* Fluid Offsets for Boostrap */ .row-fluid > [class*="span"]:not([class*="offset"]):first-child{margin-left:0;} diff --git a/budget/static/js/ihatemoney.js b/budget/static/js/ihatemoney.js index 6a813b9..24e82b7 100644 --- a/budget/static/js/ihatemoney.js +++ b/budget/static/js/ihatemoney.js @@ -1,17 +1,18 @@ - // Add a script to select all or non of the checkboxes in the add_bill form - function toggle() + // Add scripts to select all or non of the checkboxes in the add_bill form +function selectall() { var els = document.getElementsByName('payed_for'); for(var i =0;i<els.length;i++) { - if(document.getElementById('toggleField').checked) - { - els[i].checked=true; - } - else - { - els[i].checked=false; - } + els[i].checked=true; + } + } +function selectnone() + { + var els = document.getElementsByName('payed_for'); + for(var i =0;i<els.length;i++) + { + els[i].checked=false; } } |
