2016-06-11 22:30:40 +02:00
|
|
|
<?php
|
|
|
|
?>
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<!-- Standard-Panel-Inhalt -->
|
|
|
|
<div class="panel-heading">YSFGateway-Infos</div>
|
|
|
|
<!-- Tabelle -->
|
|
|
|
<table class="table">
|
|
|
|
<tr>
|
|
|
|
<td><span class="label <?php
|
|
|
|
if (isProcessRunning("YSFGateway")) {
|
|
|
|
echo "label-success";
|
|
|
|
?>">YSFGateway Process is running</span></td><?php
|
|
|
|
} else {
|
|
|
|
echo "label-danger\" title=\"YSFGateway is down!";
|
|
|
|
?>">YSFGateway Process is down!</span></td><?php
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<!-- Standard-Panel-Inhalt -->
|
2016-09-30 23:17:02 +02:00
|
|
|
<div class="panel-heading">YSFReflectors reported active</div>
|
2016-06-11 22:30:40 +02:00
|
|
|
<!-- Tabelle -->
|
2016-07-06 17:53:29 +02:00
|
|
|
<div class="table-responsive">
|
|
|
|
<table id="ysfGateways" class="table table-condensed table-striped table-hover">
|
2016-06-11 22:30:40 +02:00
|
|
|
|
|
|
|
<?php
|
|
|
|
|
|
|
|
if (count($activeYSFReflectors) > 0) {
|
|
|
|
?>
|
2016-07-06 17:53:29 +02:00
|
|
|
<thead>
|
2016-06-11 22:30:40 +02:00
|
|
|
<tr>
|
2016-06-12 10:50:30 +02:00
|
|
|
<th>No.</th>
|
2016-06-11 22:30:40 +02:00
|
|
|
<th>Name</th>
|
|
|
|
<th>Description</th>
|
|
|
|
<th>ID</th>
|
|
|
|
<th>Connections</th>
|
|
|
|
</tr>
|
2016-07-06 17:53:29 +02:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<?php
|
2016-06-12 10:50:30 +02:00
|
|
|
$counter = 1;
|
2016-06-11 22:30:40 +02:00
|
|
|
foreach ($activeYSFReflectors as $reflector) {
|
2016-09-30 23:17:02 +02:00
|
|
|
echo "<tr>";
|
2016-06-12 10:50:30 +02:00
|
|
|
echo "<td>$counter</td>";
|
2016-09-30 23:17:02 +02:00
|
|
|
for ($i = 0; $i < 4; $i++) {
|
2016-06-11 22:30:40 +02:00
|
|
|
echo"<td>$reflector[$i]</td>";
|
|
|
|
}
|
2016-07-02 15:33:37 +02:00
|
|
|
echo "</tr>\n";
|
2016-06-12 10:50:30 +02:00
|
|
|
$counter++;
|
2016-06-11 22:30:40 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|
2016-07-06 17:53:29 +02:00
|
|
|
<tbody>
|
2016-06-11 22:30:40 +02:00
|
|
|
</table>
|
2016-07-06 17:53:29 +02:00
|
|
|
</div>
|
2016-06-11 22:30:40 +02:00
|
|
|
</div>
|