Enhance Event Rank Color System
This commit is contained in:
@@ -49,9 +49,12 @@ else
|
||||
<MudTd Class="@($"event-rank-{ii})")">
|
||||
@if (st != null)
|
||||
{
|
||||
<span>@st.EventDefinition.ShortName
|
||||
<EventAttributes EventDefinition="@st.EventDefinition"></EventAttributes>
|
||||
</span>
|
||||
<MudStack Row="true" AlignItems="AlignItems.Center" Spacing="1">
|
||||
<span style="@($"display: inline-block; width: 10px; height: 10px; border-radius: 50%; background-color: {AppIcons.RankedEventColor(ii)}; flex-shrink: 0;")")></span>
|
||||
<span>@st.EventDefinition.ShortName
|
||||
<EventAttributes EventDefinition="@st.EventDefinition"></EventAttributes>
|
||||
</span>
|
||||
</MudStack>
|
||||
}
|
||||
</MudTd>
|
||||
}
|
||||
@@ -86,7 +89,10 @@ else
|
||||
<MudTd Class="@eventClass">
|
||||
@if (student != null)
|
||||
{
|
||||
@student.Item1.FirstName
|
||||
<MudStack Row="true" AlignItems="AlignItems.Center" Spacing="1">
|
||||
<span style="@($"display: inline-block; width: 10px; height: 10px; border-radius: 50%; background-color: {AppIcons.RankedEventColor(student.Item2)}; flex-shrink: 0;")")></span>
|
||||
@student.Item1.FirstName
|
||||
</MudStack>
|
||||
}
|
||||
</MudTd>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user