Initial commit: Homelab Dashboard with YAML configuration
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
This commit is contained in:
13
app/templates/partials/favorites.html
Normal file
13
app/templates/partials/favorites.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<div class="flex flex-wrap gap-2">
|
||||
{% for service in favorites %}
|
||||
{% set status = services_status.get(service.name) %}
|
||||
<a href="{{ service.url }}" target="_blank"
|
||||
class="favorite-card card flex items-center gap-2 px-3 py-2 rounded-lg hover:scale-105 transition-transform">
|
||||
<span class="w-2 h-2 rounded-full {% if status and status.status == 'online' %}bg-emerald-500{% elif status and status.status == 'degraded' %}bg-amber-500{% else %}bg-red-500{% endif %}"></span>
|
||||
<span class="text-sm font-medium">{{ service.name }}</span>
|
||||
{% if status and status.response_time_ms %}
|
||||
<span class="text-xs text-gray-500">{{ status.response_time_ms }}ms</span>
|
||||
{% endif %}
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
Reference in New Issue
Block a user