Refactor chip variants in event and team components for consistency
This commit updates various components within the Events and MeetingSchedule features to utilize standardized chip variants defined in the AppIcons class. The changes include replacing hardcoded chip variants with calls to the new methods for event, team, and student chips, enhancing consistency across the UI. Additionally, the UnscheduledStudentsList component has been updated to include necessary using directives, improving code clarity. These modifications contribute to a more uniform and maintainable user interface.
This commit is contained in:
@@ -29,7 +29,8 @@
|
||||
<div @onclick="@(() => OnToggleTeam.InvokeAsync(team))" style="cursor: pointer; display: inline-block;">
|
||||
<MudChip T="string"
|
||||
Size="Size.Small"
|
||||
Color="Color.Default">
|
||||
Color="Color.Default"
|
||||
Variant="@AppIcons.TeamChipVariant()">
|
||||
@team
|
||||
</MudChip>
|
||||
</div>
|
||||
@@ -59,7 +60,7 @@
|
||||
{
|
||||
<InteractiveChip Size="Size.Small"
|
||||
Color="@chipColor"
|
||||
Variant="Variant.Outlined"
|
||||
Variant="@AppIcons.StudentChipVariant()"
|
||||
Style="@(isExcluded ? "opacity: 0.5;" : "")">
|
||||
<ChildContent>
|
||||
<span>@formattedName</span>
|
||||
@@ -79,7 +80,7 @@
|
||||
<MudChip T="string"
|
||||
Size="Size.Small"
|
||||
Color="@chipColor"
|
||||
Variant="Variant.Outlined"
|
||||
Variant="@AppIcons.StudentChipVariant()"
|
||||
Style="@(isExcluded ? "opacity: 0.5;" : "")">
|
||||
<span>@formattedName</span>
|
||||
</MudChip>
|
||||
|
||||
Reference in New Issue
Block a user