Fixed syslog and eventlog tables to be responsive

This commit is contained in:
laf
2015-08-31 21:33:57 +00:00
parent 3798a0f569
commit f132ec2c50
2 changed files with 24 additions and 22 deletions
+4 -3
View File
@@ -1,7 +1,8 @@
<?php <?php
$common_output[] = ' $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> <thead>
<tr> <tr>
<th data-column-id="datetime" data-order="desc">Datetime</th> <th data-column-id="datetime" data-order="desc">Datetime</th>
@@ -10,8 +11,8 @@ $common_output[] = '
<th data-column-id="message">Message</th> <th data-column-id="message">Message</th>
</tr> </tr>
</thead> </thead>
</table> </table>
</div>
<script> <script>
var eventlog_grid = $("#eventlog").bootgrid({ var eventlog_grid = $("#eventlog").bootgrid({
+4 -3
View File
@@ -1,7 +1,8 @@
<?php <?php
$common_output[] = ' $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> <thead>
<tr> <tr>
<th data-column-id="timestamp" data-order="desc">Datetime</th> <th data-column-id="timestamp" data-order="desc">Datetime</th>
@@ -10,8 +11,8 @@ $common_output[] = '
<th data-column-id="msg">Message</th> <th data-column-id="msg">Message</th>
</tr> </tr>
</thead> </thead>
</table> </table>
</div>
<script> <script>
var syslog_grid = $("#syslog").bootgrid({ var syslog_grid = $("#syslog").bootgrid({