radial progressbar
This commit is contained in:
@@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user