diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/widgets/widgets/interface_statistics.widget.php | 10 |
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); }); |