diff options
Diffstat (limited to 'src/usr/local')
-rwxr-xr-x | src/usr/local/www/status_logs.php | 46 |
1 files changed, 25 insertions, 21 deletions
diff --git a/src/usr/local/www/status_logs.php b/src/usr/local/www/status_logs.php index 5672f2e..cada567 100755 --- a/src/usr/local/www/status_logs.php +++ b/src/usr/local/www/status_logs.php @@ -436,33 +436,37 @@ if (!$rawfilter) { </div> <div class="panel-body"> <div class="table-responsive"> - <table class="table table-striped table-hover table-compact"> - <tr> - <th><?=gettext("Time")?></th> - <th><?=gettext("Process")?></th> - <th><?=gettext("PID")?></th> - <th style="width:100%"><?=gettext("Message")?></th> - </tr> + <table class="table table-striped table-hover table-condensed sortable-theme-bootstrap" data-sortable> + <thead> + <tr> + <th><?=gettext("Time")?></th> + <th><?=gettext("Process")?></th> + <th><?=gettext("PID")?></th> + <th style="width:100%"><?=gettext("Message")?></th> + </tr> + </thead> + <tbody> <?php foreach ($filterlog as $filterent) { ?> - <tr> - <td style="white-space:nowrap;"> - <?=htmlspecialchars($filterent['time'])?> - </td> - <td style="white-space:nowrap;"> - <?=htmlspecialchars($filterent['process'])?> - </td> - <td style="white-space:nowrap;"> - <?=htmlspecialchars($filterent['pid'])?> - </td> - <td style="word-wrap:break-word; word-break:break-all; white-space:normal"> - <?=htmlspecialchars($filterent['message'])?> - </td> - </tr> + <tr> + <td style="white-space:nowrap;"> + <?=htmlspecialchars($filterent['time'])?> + </td> + <td style="white-space:nowrap;"> + <?=htmlspecialchars($filterent['process'])?> + </td> + <td style="white-space:nowrap;"> + <?=htmlspecialchars($filterent['pid'])?> + </td> + <td style="word-wrap:break-word; word-break:break-all; white-space:normal"> + <?=htmlspecialchars($filterent['message'])?> + </td> + </tr> <?php } // e-o-foreach ?> + <tbody> </table> <?php if (count($filterlog) == 0) |