Added connections link to main page
This commit is contained in:
@@ -133,7 +133,12 @@ $max_port_cnt = $t_ports ? max(array_column($t_ports, 'cnt')) : 1;
|
||||
|
||||
<!-- Recent connections -->
|
||||
<div class="card">
|
||||
<h2>Recent connections <?= $filter_node ? '(filtered)' : '' ?></h2>
|
||||
<h2>
|
||||
Recent connections <?= $filter_node ? '(filtered)' : '' ?>
|
||||
<a href="api/connections.php<?= $filter_node ? '?node_id=' . $filter_node : '' ?>"
|
||||
style="float:right;font-size:.75rem;font-weight:400;color:var(--accent);text-decoration:none"
|
||||
target="_blank">JSON API ↗</a>
|
||||
</h2>
|
||||
<?php if (empty($recent)): ?>
|
||||
<p class="muted">No connections ingested yet. Make sure at least one node is configured and the fetch cron is running.</p>
|
||||
<?php else: ?>
|
||||
|
||||
Reference in New Issue
Block a user