exam_service
This commit is contained in:
18
TechHelper.Client/Shared/ExamLayout.razor
Normal file
18
TechHelper.Client/Shared/ExamLayout.razor
Normal file
@@ -0,0 +1,18 @@
|
||||
@inherits LayoutComponentBase
|
||||
@layout AccountLayout
|
||||
|
||||
|
||||
<MudPaper Class="d-flex flex-row flex-grow-1 overflow-hidden" Height="100%">
|
||||
|
||||
<MudPaper Width="200px">
|
||||
<h1>Manage your account</h1>
|
||||
<h2>Change your account settings</h2>
|
||||
<MudDivider Class="flex-grow-0" />
|
||||
<ExamNavMenu />
|
||||
|
||||
</MudPaper>
|
||||
|
||||
<MudPaper Class="flex-grow-1 overflow-auto">
|
||||
@Body
|
||||
</MudPaper>
|
||||
</MudPaper>
|
22
TechHelper.Client/Shared/ExamNavMenu.razor
Normal file
22
TechHelper.Client/Shared/ExamNavMenu.razor
Normal file
@@ -0,0 +1,22 @@
|
||||
@using Microsoft.AspNetCore.Identity
|
||||
|
||||
|
||||
<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>
|
||||
@* <li class="nav-item">
|
||||
<NavLink class="nav-link" href="Account/Manage/TwoFactorAuthentication">Two-factor authentication</NavLink>
|
||||
</li> *@
|
||||
</ul>
|
||||
|
||||
@code {
|
||||
private bool hasExternalLogins;
|
||||
|
||||
}
|
Reference in New Issue
Block a user