about summary refs log tree commit diff
path: root/MatrixUtils.Web/Pages/Labs/Client/ClientComponents/MatrixClient.razor
blob: 7d3e52a93308fb231b98b5ad85e6c74c62804728 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
@using Index = MatrixUtils.Web.Pages.Labs.Client.Index
@using MatrixUtils.Web.Pages.Client.ClientComponents

<div class="container-fluid">
    <div class="row">
        <div class="col-3">
            <ClientRoomList Data="@Data"/>
        </div>
        <div class="col-6">
            @if (Data.SelectedRoom != null) {
                <Index.RoomHeader Data="@Data"/>
                <Index.RoomTimeline Data="@Data"/>
            }
            else {
                <p>No room selected</p>
            }
        </div>
        @if (Data.SelectedRoom != null) {
            <div class="col-3">
                <Index.UserList Data="@Data"/>
            </div>
        }
    </div>
</div>

@code {

    [Parameter]
    public Index.ClientContext Data { get; set; } = null!;

}