summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_nat_npt.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-01-19 22:02:42 +0545
committerPhil Davis <phil.davis@inf.org>2016-01-19 22:02:42 +0545
commitd590a670aa1eede9854b6d5b59efc95554080c39 (patch)
tree9a9e1be1c9ae5d040853eb8215a331ffacbd1191 /src/usr/local/www/firewall_nat_npt.php
parent493d292fc98f6f1bdd2979fe3f9748b26a7d6f88 (diff)
downloadpfsense-d590a670aa1eede9854b6d5b59efc95554080c39.zip
pfsense-d590a670aa1eede9854b6d5b59efc95554080c39.tar.gz
Provide "add top" and "add bottom" buttons for NAT 1:1 and NPt
So that they are consistent with NAT Port Forward.
Diffstat (limited to 'src/usr/local/www/firewall_nat_npt.php')
-rw-r--r--src/usr/local/www/firewall_nat_npt.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/usr/local/www/firewall_nat_npt.php b/src/usr/local/www/firewall_nat_npt.php
index 034017f..89179ce 100644
--- a/src/usr/local/www/firewall_nat_npt.php
+++ b/src/usr/local/www/firewall_nat_npt.php
@@ -254,8 +254,12 @@ endforeach;
</div>
<nav class="action-buttons">
- <a href="firewall_nat_npt_edit.php" class="btn btn-sm btn-success" title="<?=gettext('Add new mapping')?>">
- <i class="fa fa-plus icon-embed-btn"></i>
+ <a href="firewall_nat_npt_edit.php?after=-1" class="btn btn-sm btn-success" title="<?=gettext('Add mapping to the top of the list')?>">
+ <i class="fa fa-level-up icon-embed-btn"></i>
+ <?=gettext('Add')?>
+ </a>
+ <a href="firewall_nat_npt_edit.php" class="btn btn-sm btn-success" title="<?=gettext('Add mapping to the end of the list')?>">
+ <i class="fa fa-level-down icon-embed-btn"></i>
<?=gettext('Add')?>
</a>
<button name="del_x" type="submit" class="btn btn-danger btn-sm" title="<?=gettext('Delete selected mappings')?>">
OpenPOWER on IntegriCloud