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_packet_capture.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_packet_capture.php')
-rw-r--r-- | src/usr/local/www/diag_packet_capture.php | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/src/usr/local/www/diag_packet_capture.php b/src/usr/local/www/diag_packet_capture.php index a934361..d31c335 100644 --- a/src/usr/local/www/diag_packet_capture.php +++ b/src/usr/local/www/diag_packet_capture.php @@ -393,25 +393,33 @@ $processisrunning = ($processcheck != ""); if (($action == gettext("Stop") or $action == "") and $processisrunning != true) { $form->addGlobal(new Form_Button( 'startbtn', - 'Start' - ))->removeClass('btn-primary')->addClass('btn-success'); + 'Start', + null, + 'fa-play-circle' + ))->addClass('btn-success'); } else { $form->addGlobal(new Form_Button( 'stopbtn', - 'Stop' - ))->removeClass('btn-primary')->addClass('btn-warning'); + 'Stop', + null, + 'fa-stop-circle' + ))->addClass('btn-warning'); } if (file_exists($fp.$fn) and $processisrunning != true) { $form->addGlobal(new Form_Button( 'viewbtn', - 'View Capture' - ))->removeClass('btn-primary'); + 'View Capture', + null, + 'fa-file-text-o' + ))->addClass('btn-primary'); $form->addGlobal(new Form_Button( 'downloadbtn', - 'Download Capture' - ))->removeClass('btn-primary'); + 'Download Capture', + null, + 'fa-download' + ))->addClass('btn-primary'); $section->addInput(new Form_StaticText( 'Last capture', |