Features: - Service health monitoring with response times - Proxmox cluster integration (nodes, VMs, containers) - PBS backup server monitoring - Camera viewer with WebRTC (go2rtc) - Docker container monitoring - Uptime Kuma integration - Mobile-friendly responsive design - YAML-based configuration for easy setup
18 lines
1.3 KiB
HTML
18 lines
1.3 KiB
HTML
{% if critical_down %}
|
|
<div class="status-banner rounded-lg px-4 py-2 flex items-center justify-between border border-red-900/50">
|
|
<div class="flex items-center gap-3">
|
|
<svg class="w-5 h-5 text-red-400 status-pulse" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"></path></svg>
|
|
<span class="text-sm text-red-300">
|
|
<strong>Critical services down:</strong> {{ critical_down | join(", ") }}
|
|
</span>
|
|
</div>
|
|
<a href="#services-container" class="text-xs text-red-400 hover:text-red-300">View details</a>
|
|
</div>
|
|
{% else %}
|
|
<div class="status-banner all-good rounded-lg px-4 py-2 flex items-center gap-3 border border-emerald-900/50">
|
|
<svg class="w-5 h-5 text-emerald-400" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>
|
|
<span class="text-sm text-emerald-300">All critical services operational</span>
|
|
<span class="text-xs text-gray-500 ml-auto">{{ online_count }}/{{ total_count }} services online</span>
|
|
</div>
|
|
{% endif %}
|