From 37676f4e5c40e5e2ea60a5de36608e956a76fb08 Mon Sep 17 00:00:00 2001 From: jim-p Date: Wed, 9 Mar 2016 14:30:05 -0500 Subject: 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. --- src/usr/local/www/diag_ping.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/usr/local/www/diag_ping.php') diff --git a/src/usr/local/www/diag_ping.php b/src/usr/local/www/diag_ping.php index c35ee7e..e5756b6 100644 --- a/src/usr/local/www/diag_ping.php +++ b/src/usr/local/www/diag_ping.php @@ -167,7 +167,7 @@ if ($input_errors) { print_input_errors($input_errors); } -$form = new Form('Ping'); +$form = new Form(false); $section = new Form_Section('Ping'); @@ -201,6 +201,14 @@ $section->addInput(new Form_Select( ))->setHelp('Select the maximum number of pings'); $form->add($section); + +$form->addGlobal(new Form_Button( + 'Submit', + 'Ping', + null, + 'fa-rss' +))->addClass('btn-primary'); + print $form; if ($do_ping && !empty($result) && !$input_errors) { -- cgit v1.1