summaryrefslogtreecommitdiffstats
path: root/src/usr/local
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-01-28 22:57:45 +0545
committerPhil Davis <phil.davis@inf.org>2016-01-28 22:57:45 +0545
commitd7d7820ed6d0c6150dadd61f9551e028032c23cf (patch)
tree84e0ea9e338c4c3ce3991297fa22e0447aa25764 /src/usr/local
parent359f0406a3cf311118febc7dee44ddabf9e2a70e (diff)
downloadpfsense-d7d7820ed6d0c6150dadd61f9551e028032c23cf.zip
pfsense-d7d7820ed6d0c6150dadd61f9551e028032c23cf.tar.gz
Apply current UI standard to DHCP Pools table
1) "Actions" column heading. 2) Make action buttons fa-pencil fa-trash 3) Put a title for each button, so that the "Are you sure you wish to..." popup works nicely.
Diffstat (limited to 'src/usr/local')
-rw-r--r--src/usr/local/www/services_dhcp.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/local/www/services_dhcp.php b/src/usr/local/www/services_dhcp.php
index 682467d..f77e780 100644
--- a/src/usr/local/www/services_dhcp.php
+++ b/src/usr/local/www/services_dhcp.php
@@ -660,7 +660,7 @@ function build_pooltable() {
$pooltbl .= '<th>' . gettext("Pool Start") . '</th>';
$pooltbl .= '<th>' . gettext("Pool End") . '</th>';
$pooltbl .= '<th>' . gettext("Description") . '</th>';
- $pooltbl .= '<th></th>';
+ $pooltbl .= '<th>' . gettext("Actions") . '</th>';
$pooltbl .= '</tr>';
$pooltbl .= '</thead>';
$pooltbl .= '<tbody>';
@@ -679,9 +679,9 @@ function build_pooltable() {
$pooltbl .= '<td ondblclick="document.location=\'services_dhcp.php?if=' . htmlspecialchars($if) . '&pool=' . $i . '\';">' .
htmlspecialchars($poolent['descr']) . '</td>';
- $pooltbl .= '<td><a class="btn btn-xs btn-info" href="services_dhcp.php?if=' . htmlspecialchars($if) . '&pool=' . $i . '" />' . gettext('Edit') . '</a>';
+ $pooltbl .= '<td><a class="fa fa-pencil" title="'. gettext("Edit pool") . '" href="services_dhcp.php?if=' . htmlspecialchars($if) . '&pool=' . $i . '"></a>';
- $pooltbl .= '<a class="btn btn-xs btn-danger" href="services_dhcp.php?if=' . htmlspecialchars($if) . '&act=delpool&id=' . $i . '" />' . gettext('Delete') . '</a></td>';
+ $pooltbl .= ' <a class="fa fa-trash" title="'. gettext("Delete pool") . '" href="services_dhcp.php?if=' . htmlspecialchars($if) . '&act=delpool&id=' . $i . '"></a></td>';
$pooltbl .= '</tr>';
}
$i++;
OpenPOWER on IntegriCloud