diff options
author | Renato Botelho <renato@netgate.com> | 2015-12-13 10:06:03 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-12-13 10:06:03 -0200 |
commit | 7c3ac1a2b06faac5ce944695a6c6ae8fe7fca352 (patch) | |
tree | d5ac08301651de9b970fc505e92b8e28f1b1a600 /src/usr/local/www | |
parent | 15d91c0339d4abe045598c9f94b93e61ca6806c3 (diff) | |
parent | b0132e5a83c9dbacb4c36d28953bd7a8158f05e8 (diff) | |
download | pfsense-7c3ac1a2b06faac5ce944695a6c6ae8fe7fca352.zip pfsense-7c3ac1a2b06faac5ce944695a6c6ae8fe7fca352.tar.gz |
Merge pull request #2209 from NOYB/Status-System_Logs-Sortable_Table
Diffstat (limited to 'src/usr/local/www')
-rwxr-xr-x | src/usr/local/www/status_logs.php | 52 |
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'); |