2018-03-24 16:51:04 +00:00
|
|
|
<template>
|
|
|
|
|
2018-03-24 18:57:51 +00:00
|
|
|
<div class='login-box'>
|
2018-03-24 16:51:04 +00:00
|
|
|
|
2018-03-24 18:57:51 +00:00
|
|
|
<div class='icon'></div>
|
2018-03-24 16:51:04 +00:00
|
|
|
|
2018-03-24 18:57:51 +00:00
|
|
|
<div class='form'>
|
|
|
|
<h3>Welcome back!</h3>
|
2018-03-25 12:00:01 +00:00
|
|
|
<label for='username' :class='gs.login.username.error.length<1?``:`err`'>USERNAME <span>{{ gs.login.username.error }}</span></label>
|
2018-03-27 17:04:06 +00:00
|
|
|
<input @keyup='gs.login.func.press_enter' type='text' name='username' v-model='gs.login.username.model' class='flat' autofocus>
|
2018-03-25 12:00:01 +00:00
|
|
|
<label for='password' :class='gs.login.password.error.length<1?``:`err`'>PASSWORD <span>{{ gs.login.password.error }}</span></label>
|
2018-03-27 17:04:06 +00:00
|
|
|
<input @keyup='gs.login.func.press_enter' type='password' name='password' v-model='gs.login.password.model' class='flat'>
|
2018-03-25 12:00:01 +00:00
|
|
|
<!-- <label for='fpass' class='link' @click='gs.login.func.forgot_pass()'>FORGOT YOUR PASSWORD ?</label> -->
|
2018-03-24 16:51:04 +00:00
|
|
|
|
2018-03-25 12:00:01 +00:00
|
|
|
<button class='submit' @click='gs.login.func.login()'>Login</button>
|
2018-03-25 10:24:34 +00:00
|
|
|
<span>Need an account? <router-link to='register'>Register</router-link></span>
|
2018-03-24 16:51:04 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</template><script>
|
|
|
|
export default {
|
|
|
|
|
|
|
|
name: 'login-',
|
|
|
|
|
|
|
|
data(){ return { gs: gs.get }; }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</script>
|