change base url and translate login page and add field
This commit is contained in:
+10
-16
@@ -15,19 +15,16 @@
|
||||
<img src="@/assets/images/logo.svg" width="120px" height="120px" class="mx-auto">
|
||||
<div class="vx-card__title mb-4">
|
||||
<h4 class="mb-4">
|
||||
{{$t('Login')}}
|
||||
ورود
|
||||
</h4>
|
||||
<p>{{$t('Welcome Login')}}</p>
|
||||
<p>به آسکو خوش آمدید.</p>
|
||||
</div>
|
||||
<div>
|
||||
<vs-input
|
||||
v-validate="'required|min:3'"
|
||||
data-vv-validate-on="blur"
|
||||
name="mobile"
|
||||
icon-no-border
|
||||
icon="icon icon-user"
|
||||
icon-pack="feather"
|
||||
:label-placeholder="$t('Mail or Mobile')"
|
||||
label-placeholder="شماره تلفن همراه یا ایمیل"
|
||||
v-model="email"
|
||||
@keydown.enter="loginJWT"
|
||||
class="w-full"/>
|
||||
@@ -38,10 +35,7 @@
|
||||
v-validate="'required'"
|
||||
type="password"
|
||||
name="password"
|
||||
icon-no-border
|
||||
icon="icon icon-lock"
|
||||
icon-pack="feather"
|
||||
:label-placeholder="$t('Password')"
|
||||
label-placeholder="رمز عبور"
|
||||
v-model="password"
|
||||
@keydown.enter="loginJWT"
|
||||
class="w-full mt-8" />
|
||||
@@ -54,16 +48,16 @@
|
||||
</div>
|
||||
<div class="flex flex-wrap justify-between mb-3 ">
|
||||
<vs-button class="mx-auto" :disabled="!validateForm" @click="loginJWT" >
|
||||
{{$t('Login')}}
|
||||
ورود
|
||||
</vs-button>
|
||||
</div>
|
||||
<div>
|
||||
<!-- <router-link to="/auth/register">
|
||||
{{$t('Are you register')}}
|
||||
</router-link>-->
|
||||
<a-button type="link" @click="registerUser">
|
||||
<router-link to="/register/form">
|
||||
آیا هنوز ثبت نام نکرده اید؟
|
||||
</a-button>
|
||||
</router-link>
|
||||
<!-- <a-button type="link" @click="registerUser">
|
||||
آیا هنوز ثبت نام نکرده اید؟
|
||||
</a-button>-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user