summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/status_logs.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/status_logs.php')
-rwxr-xr-xsrc/usr/local/www/status_logs.php52
1 files changed, 28 insertions, 24 deletions
diff --git a/src/usr/local/www/status_logs.php b/src/usr/local/www/status_logs.php
index ffd1019..d033a00 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)
@@ -542,7 +546,7 @@ $group->add(new Form_Checkbox(
'Forward',
($pconfig['cronorder'] == 'forward') ? true : false,
'forward'
-))->displayAsRadio();
+))->displayAsRadio()->setHelp('(newest at bottom)');
$group->add(new Form_Checkbox(
'cronorder',
@@ -550,7 +554,7 @@ $group->add(new Form_Checkbox(
'Reverse',
($pconfig['cronorder'] == 'reverse') ? true : false,
'reverse'
-))->displayAsRadio();
+))->displayAsRadio()->setHelp('(newest at top)');
$group->add(new Form_Checkbox(
'cronorder',
@@ -560,7 +564,7 @@ $group->add(new Form_Checkbox(
''
))->displayAsRadio();
-$group->setHelp('Show log entries in forward (newest at bottom) or reverse (newest at top) order.');
+$group->setHelp('Show log entries in forward or reverse order.');
$section->add($group);
$group = new Form_Group('GUI Log Entries');
OpenPOWER on IntegriCloud