Commit e88181ee authored by cbasolutions's avatar cbasolutions

Update status_dhcpv6_leases.php

Switched to standard theme iconography. Padding-left set to 0.
parent 2dd5db5f
...@@ -481,17 +481,17 @@ if(count($pools) > 0) { ...@@ -481,17 +481,17 @@ if(count($pools) > 0) {
echo "<td class=\"listr\">{$fspans}{$data['act']}{$fspane}</td>\n"; echo "<td class=\"listr\">{$fspans}{$data['act']}{$fspane}</td>\n";
if ($data['type'] == "dynamic") { if ($data['type'] == "dynamic") {
echo "<td valign=\"middle\"><a href=\"services_dhcpv6_edit.php?if={$data['if']}&amp;duid={$data['duid']}&amp;hostname={$data['hostname']}\">"; echo "<td valign=\"middle\" style=\"padding-left: 0px;\"><a href=\"services_dhcpv6_edit.php?if={$data['if']}&amp;duid={$data['duid']}&amp;hostname={$data['hostname']}\" class=\"btn btn-default btn-xs\">";
echo "<img src=\"/themes/{$g['theme']}/images/icons/icon_plus.gif\" width=\"17\" height=\"17\" border=\"0\" title=\"" . gettext("add a static mapping for this MAC address") ."\" alt=\"add\" /></a></td>\n"; echo "<span class=\"glyphicon glyphicon-plus\"></span></a><br />\n";
} else { } else {
echo "<td class=\"list\" valign=\"middle\">"; echo "<td class=\"list\" valign=\"middle\" style=\"padding-left: 0px;\">";
echo "<img src=\"/themes/{$g['theme']}/images/icons/icon_plus_mo.gif\" width=\"17\" height=\"17\" border=\"0\" alt=\"add\" /></td>\n"; echo "<span class=\"glyphicon glyphicon-plus\"></span>\n";
} }
/* Only show the button for offline dynamic leases */ /* Only show the button for offline dynamic leases */
if (($data['type'] == "dynamic") && ($data['online'] != "online")) { if (($data['type'] == "dynamic") && ($data['online'] != "online")) {
echo "<td class=\"list\" valign=\"middle\"><a href=\"status_dhcpv6_leases.php?deleteip={$data['ip']}&amp;all=" . htmlspecialchars($_GET['all']) . "\">"; echo "<a href=\"status_dhcpv6_leases.php?deleteip={$data['ip']}&amp;all=" . htmlspecialchars($_GET['all']) . "\" class=\"btn btn-default btn-xs\">";
echo "<img src=\"/themes/{$g['theme']}/images/icons/icon_x.gif\" width=\"17\" height=\"17\" border=\"0\" title=\"" . gettext("delete this DHCP lease") . "\" alt=\"delete\" /></a></td>\n"; echo "<span class=\"glyphicon glyphicon-remove\"></span></a></td>\n";
} }
echo "</tr>\n"; echo "</tr>\n";
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment