diff options
author | jim-p <jimp@pfsense.org> | 2016-03-09 14:30:05 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2016-03-09 14:30:55 -0500 |
commit | 37676f4e5c40e5e2ea60a5de36608e956a76fb08 (patch) | |
tree | 2c777eab62447adf0f706f86879791a8b1c11dec /src/usr/local/www/diag_testport.php | |
parent | ea76852be1665670dbf01a2998aa588c2b65ab53 (diff) | |
download | pfsense-37676f4e5c40e5e2ea60a5de36608e956a76fb08.zip pfsense-37676f4e5c40e5e2ea60a5de36608e956a76fb08.tar.gz |
Bring some consistency to the way most buttons are displayed (color, icons, etc). Ticket #5965
Still need to review Advanced buttons and Repeatable block buttons.
Diffstat (limited to 'src/usr/local/www/diag_testport.php')
-rw-r--r-- | src/usr/local/www/diag_testport.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/usr/local/www/diag_testport.php b/src/usr/local/www/diag_testport.php index 570289b..763742a 100644 --- a/src/usr/local/www/diag_testport.php +++ b/src/usr/local/www/diag_testport.php @@ -245,7 +245,7 @@ if ($input_errors) { gettext('This test does not function for UDP since there is no way to reliably determine if a UDP port accepts connections in this manner.'), 'warning', false); } -$form = new Form('Test'); +$form = new Form(false); $section = new Form_Section('Test Port'); @@ -296,6 +296,14 @@ $section->addInput(new Form_Select( " For example if you force IPv4 and use a hostname that only returns an AAAA IPv6 IP address, it will not work."); $form->add($section); + +$form->addGlobal(new Form_Button( + 'Submit', + 'Test', + null, + 'fa-wrench' +))->addClass('btn-primary'); + print $form; // If the command succeeded, the user asked to see the output and there is output, then show it. |