Layout with toolbar
This commit is contained in:
parent
d9bd46b287
commit
d912b83608
4 changed files with 33 additions and 23 deletions
|
@ -1,12 +1,12 @@
|
||||||
<template>
|
<template>
|
||||||
<v-flex mb-4>
|
<v-toolbar app>
|
||||||
<h1 class="display-2 font-weight-bold mb-3">
|
<v-toolbar-title class="headline text-uppercase">
|
||||||
Hello World!
|
<span>Yavook</span>
|
||||||
</h1>
|
<span class="font-weight-light">!FFTCG</span>
|
||||||
<p class="subheading font-weight-regular">
|
</v-toolbar-title>
|
||||||
App under development, please don't submit any valuable data!
|
<v-spacer></v-spacer>
|
||||||
</p>
|
<slot />
|
||||||
</v-flex>
|
</v-toolbar>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<v-dialog v-model="dialog">
|
<v-dialog v-model="dialog">
|
||||||
<v-btn slot="activator">
|
<v-btn flat slot="activator">
|
||||||
{{ buttonText }}
|
{{ buttonText }}
|
||||||
</v-btn>
|
</v-btn>
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,16 @@
|
||||||
<template>
|
<template>
|
||||||
|
<v-content>
|
||||||
<v-container>
|
<v-container>
|
||||||
<Header />
|
<Header>
|
||||||
|
|
||||||
<LoginForm />
|
<LoginForm />
|
||||||
<RegisterForm />
|
<RegisterForm />
|
||||||
|
</Header>
|
||||||
|
|
||||||
|
<p class="subheading font-weight-regular">
|
||||||
|
App under development, please don't submit any valuable data!
|
||||||
|
</p>
|
||||||
</v-container>
|
</v-container>
|
||||||
|
</v-content>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -1,15 +1,17 @@
|
||||||
<template>
|
<template>
|
||||||
|
<v-content>
|
||||||
<v-container>
|
<v-container>
|
||||||
<Header />
|
<Header>
|
||||||
|
<v-btn flat @click.native="logout">Logout</v-btn>
|
||||||
|
</Header>
|
||||||
|
|
||||||
<template v-if="user">
|
<template v-if="user">
|
||||||
<p>user logged in: {{ user.login }}</p>
|
<p>user logged in: {{ user.login }}</p>
|
||||||
|
|
||||||
<DeckList />
|
<DeckList />
|
||||||
|
|
||||||
<v-btn @click.native="logout">Logout</v-btn>
|
|
||||||
</template>
|
</template>
|
||||||
</v-container>
|
</v-container>
|
||||||
|
</v-content>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
@ -27,6 +29,8 @@ export default {
|
||||||
DeckList
|
DeckList
|
||||||
},
|
},
|
||||||
|
|
||||||
|
data: () => ({}),
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
goHome() {
|
goHome() {
|
||||||
Cookies.remove('session')
|
Cookies.remove('session')
|
||||||
|
|
Reference in a new issue