@using Microsoft.AspNetCore.Identity



<AuthorizeView Roles="Teacher">
	<Authorized>

		<ul class="nav nav-pills flex-column">
			<li class="nav-item">
				<NavLink class="nav-link" href="exam/create" Match="NavLinkMatch.All">创建</NavLink>
			</li>
			<li class="nav-item">
				<NavLink class="nav-link" href="exam/manage">管理</NavLink>
			</li>
			<li class="nav-item">
				<NavLink class="nav-link" href="Account/Manage/ChangePassword">Password</NavLink>
			</li>
		</ul>

	</Authorized>
</AuthorizeView>


<AuthorizeView Roles="Student">
	<Authorized>
		<ul class="nav nav-pills flex-column">
			<li class="nav-item">
				<NavLink class="nav-link" href="exam/studentHomework" Match="NavLinkMatch.All">Homework</NavLink>
			</li>
			<li class="nav-item">
				<NavLink class="nav-link" href="exam/manage">管理</NavLink>
			</li>
		</ul>
	</Authorized>
</AuthorizeView>
@code {
	private bool hasExternalLogins;

}
