radial progressbar

This commit is contained in:
Rene Schwarz
2021-04-14 00:53:57 +02:00
parent cf7b9abcf0
commit e220c09ec3
61 changed files with 2449 additions and 262 deletions

View File

@@ -6,14 +6,16 @@ namespace Server_Dashboard {
class DashboardModule {
public string ModulName { get; set; }
public string Creator { get; set; }
public ModuleItem ServerInfo { get; set; }
public ServerInformation ServerInfo { get; set; }
public string StatusIndicator { get; set; }
public string StatusIndicatorBG { get; set; }
public bool ActiveConnection { get; set; }
public string ModuleIcon { get; set; }
public DashboardModule() {
StatusIndicator = true ? "#20c657" : "#e53935";
StatusIndicatorBG = true ? "#94eeb0" : "#ef9a9a";
ServerInfo = new ModuleItem(true, 88.88, 69.69, DateTime.Now, "sudo", "Archlinux", "192.168.1.100", "84.102.25.96");
public DashboardModule(bool activeConnection) {
ActiveConnection = activeConnection;
StatusIndicator = ActiveConnection ? "#20c657" : "#e53935";
StatusIndicatorBG = ActiveConnection ? "#94eeb0" : "#ef9a9a";
}
}
}