Merge pull request #311 from Moonlight-Panel/FixAuthDesign
Fixed login and register oauth2 view
This commit is contained in:
commit
db2c6ec30d
2 changed files with 16 additions and 10 deletions
|
@ -55,11 +55,14 @@
|
|||
</div>
|
||||
}
|
||||
|
||||
<div class="separator separator-content my-14">
|
||||
<span class="w-125px text-gray-500 fw-semibold fs-7">
|
||||
<TL>Or with email</TL>
|
||||
</span>
|
||||
</div>
|
||||
@if (OAuth2Service.Providers.Any())
|
||||
{
|
||||
<div class="separator separator-content my-14">
|
||||
<span class="w-125px text-gray-500 fw-semibold fs-7">
|
||||
<TL>Or with email</TL>
|
||||
</span>
|
||||
</div>
|
||||
}
|
||||
|
||||
<div class="mt-3 mb-3">
|
||||
<InputText @bind-Value="LoginData.Email" type="email" placeholder="@(SmartTranslateService.Translate("Email"))" class="form-control bg-transparent"/>
|
||||
|
|
|
@ -48,11 +48,14 @@
|
|||
</div>
|
||||
}
|
||||
|
||||
<div class="separator separator-content my-10">
|
||||
<span class="w-125px text-gray-500 fw-semibold fs-7">
|
||||
<TL>Or with email</TL>
|
||||
</span>
|
||||
</div>
|
||||
@if (OAuth2Service.Providers.Any())
|
||||
{
|
||||
<div class="separator separator-content my-10">
|
||||
<span class="w-125px text-gray-500 fw-semibold fs-7">
|
||||
<TL>Or with email</TL>
|
||||
</span>
|
||||
</div>
|
||||
}
|
||||
|
||||
<SmartForm Model="UserRegisterModel" OnValidSubmit="CreateUser">
|
||||
<div class="fv-row mb-4 fv-plugins-icon-container">
|
||||
|
|
Loading…
Reference in a new issue