summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/status_logs_filter.php
diff options
context:
space:
mode:
authorNOYB <Al_Stu@Frontier.com>2015-12-14 20:48:25 -0800
committerNOYB <Al_Stu@Frontier.com>2015-12-14 20:48:25 -0800
commit99c3748a5d6106d54d3543a1513e3ab717944f46 (patch)
tree08a6ca49323c624def52f703f7d3080a20795769 /src/usr/local/www/status_logs_filter.php
parent7895a8802317a8477929bea6428bf8dfe214306f (diff)
downloadpfsense-99c3748a5d6106d54d3543a1513e3ab717944f46.zip
pfsense-99c3748a5d6106d54d3543a1513e3ab717944f46.tar.gz
Status - System Logs - Firewall - Sort Header
Fix header to not wrap the sort button/icon to the next row. Add sort capability to the "raw" table.
Diffstat (limited to 'src/usr/local/www/status_logs_filter.php')
-rw-r--r--src/usr/local/www/status_logs_filter.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/usr/local/www/status_logs_filter.php b/src/usr/local/www/status_logs_filter.php
index 3600e25..0bd05de 100644
--- a/src/usr/local/www/status_logs_filter.php
+++ b/src/usr/local/www/status_logs_filter.php
@@ -575,7 +575,7 @@ 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("Act")?></th>
<th><?=gettext("Time")?></th>
<th><?=gettext("IF")?></th>
@@ -600,8 +600,8 @@ if (!$rawfilter) {
foreach ($filterlog as $filterent) {
?>
- <tr>
- <td style="white-space:nowrap;">
+ <tr style="white-space:nowrap;">
+ <td>
<?php
if ($filterent['act'] == "block") {
$icon_act = "fa-times text-danger";
@@ -615,10 +615,10 @@ if (!$rawfilter) {
echo $filterent['count'];
?>
</td>
- <td style="white-space:nowrap;">
+ <td>
<?=htmlspecialchars($filterent['time'])?>
</td>
- <td style="white-space:nowrap;">
+ <td>
<?php
if ($filterent['direction'] == "out")
print('&#x25ba;' . ' ');
@@ -650,7 +650,7 @@ if (!$rawfilter) {
$dststr = $filterent['dstip'] . get_port_with_service($filterent['dstport'], $proto);
$dst_htmlclass = str_replace(array('.', ':'), '-', $filterent['dstip']);
?>
- <td style="white-space:nowrap;">
+ <td>
<i class="fa fa-info icon-pointer icon-primary" onclick="javascript:resolve_with_ajax('<?="{$filterent['srcip']}"; ?>');" title="<?=gettext("Click to resolve")?>" alt="Reverse Resolve with DNS"/>
</i>
@@ -659,7 +659,7 @@ if (!$rawfilter) {
<?=$srcstr . '<span class="RESOLVE-' . $src_htmlclass . '"></span>'?>
</td>
- <td style="white-space:nowrap;">
+ <td>
<i class="fa fa-info icon-pointer icon-primary" onclick="javascript:resolve_with_ajax('<?="{$filterent['dstip']}"; ?>');" title="<?=gettext("Click to resolve")?>" class="ICON-<?= $dst_htmlclass; ?>" alt="Reverse Resolve with DNS"/>
</i>
@@ -671,7 +671,7 @@ if (!$rawfilter) {
if ($filterent['proto'] == "TCP")
$filterent['proto'] .= ":{$filterent['tcpflags']}";
?>
- <td style="white-space:nowrap;">
+ <td>
<?=htmlspecialchars($filterent['proto'])?>
</td>
</tr>
@@ -705,9 +705,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>
OpenPOWER on IntegriCloud