diff options
author | NOYB <Al_Stu@Frontier.com> | 2015-12-14 23:30:56 -0800 |
---|---|---|
committer | NOYB <Al_Stu@Frontier.com> | 2015-12-14 23:30:56 -0800 |
commit | 13474eee45681c8fe02c03637e875b1c60505629 (patch) | |
tree | 4829e693eb68217c2ffae9a57b873b2600fc6777 | |
parent | 7895a8802317a8477929bea6428bf8dfe214306f (diff) | |
download | pfsense-13474eee45681c8fe02c03637e875b1c60505629.zip pfsense-13474eee45681c8fe02c03637e875b1c60505629.tar.gz |
Status - System Logs - Sort Header
Fix header to not wrap the sort button/icon to the next row.
Add sort capability to the "raw" table.
-rwxr-xr-x | src/usr/local/www/status_logs.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/usr/local/www/status_logs.php b/src/usr/local/www/status_logs.php index 58cbe34..533469c 100755 --- a/src/usr/local/www/status_logs.php +++ b/src/usr/local/www/status_logs.php @@ -435,25 +435,25 @@ if (!$rawfilter) { <div class="table-responsive"> <table class="table table-striped table-hover table-condensed sortable-theme-bootstrap" data-sortable> <thead> - <tr> + <tr style="white-space:nowrap;"> <th><?=gettext("Time")?></th> <th><?=gettext("Process")?></th> - <th class="col-md-1"><?=gettext("PID")?></th> - <th><?=gettext("Message")?></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;"> + <tr style="white-space:nowrap;"> + <td> <?=htmlspecialchars($filterent['time'])?> </td> - <td style="white-space:nowrap;"> + <td> <?=htmlspecialchars($filterent['process'])?> </td> - <td style="white-space:nowrap;"> + <td> <?=htmlspecialchars($filterent['pid'])?> </td> <td style="word-wrap:break-word; word-break:break-all; white-space:normal"> @@ -480,9 +480,9 @@ else <div class="panel panel-default"> <div class="panel-heading"><h2 class="panel-title"><?=gettext("Last ")?><?=$nentries?> <?=gettext($allowed_logs[$logfile]["name"])?><?=gettext(" log entries")?></h2></div> <div class="table table-responsive"> - <table class="table table-striped table-hover"> + <table class="table table-striped table-hover table-condensed sortable-theme-bootstrap" data-sortable> <thead> - <tr> + <tr style="white-space:nowrap;"> <th><?=gettext("Time")?></th> <th style="width:100%"><?=gettext("Message")?></th> </tr> |