summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJared Dillard <jdillard@netgate.com>2015-11-20 12:46:06 -0600
committerJared Dillard <jdillard@netgate.com>2015-11-20 12:46:06 -0600
commit18e5d0ceb44c195a91dded74e58547fae10df98d (patch)
tree6184610a02bcf6544b24c14dea15ada5d20b3a92 /src
parent1aa84acb38a3c26b325ec1b99deb6b80ff32aa1c (diff)
downloadpfsense-18e5d0ceb44c195a91dded74e58547fae10df98d.zip
pfsense-18e5d0ceb44c195a91dded74e58547fae10df98d.tar.gz
clean up interface statistics widget
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/widgets/widgets/interface_statistics.widget.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/usr/local/www/widgets/widgets/interface_statistics.widget.php b/src/usr/local/www/widgets/widgets/interface_statistics.widget.php
index d085a26..13a326f 100644
--- a/src/usr/local/www/widgets/widgets/interface_statistics.widget.php
+++ b/src/usr/local/www/widgets/widgets/interface_statistics.widget.php
@@ -90,7 +90,7 @@ if($_REQUEST && $_REQUEST['ajax']) {
}
print( "</tr>");
- print( "/thead>");
+ print( "</thead>");
print( "<tbody>");
foreach ($rows as $key => $name) {
@@ -110,14 +110,14 @@ if($_REQUEST && $_REQUEST['ajax']) {
}
print( "</td>");
- print( "</tbody>");
+ print( "</tr>");
}
-
+ print( "</tbody>");
exit;
}
?>
-<table id="iftbl" class="table table-hover">
+<table id="iftbl" class="table table-striped table-hover">
<tr><td><?=gettext("Retrieving interface data")?></td></tr>
</table>
@@ -136,7 +136,7 @@ if($_REQUEST && $_REQUEST['ajax']) {
// Deal with the results of the above ajax call
ajaxRequest.done(function (response, textStatus, jqXHR) {
$('#iftbl').html(response);
- stripe_table();
+
// and do it again
setTimeout(get_if_stats, 5000);
});
OpenPOWER on IntegriCloud