Update icons for event attributes
This commit is contained in:
@@ -17,9 +17,9 @@ namespace WebApp.Models
|
||||
|
||||
return loe switch
|
||||
{
|
||||
1 => "1",
|
||||
2 => "2",
|
||||
3 => "3",
|
||||
1 => "○",
|
||||
2 => "◐",
|
||||
3 => "●",
|
||||
_ => Icons.Material.Filled.QuestionMark
|
||||
};
|
||||
}
|
||||
@@ -30,7 +30,6 @@ namespace WebApp.Models
|
||||
public static string IndividualEvent = "ⓘ";
|
||||
public static string PresubmissionEvent = "ⓟ";
|
||||
public static string PresentationEvent = "";
|
||||
public static string QuestionMark = "❔";
|
||||
|
||||
// Tooltip mapping for icon unicode characters
|
||||
public static Dictionary<string, string> IconTooltips => new()
|
||||
@@ -40,9 +39,22 @@ namespace WebApp.Models
|
||||
{ IndividualEvent, "Individual Event" },
|
||||
{ PresubmissionEvent, "Presubmission" },
|
||||
{ PresentationEvent, "Presentation/Interview" },
|
||||
{ "①", "Level of Effort: 1" },
|
||||
{ "②", "Level of Effort: 2" },
|
||||
{ "③", "Level of Effort: 3" }
|
||||
{ "○", "Level of Effort: 1" },
|
||||
{ "◐", "Level of Effort: 2" },
|
||||
{ "●", "Level of Effort: 3" }
|
||||
};
|
||||
|
||||
// Color mapping for icon unicode characters
|
||||
public static Dictionary<string, string> IconColors => new()
|
||||
{
|
||||
{ OnSiteActivity, "#ff9800" }, // Orange
|
||||
{ RegionalEvent, "#2196f3" }, // Blue
|
||||
{ IndividualEvent, "#9c27b0" }, // Purple
|
||||
{ PresubmissionEvent, "#4caf50" }, // Green
|
||||
{ PresentationEvent, "#f44336" }, // Red
|
||||
{ "○", "#757575" }, // Gray
|
||||
{ "◐", "#616161" }, // Darker Gray
|
||||
{ "●", "#424242" } // Even Darker Gray
|
||||
};
|
||||
|
||||
public static string EventEffort(EventDefinition eventDefinition)
|
||||
|
||||
Reference in New Issue
Block a user