summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_wol.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/services_wol.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/services_wol.php')
-rw-r--r--src/usr/local/www/services_wol.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/usr/local/www/services_wol.php b/src/usr/local/www/services_wol.php
index 516af74..350e9e4 100644
--- a/src/usr/local/www/services_wol.php
+++ b/src/usr/local/www/services_wol.php
@@ -164,7 +164,7 @@ if ($savemsg) {
print_info_box($savemsg, $class);
}
-$form = new Form('Send');
+$form = new Form(false);
$section = new Form_Section('Wake-on-LAN');
@@ -182,6 +182,13 @@ $section->addInput(new Form_Input(
$mac
))->setHelp(gettext('Enter a MAC address in the following format: xx:xx:xx:xx:xx:xx'));
+$section->addInput(new Form_Button(
+ 'Submit',
+ 'Send',
+ null,
+ 'fa-power-off'
+))->addClass('btn-primary');
+
$form->add($section);
print $form;
?>
@@ -227,10 +234,12 @@ print $form;
</div>
<div class="panel-footer">
<a class="btn btn-success" href="services_wol_edit.php">
+ <i class="fa fa-plus icon-embed-btn"></i>
<?=gettext("Add");?>
</a>
<a href="services_wol.php?wakeall=true" role="button" class="btn btn-primary">
+ <i class="fa fa-power-off icon-embed-btn"></i>
<?=gettext("Wake all devices")?>
</a>
</div>
OpenPOWER on IntegriCloud