diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-12-04 08:59:33 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-12-04 08:59:33 -0500 |
commit | 9911c685fc5adf5984160f89d5861b9e79da008f (patch) | |
tree | b30b8899ebe51a9e238c900ac9c8c560ec08b534 | |
parent | 4afd1362bd57d0e4ce362dc105085b8c8d9f64c1 (diff) | |
download | pfsense-9911c685fc5adf5984160f89d5861b9e79da008f.zip pfsense-9911c685fc5adf5984160f89d5861b9e79da008f.tar.gz |
Remove deprecated Bootstap decoration from badges
Fix quotes
Make column selector numeric and add limits
-rw-r--r-- | src/usr/local/www/system.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/usr/local/www/system.php b/src/usr/local/www/system.php index ba14770..e2fcd72 100644 --- a/src/usr/local/www/system.php +++ b/src/usr/local/www/system.php @@ -487,7 +487,7 @@ $section->addInput(new Form_Select( 'Theme', $pconfig['webguicss'], $csslist -))->setHelp("<span class=\"badge bg-danger\" title=\"This feature is in BETA\">BETA</span> Choose an alternative css file (if installed) to change the appearance of the Web configurator. css files are located in /usr/local/www/bootstrap/css"); +))->setHelp('<span class="badge" title="This feature is in BETA">BETA</span> Choose an alternative css file (if installed) to change the appearance of the Web configurator. css files are located in /usr/local/www/bootstrap/css'); $section->addInput(new Form_Select( 'webguifixedmenu', @@ -499,9 +499,10 @@ $section->addInput(new Form_Select( $section->addInput(new Form_Input( 'dashboardcolumns', 'Dashboard Columns', - 'text', - $pconfig['dashboardcolumns'] -))->setHelp("<span class=\"badge bg-danger\" title=\"This feature is in BETA\">BETA</span>"); + 'number', + $pconfig['dashboardcolumns'], + [min => 1, max => 4] +))->setHelp('<span class="badge" title="This feature is in BETA">BETA</span>'); $form->add($section); |