[vue.noauth.login][vue.noauth.register]

This commit is contained in:
xdrm-brackets 2018-03-25 14:00:01 +02:00
parent 21b5d48669
commit ff62d39bd5
2 changed files with 7 additions and 7 deletions

View File

@ -6,13 +6,13 @@
<div class='form'> <div class='form'>
<h3>Welcome back!</h3> <h3>Welcome back!</h3>
<label for='email'>EMAIL</label> <label for='username' :class='gs.login.username.error.length<1?``:`err`'>USERNAME <span>{{ gs.login.username.error }}</span></label>
<input type='text' name='email' class='flat'> <input type='text' name='username' v-model='gs.login.username.model' class='flat' autofocus>
<label for='password'>PASSWORD</label> <label for='password' :class='gs.login.password.error.length<1?``:`err`'>PASSWORD <span>{{ gs.login.password.error }}</span></label>
<input type='password' name='password' class='flat'> <input type='password' name='password' v-model='gs.login.password.model' class='flat'>
<label for='fpass' class='link'>FORGOT YOUR PASSWORD ?</label> <!-- <label for='fpass' class='link' @click='gs.login.func.forgot_pass()'>FORGOT YOUR PASSWORD ?</label> -->
<button class='submit'>Login</button> <button class='submit' @click='gs.login.func.login()'>Login</button>
<span>Need an account? <router-link to='register'>Register</router-link></span> <span>Need an account? <router-link to='register'>Register</router-link></span>
</div> </div>

View File

@ -7,7 +7,7 @@
<div class='form'> <div class='form'>
<h3>Create an account</h3> <h3>Create an account</h3>
<label for='email'>EMAIL</label> <label for='email'>EMAIL</label>
<input type='text' name='email' class='flat'> <input type='email' name='email' class='flat' autofocus>
<label for='username'>USERNAME</label> <label for='username'>USERNAME</label>
<input type='text' name='username' class='flat'> <input type='text' name='username' class='flat'>
<label for='password'>PASSWORD</label> <label for='password'>PASSWORD</label>