Improvements for home page and formatting
This commit is contained in:
@@ -16,9 +16,9 @@ namespace WebApp.Models
|
||||
|
||||
return loe switch
|
||||
{
|
||||
1 => "①",
|
||||
2 => "②",
|
||||
3 => "③",
|
||||
1 => "‧",
|
||||
2 => "⁚",
|
||||
3 => "⁝",
|
||||
_ => Icons.Material.Filled.QuestionMark
|
||||
};
|
||||
}
|
||||
@@ -31,6 +31,19 @@ namespace WebApp.Models
|
||||
public static string PresentationEvent = "";
|
||||
public static string QuestionMark = "❔";
|
||||
|
||||
// Tooltip mapping for icon unicode characters
|
||||
public static Dictionary<string, string> IconTooltips => new()
|
||||
{
|
||||
{ OnSiteActivity, "On-Site Activity" },
|
||||
{ RegionalEvent, "Regional Event" },
|
||||
{ IndividualEvent, "Individual Event" },
|
||||
{ PresubmissionEvent, "Presubmission" },
|
||||
{ PresentationEvent, "Presentation/Interview" },
|
||||
{ "①", "Level of Effort: 1" },
|
||||
{ "②", "Level of Effort: 2" },
|
||||
{ "③", "Level of Effort: 3" }
|
||||
};
|
||||
|
||||
public static string EventEffort(EventDefinition eventDefinition)
|
||||
{
|
||||
return LevelOfEffortIcon(eventDefinition.LevelOfEffort);
|
||||
|
||||
Reference in New Issue
Block a user