made YSFGateways responsive...
This commit is contained in:
parent
8fd6631667
commit
2b4ae69865
2 changed files with 11 additions and 2 deletions
|
@ -22,13 +22,15 @@
|
||||||
<!-- Standard-Panel-Inhalt -->
|
<!-- Standard-Panel-Inhalt -->
|
||||||
<div class="panel-heading">YSFReflectors reported active last 2 hours</div>
|
<div class="panel-heading">YSFReflectors reported active last 2 hours</div>
|
||||||
<!-- Tabelle -->
|
<!-- Tabelle -->
|
||||||
<table class="table">
|
<div class="table-responsive">
|
||||||
|
<table id="ysfGateways" class="table table-condensed table-striped table-hover">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$activeYSFReflectors = getActiveYSFReflectors($reverseLogLinesYSFGateway);
|
$activeYSFReflectors = getActiveYSFReflectors($reverseLogLinesYSFGateway);
|
||||||
if (count($activeYSFReflectors) > 0) {
|
if (count($activeYSFReflectors) > 0) {
|
||||||
?>
|
?>
|
||||||
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>No.</th>
|
<th>No.</th>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
|
@ -37,6 +39,8 @@
|
||||||
<th>Connections</th>
|
<th>Connections</th>
|
||||||
<th>Last info of</th>
|
<th>Last info of</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
<?php
|
<?php
|
||||||
$counter = 1;
|
$counter = 1;
|
||||||
foreach ($activeYSFReflectors as $reflector) {
|
foreach ($activeYSFReflectors as $reflector) {
|
||||||
|
@ -63,5 +67,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
<tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
|
@ -84,6 +84,9 @@ var lastHeardT = $('#lastHeard').dataTable( {
|
||||||
var localTxT = $('#localTx').dataTable( {
|
var localTxT = $('#localTx').dataTable( {
|
||||||
"aaSorting": [[0,'desc']]
|
"aaSorting": [[0,'desc']]
|
||||||
} );
|
} );
|
||||||
|
var ysfGatewaysT = $('#ysfGateways').dataTable( {
|
||||||
|
"aaSorting": [[0,'asc']]
|
||||||
|
} );
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in a new issue