new Dashboard

This commit is contained in:
2025-08-26 18:54:17 +02:00
parent aa35e83f6b
commit 1c0fab71bb
7 changed files with 220 additions and 53 deletions

View File

@@ -1,3 +1,5 @@
using Watcher.Models;
namespace Watcher.ViewModels
{
public class DashboardViewModel
@@ -7,5 +9,10 @@ namespace Watcher.ViewModels
public int RunningContainers { get; set; }
public int FailedContainers { get; set; }
public DateTime LastLogin { get; set; }
public List<Server> Servers { get; set; } = new();
public List<LogEvent> RecentEvents { get; set; } = new();
public List<Container> Containers { get; set; } = new();
}
}