summaryrefslogtreecommitdiffstats
path: root/usr/local/www/installer
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-12-21 19:10:46 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-12-21 19:10:46 -0500
commit3e4fbe679b8ce1bc3de3ec1b75076f12d751406a (patch)
treee33fb1fa9541fcbb19ea3d6519911984649a4473 /usr/local/www/installer
parent96b2571494b690b269afb5ad41919425644cebc7 (diff)
downloadpfsense-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.php7
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'
+ });
+ }
}
}
}
OpenPOWER on IntegriCloud