summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/status_logs.php
diff options
context:
space:
mode:
authorNOYB <Al_Stu@Frontier.com>2015-12-11 18:22:15 -0800
committerNOYB <Al_Stu@Frontier.com>2015-12-11 18:22:15 -0800
commitb9db88828d3d3b70cccdfd8063527e5e75e28451 (patch)
treefa510a992e30a0ed4f7a9c98a14bd4d337e66866 /src/usr/local/www/status_logs.php
parent1af5edbf04e0e3bbbc55981f6fc404b60ff33f2b (diff)
downloadpfsense-b9db88828d3d3b70cccdfd8063527e5e75e28451.zip
pfsense-b9db88828d3d3b70cccdfd8063527e5e75e28451.tar.gz
Status - System Logs - Sortable Table
Diffstat (limited to 'src/usr/local/www/status_logs.php')
-rwxr-xr-xsrc/usr/local/www/status_logs.php46
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)
OpenPOWER on IntegriCloud