summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_dns.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2016-03-09 14:30:05 -0500
committerjim-p <jimp@pfsense.org>2016-03-09 14:30:55 -0500
commit37676f4e5c40e5e2ea60a5de36608e956a76fb08 (patch)
tree2c777eab62447adf0f706f86879791a8b1c11dec /src/usr/local/www/diag_dns.php
parentea76852be1665670dbf01a2998aa588c2b65ab53 (diff)
downloadpfsense-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_dns.php')
-rwxr-xr-xsrc/usr/local/www/diag_dns.php14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/usr/local/www/diag_dns.php b/src/usr/local/www/diag_dns.php
index e74ebba..7b1fb84 100755
--- a/src/usr/local/www/diag_dns.php
+++ b/src/usr/local/www/diag_dns.php
@@ -219,7 +219,7 @@ if ($createdalias) {
print_info_box(gettext("Alias was created/updated successfully."), 'success', false);
}
-$form = new Form('Lookup');
+$form = new Form(false);
$section = new Form_Section('DNS Lookup');
$section->addInput(new Form_Input(
@@ -233,11 +233,21 @@ $section->addInput(new Form_Input(
if (!empty($resolved)) {
$form->addGlobal(new Form_Button(
'create_alias',
- 'Add alias'
+ 'Add alias',
+ null,
+ 'fa-plus'
))->removeClass('btn-primary')->addClass('btn-success');
}
$form->add($section);
+
+$form->addGlobal(new Form_Button(
+ 'Submit',
+ 'Lookup',
+ null,
+ 'fa-search'
+))->addClass('btn-primary');
+
print $form;
if (!$input_errors && $type) {
OpenPOWER on IntegriCloud