summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNOYB <Al_Stu@Frontier.com>2015-12-17 18:38:14 -0800
committerNOYB <Al_Stu@Frontier.com>2015-12-17 18:38:14 -0800
commit00a3ceba54bad63107a8e95f1f5169cdc110ed26 (patch)
tree55640dd404f9b2b5e67b7943c0a65d1c9901865a /src
parent5e71234e381084de09ab1d42c2fb30c9e9d52fc2 (diff)
downloadpfsense-00a3ceba54bad63107a8e95f1f5169cdc110ed26.zip
pfsense-00a3ceba54bad63107a8e95f1f5169cdc110ed26.tar.gz
HTML Compliance - Wake On LAN Widget
Align attribute not supported on td tag in HTML5 use css instead. Center tag not supported in HTML5 use css instead.
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/widgets/widgets/wake_on_lan.widget.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/local/www/widgets/widgets/wake_on_lan.widget.php b/src/usr/local/www/widgets/widgets/wake_on_lan.widget.php
index df12e43..b087bd9 100644
--- a/src/usr/local/www/widgets/widgets/wake_on_lan.widget.php
+++ b/src/usr/local/www/widgets/widgets/wake_on_lan.widget.php
@@ -90,10 +90,10 @@ if (count($wolcomputers) > 0) {
if ($status == 'expires') {
echo '<i class="fa fa-arrow-right" data-toggle="tooltip" title="' . gettext("Online") . '"></i>';
} else if ($status == 'permanent') {
- echo '<td align="center">' . "\n";
+ echo '<td style="text-align:center">' . "\n";
echo '<i class="fa fa-arrow-right" data-toggle="tooltip" title="' . gettext("Static ARP") . '"></i>';
} else {
- echo '<td" align="center">' . "\n";
+ echo '<td" style="text-align:center">' . "\n";
echo '<i class="fa fa-ban" data-toggle="tooltip" title="' . gettext("Offline") . '"></i>';
}
@@ -103,10 +103,10 @@ if (count($wolcomputers) > 0) {
echo "</td></tr>\n";
}
} else {
- echo "<tr><td colspan=\"4\" align=\"center\">" . gettext("No saved WoL addresses") . ".</td></tr>\n";
+ echo "<tr><td colspan=\"4\" style=\"text-align:center\">" . gettext("No saved WoL addresses") . ".</td></tr>\n";
}
?>
</tbody>
</table>
-<center><a href="status_dhcp_leases.php" class="navlink">DHCP Leases Status</a></center>
+<p style="text-align:center"><a href="status_dhcp_leases.php" class="navlink">DHCP Leases Status</a></p>
</div>
OpenPOWER on IntegriCloud