feat: wire monitors, scheduler, alerts, and nav into app

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-17 20:01:31 -04:00
parent 75b0233c94
commit 7dbb662c38
3 changed files with 108 additions and 8 deletions
+2
View File
@@ -34,6 +34,8 @@
<nav>
<span class="brand">FabledNetMon</span>
<a href="/">Dashboard</a>
<a href="/hosts/">Hosts</a>
<a href="/alerts/">Alerts</a>
<a href="/logout">Logout ({{ session.username }})</a>
</nav>
{% endif %}
+16 -6
View File
@@ -4,16 +4,26 @@
<h1 style="margin-bottom:1.5rem;color:#c0c0ff;">Dashboard</h1>
<div style="display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem;">
<div class="card">
<h3 style="color:#8080ff;margin-bottom:0.5rem;">Ping Monitor</h3>
<p style="color:#606080;font-size:0.9rem;">No hosts configured yet.</p>
<h3 style="color:#8080ff;margin-bottom:0.75rem;">Ping Monitor</h3>
<p style="color:#606080;font-size:0.9rem;">
<a href="/hosts/" style="color:#a0a0ff;">Manage hosts</a> to begin monitoring.
</p>
</div>
<div class="card">
<h3 style="color:#8080ff;margin-bottom:0.5rem;">DNS Monitor</h3>
<p style="color:#606080;font-size:0.9rem;">No hosts configured yet.</p>
<h3 style="color:#8080ff;margin-bottom:0.75rem;">DNS Monitor</h3>
<p style="color:#606080;font-size:0.9rem;">
Enable DNS monitoring on a <a href="/hosts/" style="color:#a0a0ff;">host</a>.
</p>
</div>
<div class="card">
<h3 style="color:#8080ff;margin-bottom:0.5rem;">Ansible</h3>
<p style="color:#606080;font-size:0.9rem;">No playbook sources configured yet.</p>
<h3 style="color:#8080ff;margin-bottom:0.75rem;">Alerts</h3>
<p style="color:#606080;font-size:0.9rem;">
<a href="/alerts/" style="color:#a0a0ff;">Configure alert rules</a> against any metric.
</p>
</div>
<div class="card">
<h3 style="color:#8080ff;margin-bottom:0.75rem;">Ansible</h3>
<p style="color:#606080;font-size:0.9rem;">Coming in Plan 3.</p>
</div>
</div>
{% endblock %}