summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/widgets
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-12-21 10:11:47 -0200
committerRenato Botelho <renato@netgate.com>2015-12-21 10:11:47 -0200
commit7902af94224485382ae7339d03ac92f14590b8d2 (patch)
tree002b623208d65260476d1ce308bb82ba23eaebfc /src/usr/local/www/widgets
parent9ba461861d854fc221a2faf5cf8204c31ff30ca7 (diff)
parente7d248af56042b04ee5584970c789a1c0d69d762 (diff)
downloadpfsense-7902af94224485382ae7339d03ac92f14590b8d2.zip
pfsense-7902af94224485382ae7339d03ac92f14590b8d2.tar.gz
Merge pull request #2305 from ExolonDX/branch_04
Diffstat (limited to 'src/usr/local/www/widgets')
-rw-r--r--src/usr/local/www/widgets/widgets/ipsec.widget.php4
-rw-r--r--src/usr/local/www/widgets/widgets/wake_on_lan.widget.php3
2 files changed, 5 insertions, 2 deletions
diff --git a/src/usr/local/www/widgets/widgets/ipsec.widget.php b/src/usr/local/www/widgets/widgets/ipsec.widget.php
index 5011e3a..1b91001 100644
--- a/src/usr/local/www/widgets/widgets/ipsec.widget.php
+++ b/src/usr/local/www/widgets/widgets/ipsec.widget.php
@@ -227,10 +227,12 @@ if (isset($config['ipsec']['phase2'])): ?>
<div class="table-responsive" id="ipsec-tunnel" style="display:none;">
<table class="table table-striped table-hover">
<thead>
+ <tr>
<th>Source</th>
<th>Destination</th>
<th>Description</th>
<th>Status</th>
+ </tr>
</thead>
<tbody>
<tr><td colspan="4"><?=gettext("Retrieving tunnel data ")?><i class="fa fa-cog fa-spin"></i></td></tr>
@@ -242,9 +244,11 @@ if (isset($config['ipsec']['phase2'])): ?>
<div id="ipsec-mobile" style="display:none;" class="table-responsive">
<table class="table table-striped table-hover">
<thead>
+ <tr>
<th>User</th>
<th>IP</th>
<th>Status</th>
+ </tr>
</thead>
<tbody>
<tr><td colspan="3"><?=gettext("Retrieving mobile data ")?><i class="fa fa-cog fa-spin"></i></td></tr>
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 164e7ce..90f2895 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
@@ -86,14 +86,13 @@ if (count($wolcomputers) > 0) {
$is_active = exec("/usr/sbin/arp -an |/usr/bin/grep {$wolent['mac']}| /usr/bin/wc -l|/usr/bin/awk '{print $1;}'");
$status = exec("/usr/sbin/arp -an | /usr/bin/awk '$4 == \"{$wolent['mac']}\" { print $7 }'");
- echo "<td>\n";
if ($status == 'expires') {
echo '<i class="fa fa-arrow-right" data-toggle="tooltip" title="' . gettext("Online") . '"></i>';
} else if ($status == 'permanent') {
echo '<td class="text-center">' . "\n";
echo '<i class="fa fa-arrow-right" data-toggle="tooltip" title="' . gettext("Static ARP") . '"></i>';
} else {
- echo '<td" class="text-center">' . "\n";
+ echo '<td class="text-center">' . "\n";
echo '<i class="fa fa-ban" data-toggle="tooltip" title="' . gettext("Offline") . '"></i>';
}
OpenPOWER on IntegriCloud