diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-12-21 19:10:46 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-12-21 19:10:46 -0500 |
commit | 3e4fbe679b8ce1bc3de3ec1b75076f12d751406a (patch) | |
tree | e33fb1fa9541fcbb19ea3d6519911984649a4473 /usr/local/www/installer | |
parent | 96b2571494b690b269afb5ad41919425644cebc7 (diff) | |
download | pfsense-3e4fbe679b8ce1bc3de3ec1b75076f12d751406a.zip pfsense-3e4fbe679b8ce1bc3de3ec1b75076f12d751406a.tar.gz |
Turn background of input box red if you over allocate
Diffstat (limited to 'usr/local/www/installer')
-rw-r--r-- | usr/local/www/installer/installer.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/usr/local/www/installer/installer.php b/usr/local/www/installer/installer.php index 153d7bc..7bcef0c 100644 --- a/usr/local/www/installer/installer.php +++ b/usr/local/www/installer/installer.php @@ -784,6 +784,13 @@ function installer_custom() { color:'#000000' }); } + if(parseInt(\$('totalsize').value) > parseInt(\$('disktotals').value)) { + if(\$('totalsize')) + \$('totalsize').setStyle({ + background:'#FF0000', + color:'#000000' + }); + } } } } |