diff options
author | jim-p <jimp@pfsense.org> | 2016-03-09 16:25:57 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2016-03-09 16:26:20 -0500 |
commit | 2e7fa7ca1b996254898ad8137f9299cb67806446 (patch) | |
tree | 066edbc429ca874e8a6eaa9a9f33f1789798c9fe /src/usr/local/www/interfaces.php | |
parent | da8a11340d83c76dc14d85b0326e1a81f9222c60 (diff) | |
download | pfsense-2e7fa7ca1b996254898ad8137f9299cb67806446.zip pfsense-2e7fa7ca1b996254898ad8137f9299cb67806446.tar.gz |
Fix some more stragglers for icon/button consistency. Ticket #5965
Diffstat (limited to 'src/usr/local/www/interfaces.php')
-rw-r--r-- | src/usr/local/www/interfaces.php | 36 |
1 files changed, 24 insertions, 12 deletions
diff --git a/src/usr/local/www/interfaces.php b/src/usr/local/www/interfaces.php index c07e398..8c6f563 100644 --- a/src/usr/local/www/interfaces.php +++ b/src/usr/local/www/interfaces.php @@ -1817,8 +1817,10 @@ $group->add(new Form_Select( $group->add(new Form_Button( 'addgw', - 'Add a new gateway' -))->removeClass('btn-primary')->setAttribute('data-target', '#newgateway')->setAttribute('data-toggle', 'modal'); + 'Add a new gateway', + null, + 'fa-plus' +))->addClass('btn-success')->setAttribute('data-target', '#newgateway')->setAttribute('data-toggle', 'modal'); $group->setHelp('If this interface is an Internet connection, select an existing Gateway from the list or add a new one using the "Add" button.' . '<br />' . 'On local LANs the upstream gateway should be "none".' . @@ -1848,8 +1850,10 @@ $group->add(new Form_Select( $group->add(new Form_Button( 'addgw6', - 'Add a new gateway' -))->removeClass('btn-primary')->setAttribute('data-target', '#newgateway6')->setAttribute('data-toggle', 'modal'); + 'Add a new gateway', + null, + 'fa-plus' +))->addClass('btn-success')->setAttribute('data-target', '#newgateway6')->setAttribute('data-toggle', 'modal'); $group->setHelp('If this interface is an Internet connection, select an existing Gateway from the list or add a new one using the "Add" button.' . '<br />' . 'On local LANs the upstream gateway should be "none". '); @@ -1888,17 +1892,21 @@ $modal->addInput(new Form_Input( $btnaddgw6 = new Form_Button( 'add6', - 'Add' + 'Add', + null, + 'fa-plus' ); -$btnaddgw6->removeClass('btn-primary')->addClass('btn-success'); +$btnaddgw6->addClass('btn-success'); $btncnxgw6 = new Form_Button( 'cnx6', - 'Cancel' + 'Cancel', + null, + 'fa-undo' ); -$btncnxgw6->removeClass('btn-primary')->addClass('btn-default'); +$btncnxgw6->addClass('btn-warning'); $modal->addInput(new Form_StaticText( null, @@ -3200,17 +3208,21 @@ $modal->addInput(new Form_Input( $btnaddgw = new Form_Button( 'add', - 'Add' + 'Add', + null, + 'fa-plus' ); -$btnaddgw->removeClass('btn-primary')->addClass('btn-success'); +$btnaddgw->addClass('btn-success'); $btncnxgw = new Form_Button( 'cnx', - 'Cancel' + 'Cancel', + null, + 'fa-undo' ); -$btncnxgw->removeClass('btn-primary')->addClass('btn-default'); +$btncnxgw->addClass('btn-warning'); $modal->addInput(new Form_StaticText( null, |