This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
<MudPaper Class="pa-8" Elevation="3" Style="width: 100%; max-width: 400px;">
|
<MudPaper Class="pa-8" Elevation="3" Style="width: 100%; max-width: 400px;">
|
||||||
<MudText Typo="Typo.h4" Class="mb-6 text-center">관리자 로그인</MudText>
|
<MudText Typo="Typo.h4" Class="mb-6 text-center">관리자 로그인</MudText>
|
||||||
|
|
||||||
<MudForm @ref="form" @bind-IsValid="@isFormValid">
|
<EditForm Model="model">
|
||||||
<MudTextField @bind-Value="model.Username" Label="사용자명"
|
<MudTextField @bind-Value="model.Username" Label="사용자명"
|
||||||
Variant="Variant.Outlined" Required="true" Class="mb-4" />
|
Variant="Variant.Outlined" Required="true" Class="mb-4" />
|
||||||
|
|
||||||
@@ -39,13 +39,11 @@
|
|||||||
<span>로그인</span>
|
<span>로그인</span>
|
||||||
}
|
}
|
||||||
</MudButton>
|
</MudButton>
|
||||||
</MudForm>
|
</EditForm>
|
||||||
</MudPaper>
|
</MudPaper>
|
||||||
</MudContainer>
|
</MudContainer>
|
||||||
|
|
||||||
@code {
|
@code {
|
||||||
private MudForm form;
|
|
||||||
private bool isFormValid = false;
|
|
||||||
private bool isLoading = false;
|
private bool isLoading = false;
|
||||||
private string errorMessage = "";
|
private string errorMessage = "";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user