ホテル管理システム
ogi
yesterday 1a1c8e71fcd14858f595029f089b2d4a00202b32
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
 
<MudList Clickable="true">
    <MudListSubheader Class="ml-n2 mb-n4"><b>CORE TEAM - 2</b></MudListSubheader>
    @foreach (var user in chatUsers.Where(x => x.UserRoleColor == Colors.DeepPurple.Accent4))
    {
        <User UserName="@user.UserName" UserRoleColor="@user.UserRoleColor" OnlineStatus="@user.OnlineStatus" ListeningToSpotify="@user.Spotify" AvatarUrl="@user.AvatarUrl" />
    }
    <MudListSubheader Class="ml-n2 mt-4 mb-n4"><b>CONTRIBUTION TEAM - 5</b></MudListSubheader>
    @foreach (var user in chatUsers.Where(x => x.UserRoleColor == Colors.Red.Accent3))
    {
        <User UserName="@user.UserName" UserRoleColor="@user.UserRoleColor" OnlineStatus="@user.OnlineStatus" ListeningToSpotify="@user.Spotify" AvatarUrl="@user.AvatarUrl" AvatarColor="@user.AvatarColor" />
    }
    <MudListSubheader Class="ml-n2 mt-4 mb-n4"><b>ONLINE - 5</b></MudListSubheader>
    @foreach (var user in chatUsers.Where(x => x.UserRoleColor == Colors.BlueGrey.Lighten1))
    {
        <User UserName="@user.UserName" UserRoleColor="@user.UserRoleColor" OnlineStatus="@user.OnlineStatus" ListeningToSpotify="@user.Spotify" AvatarUrl="@user.AvatarUrl" AvatarColor="@user.AvatarColor" />
    }
</MudList>
 
@code {
    [Parameter] public ChatUser[] chatUsers { get; set; }
}