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

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({

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({