@inherits LayoutComponentBase
@layout MainLayout
@attribute [Authorize(Roles = "Administrator")]

<Layout Class="panel-layout" Style="padding: 24px 0;">
    <Sider Width="200">
        <Menu Mode=@MenuMode.Inline Style="height: 100%">
            <MenuItem RouterLink="/Settings/General">General</MenuItem>
            <MenuItem RouterLink="/Settings/Users">Users</MenuItem>
            <MenuItem RouterLink="/Settings/Roles">Roles</MenuItem>
            <MenuItem RouterLink="/Settings/Authentication">Authentication</MenuItem>
            <MenuItem RouterLink="/Settings/UserSaves">User Saves</MenuItem>
            <MenuItem RouterLink="/Settings/Archives">Archives</MenuItem>
            <MenuItem RouterLink="/Settings/Media">Media</MenuItem>
            <MenuItem RouterLink="/Settings/IPXRelay">IPX Relay</MenuItem>
            <MenuItem RouterLink="/Settings/Beacon">Beacon</MenuItem>
            <MenuItem RouterLink="/Settings/Tools" RouterMatch="@NavLinkMatch.Prefix">Tools</MenuItem>
        </Menu>
    </Sider>

    <Content>
        @Body
    </Content>
</Layout>