Merge pull request #1816 from laf/issue-1786

Fixed syslog and eventlog tables to be responsive
This commit is contained in:
Daniel Preussker
2015-09-01 07:22:38 +00:00
2 changed files with 24 additions and 22 deletions
+4 -3
View File
@@ -1,7 +1,8 @@
<?php
$common_output[] = '
<table id="eventlog" class="table table-hover table-condensed table-striped">
<div class="table-responsive">
<table id="eventlog" class="table table-hover table-condensed table-striped">
<thead>
<tr>
<th data-column-id="datetime" data-order="desc">Datetime</th>
@@ -10,8 +11,8 @@ $common_output[] = '
<th data-column-id="message">Message</th>
</tr>
</thead>
</table>
</table>
</div>
<script>
var eventlog_grid = $("#eventlog").bootgrid({
+4 -3
View File
@@ -1,7 +1,8 @@
<?php
$common_output[] = '
<table id="syslog" class="table table-hover table-condensed table-striped">
<div class="table-responsive">
<table id="syslog" class="table table-hover table-condensed table-striped">
<thead>
<tr>
<th data-column-id="timestamp" data-order="desc">Datetime</th>
@@ -10,8 +11,8 @@ $common_output[] = '
<th data-column-id="msg">Message</th>
</tr>
</thead>
</table>
</table>
</div>
<script>
var syslog_grid = $("#syslog").bootgrid({