add register page (mockup)
This commit is contained in:
parent
9b4b1a993c
commit
08779bfd73
5 changed files with 91 additions and 5 deletions
|
@ -18,7 +18,7 @@
|
|||
</v-container>
|
||||
|
||||
<v-btn @click.prevent="login">ลงชื่อเข้าใช้</v-btn>
|
||||
<v-btn >ฉันต้องการสมัครสมาชิก</v-btn>
|
||||
<v-btn :to="{name: 'register'}">ฉันต้องการสมัครสมาชิก</v-btn>
|
||||
|
||||
</v-main>
|
||||
</v-app>
|
||||
|
@ -26,7 +26,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
// mango : i have a problem with css due to the icon theme so i make some mock up to testing login/register
|
||||
import {RouterLink} from 'vue-router';
|
||||
import TopBar from '@/components/TopBar.vue';
|
||||
|
||||
export default {
|
||||
|
@ -36,7 +36,7 @@ export default {
|
|||
name: 'Login',
|
||||
data() {
|
||||
return {
|
||||
pageTitle: 'ตั้งค่าบัญชี', // Set the page title here
|
||||
pageTitle: 'ลงชื่อเข้าใช้',
|
||||
input: {
|
||||
username: '',
|
||||
password: ''
|
||||
|
@ -45,7 +45,6 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
login() {
|
||||
// Make sure username OR password are not empty
|
||||
if (this.input.username !== '' || this.input.password !== '') {
|
||||
console.log('Authenticated: Checking with Backend');
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue