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