Compacts the agent config listing
parent
1468843cac
commit
2d8bc53195
|
@ -81,18 +81,22 @@ echo "\n";
|
||||||
<a class="btn btn-danger" style="padding: 2px;" href="<?= $app_root ?>?page=config&platform=<?= htmlspecialchars($agent_array['platform_id'])?>&agent=<?= htmlspecialchars($agent_array['id']) ?>&action=delete">delete agent</a>
|
<a class="btn btn-danger" style="padding: 2px;" href="<?= $app_root ?>?page=config&platform=<?= htmlspecialchars($agent_array['platform_id'])?>&agent=<?= htmlspecialchars($agent_array['id']) ?>&action=delete">delete agent</a>
|
||||||
</div>
|
</div>
|
||||||
<div style="padding-left: 100px; padding-bottom: 20px;">
|
<div style="padding-left: 100px; padding-bottom: 20px;">
|
||||||
<?php foreach ($agent_array as $key => $value) {
|
|
||||||
if ($key === 'id') continue;
|
|
||||||
?>
|
|
||||||
<div class="row mb-1" style="padding-left: 100px;">
|
<div class="row mb-1" style="padding-left: 100px;">
|
||||||
<div class="col-md-4 text-end">
|
<div class="col-md-4 text-end">
|
||||||
<?= $key ?>:
|
agent type:
|
||||||
</div>
|
</div>
|
||||||
<div class="border col-md-8 text-start">
|
<div class="border col-md-8 text-start">
|
||||||
<?= $value ?>
|
<?= $agent_array['agent_description'] ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row mb-1" style="padding-left: 100px;">
|
||||||
|
<div class="col-md-4 text-end">
|
||||||
|
endpoint:
|
||||||
|
</div>
|
||||||
|
<div class="border col-md-8 text-start">
|
||||||
|
<?= $agent_array['url'].$agent_array['agent_endpoint'] ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php } ?>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue