Adds agents to the status page
parent
ed9ce2bb07
commit
73d429647c
|
@ -3,6 +3,17 @@
|
|||
// Jilo components status checks
|
||||
//
|
||||
|
||||
require '../app/classes/agent.php';
|
||||
$agentObject = new Agent($dbWeb);
|
||||
|
||||
include '../app/templates/status-server.php';
|
||||
|
||||
foreach ($platformsAll as $platform) {
|
||||
include '../app/templates/status-platform.php';
|
||||
$agentDetails = $agentObject->getAgentDetails($platform['id']);
|
||||
foreach ($agentDetails as $agent) {
|
||||
include '../app/templates/status-agent.php';
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
<!-- jilo agent status -->
|
||||
<div class="card text-center w-75 mx-lef" style="padding-left: 80px;">
|
||||
<div class="card-body">
|
||||
<p class="card-text text-left" style="text-align: left;">
|
||||
Jilo Agent: <?= htmlspecialchars($agent['agent_description']) ?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,10 @@
|
|||
|
||||
<!-- jitsi platform status -->
|
||||
<br />
|
||||
<div class="card text-center w-75 mx-lef" style="padding-left: 40px;">
|
||||
<div class="card-body">
|
||||
<p class="card-text text-left" style="text-align: left;">
|
||||
Jitsi Meet platform: <?= htmlspecialchars($platform['name']) ?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
<!-- jilo agents -->
|
||||
<!-- jilo status -->
|
||||
<div class="card text-center w-75 mx-lef">
|
||||
<p class="h4 card-header">Jilo platform status</p>
|
||||
<div class="card-body">
|
||||
|
|
Loading…
Reference in New Issue