mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
convert status_dhcpv6_leases to fa
This commit is contained in:
parent
bef0d0d98b
commit
d43c506600
@ -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']?>&duid=<?=$data['duid']?>&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']?>&duid=<?=$data['duid']?>&hostname=<?=htmlspecialchars($data['hostname'])?>"></a>
|
||||
<? endif; ?>
|
||||
|
||||
<a class="btn btn-xs btn-success" href="services_wol_edit.php?if=<?=$data['if']?>&mac=<?=$data['mac']?>&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']?>&mac=<?=$data['mac']?>&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']?>&all=<?=intval($_GET['all'])?>">
|
||||
delete lease
|
||||
</a>
|
||||
<a class="fa fa-trash" title="<?=gettext('Delete lease')?>" href="status_dhcpv6_leases.php?deleteip=<?=$data['ip']?>&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");
|
||||
include("foot.inc");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user