mirror of
https://github.com/lantean-code/qbtmud.git
synced 2025-10-23 04:52:22 +00:00
20 lines
884 B
Plaintext
20 lines
884 B
Plaintext
<MudDialog>
|
|
<DialogContent>
|
|
<MudGrid>
|
|
<MudItem xs="12">
|
|
<MudList T="string">
|
|
<MudListItem Icon="@Icons.Material.Filled.Add" IconColor="Color.Info" OnClick="AddCategory">Add</MudListItem>
|
|
<MudListItem Icon="@Icons.Material.Filled.Remove" IconColor="Color.Error" OnClick="RemoveCategory">Remove</MudListItem>
|
|
<MudDivider />
|
|
@foreach (var category in Categories)
|
|
{
|
|
var categoryRef = category;
|
|
<MudListItem Icon="@GetIcon(categoryRef)" IconColor="Color.Default" OnClick="@(e => SetCategory(categoryRef))">@categoryRef</MudListItem>
|
|
}
|
|
</MudList>
|
|
</MudItem>
|
|
</MudGrid>
|
|
</DialogContent>
|
|
<DialogActions>
|
|
</DialogActions>
|
|
</MudDialog> |