@page "/"
@page "/Dashboard"
@attribute [Authorize]
@using LANCommander.Pages.Dashboard.Charts

<PageHeader Title="Dashboard" Style="margin-bottom: 24px" />

<GridRow Gutter="(16, 16)">
    <GridCol Xs="24" Md="12">
        <Card Title="Network Download Rate">
            <Body>
                <NetworkDownloadRate TimerHistory="60" TimerInterval="1000" />
            </Body>
        </Card>
    </GridCol>

    <GridCol Xs="24" Md="12">
        <Card Title="Network Upload Rate">
            <Body>
                <NetworkUploadRate TimerHistory="60" TimerInterval="1000" />
            </Body>
        </Card>
    </GridCol>

    <GridCol Xs="24" Md="12">
        <Card Title="CPU Usage (%)">
            <Body>
                <ProcessorUtilization TimerHistory="60" TimerInterval="1000" />
            </Body>
        </Card>
    </GridCol>

    <GridCol Xs="24" Md="12">
        <Card Title="Storage Usage">
            <Body>
                <StorageUsage />
            </Body>
        </Card>
    </GridCol>
</GridRow>