summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_nat_out.php
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-11-04 11:26:57 -0500
committerStephen Beaver <sbeaver@netgate.com>2015-11-04 11:26:57 -0500
commit09415b9e568f6f10d3f3b7e5c153109e869fc69f (patch)
tree593ce4ba5d6455780d9e8c73526908d6350672d2 /src/usr/local/www/firewall_nat_out.php
parent0149ef4d2b3f8f714f57ef4a39cf5c4c126e7eef (diff)
downloadpfsense-09415b9e568f6f10d3f3b7e5c153109e869fc69f.zip
pfsense-09415b9e568f6f10d3f3b7e5c153109e869fc69f.tar.gz
Firewall rules pages updated with new button style
Diffstat (limited to 'src/usr/local/www/firewall_nat_out.php')
-rw-r--r--src/usr/local/www/firewall_nat_out.php23
1 files changed, 16 insertions, 7 deletions
diff --git a/src/usr/local/www/firewall_nat_out.php b/src/usr/local/www/firewall_nat_out.php
index 70c2afc..a25a211 100644
--- a/src/usr/local/www/firewall_nat_out.php
+++ b/src/usr/local/www/firewall_nat_out.php
@@ -514,10 +514,19 @@ print($form);
</div>
</div>
- <nav class="action-buttons">
- <a href="firewall_nat_out_edit.php" class="btn btn-sm btn-success" title="<?=gettext('Add new mapping')?>"><?=gettext('Add new mapping')?></a>&nbsp;
- <input name="del_x" type="submit" class="btn btn-danger btn-sm" value="<?=gettext("Delete selected map"); ?>" />
- <input type="submit" id="order-store" class="btn btn-primary btn-sm" value="Save changes" disabled="disabled" name="order-store" />
+ <nav class="action-buttons" style="margin-top: 10px;">
+ <a href="firewall_nat_out_edit.php" class="btn btn-sm btn-success" title="<?=gettext('Add new mapping')?>">
+ <i class="fa fa-plus" style="font-size:15px; vertical-align: middle; margin-right: 6px;"></i>
+ <?=gettext('Add')?>
+ </a>
+ <button name="del_x" type="submit" class="btn btn-danger btn-sm" value="<?=gettext("Delete selected map"); ?>">
+ <i class="fa fa-trash" style="font-size:15px; vertical-align: middle; margin-right: 6px;"></i>
+ <?=gettext("Delete"); ?>
+ </button>
+ <button type="submit" id="order-store" class="btn btn-primary btn-sm" value="Save changes" disabled="disabled" name="order-store">
+ <i class="fa fa-save" style="font-size:15px; vertical-align: middle; margin-right: 6px;"></i>
+ <?=gettext("Save")?>
+ </button>
</nav>
<?php
@@ -637,7 +646,7 @@ endif;
</div>
</form>
-<div>
+<div id="infoblock">
<?php
print_info_box(gettext('If automatic outbound NAT is selected, a mapping is automatically generated for each interface\'s subnet (except WAN-type connections) and the rules ' .
'on the "Mappings" section of this page are ignored.' . '<br />' .
@@ -646,8 +655,8 @@ endif;
'If hybrid outbound NAT is selected, mappings you specify on this page will be used, followed by the automatically generated ones.' . '<br />' .
'If disable outbound NAT is selected, no rules will be used.' . '<br />' .
'If a target address other than an interface\'s IP address is used, then depending on the way the WAN connection is setup, a ') .
- '<a href="firewall_virtual_ip.php">' . gettext("Virtual IP") . '</a>' . gettext(" may also be required.")
- );
+ '<a href="firewall_virtual_ip.php">' . gettext("Virtual IP") . '</a>' . gettext(" may also be required."),
+ info);
?>
</div>
OpenPOWER on IntegriCloud