Update syslog page

Brings Syslog page HTML in line with Eventlog page.
This commit is contained in:
Florian Beer
2016-08-05 14:30:06 +02:00
parent a7a8c55eb5
commit adafda7773
2 changed files with 84 additions and 93 deletions

View File

@ -5,6 +5,7 @@ $common_output[] = '
<table id="syslog" class="table table-hover table-condensed table-striped">
<thead>
<tr>
<th data-column-id="priority">&nbsp;</th>
<th data-column-id="timestamp" data-order="desc">Datetime</th>
<th data-column-id="device_id">Hostname</th>
<th data-column-id="program">Program</th>
@ -21,7 +22,11 @@ var syslog_grid = $("#syslog").bootgrid({
{
return {
id: "syslog",
device: "' .mres($vars['device']) .'",
device: "'.mres($vars['device']) .'",
program: "'.mres($vars['program']).'",
priority: "'.mres($vars['priority']).'",
to: "'.mres($vars['to']).'",
from: "'.mres($vars['from']).'",
};
},
url: "ajax_table.php"