summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-11-04 15:02:50 -0500
committerStephen Beaver <sbeaver@netgate.com>2015-11-04 15:02:50 -0500
commitaa9cd3a0ceb28432aa142b9800083cf65bd7ce38 (patch)
tree62973d50287a0f7c2661939f4cd9c7d309ad8156 /src/usr
parent9f07695cff738d3e7416122e7c4a39a5e9e8e24b (diff)
parentd43c506600a795981e24b6b78d40bc9e30d67e94 (diff)
downloadpfsense-aa9cd3a0ceb28432aa142b9800083cf65bd7ce38.zip
pfsense-aa9cd3a0ceb28432aa142b9800083cf65bd7ce38.tar.gz
Merge pull request #2024 from heper/patch-4
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/local/www/status_dhcpv6_leases.php14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/usr/local/www/status_dhcpv6_leases.php b/src/usr/local/www/status_dhcpv6_leases.php
index 925f2da..2f73a14 100644
--- a/src/usr/local/www/status_dhcpv6_leases.php
+++ b/src/usr/local/www/status_dhcpv6_leases.php
@@ -489,19 +489,13 @@ foreach ($leases as $data):
<td><?=$data['act']?></td>
<td>
<? if ($data['type'] == "dynamic"): ?>
- <a class="btn btn-xs btn-primary" href="services_dhcpv6_edit.php?if=<?=$data['if']?>&amp;duid=<?=$data['duid']?>&amp;hostname=<?=htmlspecialchars($data['hostname'])?>">
- <?=gettext("add static mapping")?>
- </a>
+ <a <a class="fa fa-plus-square-o" title="<?=gettext("Add static mapping")?>" href="services_dhcpv6_edit.php?if=<?=$data['if']?>&amp;duid=<?=$data['duid']?>&amp;hostname=<?=htmlspecialchars($data['hostname'])?>"></a>
<? endif; ?>
- <a class="btn btn-xs btn-success" href="services_wol_edit.php?if=<?=$data['if']?>&amp;mac=<?=$data['mac']?>&amp;descr=<?=htmlentities($data['hostname'])?>">
- add WOL mapping
- </a>
+ <a class="fa fa-plus-square" title="<?=gettext("Add WOL mapping")?>" href="services_wol_edit.php?if=<?=$data['if']?>&amp;mac=<?=$data['mac']?>&amp;descr=<?=htmlentities($data['hostname'])?>"></a>
<? if ($data['type'] == "dynamic" && $data['online'] != "online"):?>
- <a class="btn btn-xs btn-danger" href="status_dhcpv6_leases.php?deleteip=<?=$data['ip']?>&amp;all=<?=intval($_GET['all'])?>">
- delete lease
- </a>
+ <a class="fa fa-trash" title="<?=gettext('Delete lease')?>" href="status_dhcpv6_leases.php?deleteip=<?=$data['ip']?>&amp;all=<?=intval($_GET['all'])?>" onclick="return confirm('<?=gettext("Are you sure you want to delete this lease?")?>')"></a>
<? endif?>
</td>
<? endforeach; ?>
@@ -592,4 +586,4 @@ foreach ($prefixes as $data):
<a class="btn btn-default" href="status_dhcpv6_leases.php?all=1"><?=gettext("Show all configured leases")?></a>
<?php endif;
-include("foot.inc"); \ No newline at end of file
+include("foot.inc");
OpenPOWER on IntegriCloud