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-28 23:26:18 +00:00
|
|
|
<label v-show='gs.login.failed' class='err'><span>Invalid Combination</span></label>
|
|
|
|
<label>USERNAME <span :data-err='gs.login.username.error'></span></label>
|
|
|
|
<input @keyup='gs.login.func.press_enter' type='text' v-model='gs.login.username.mutable' class='flat' autofocus>
|
|
|
|
<label>PASSWORD <span :data-err='gs.login.password.error'></span></label>
|
|
|
|
<input @keyup='gs.login.func.press_enter' type='password' v-model='gs.login.password.mutable' 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>
|