Begin Login Form
This commit is contained in:
parent
a6b9646b87
commit
9fb82dcfaa
4 changed files with 58 additions and 5 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
**/node_modules
|
||||
**/fftcg.db
|
||||
**/org.vue.*.json
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"favorite": 0,
|
||||
"type": "vue",
|
||||
"name": "frontend",
|
||||
"openDate": 1556559984890,
|
||||
"openDate": 1556789720710,
|
||||
"widgets": [
|
||||
{
|
||||
"id": "5sGiztidd",
|
||||
|
|
35
frontend/src/components/forms/Login.vue
Normal file
35
frontend/src/components/forms/Login.vue
Normal file
|
@ -0,0 +1,35 @@
|
|||
<template>
|
||||
<v-dialog v-model="dialog" width="500">
|
||||
<v-btn slot="activator" color="red lighten-2" dark>
|
||||
Login
|
||||
</v-btn>
|
||||
|
||||
<v-card>
|
||||
<v-card-title class="headline grey lighten-2" primary-title>
|
||||
Log In
|
||||
</v-card-title>
|
||||
|
||||
<v-card-text>
|
||||
Some form
|
||||
</v-card-text>
|
||||
|
||||
<v-divider></v-divider>
|
||||
|
||||
<v-card-actions>
|
||||
<v-spacer></v-spacer>
|
||||
<v-btn color="primary" flat @click="dialog = false">
|
||||
Login
|
||||
</v-btn>
|
||||
</v-card-actions>
|
||||
</v-card>
|
||||
</v-dialog>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "LoginForm"
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="css" scoped>
|
||||
</style>
|
|
@ -1,14 +1,31 @@
|
|||
<template>
|
||||
<HelloWorld />
|
||||
<v-container>
|
||||
<v-flex mb-4>
|
||||
<h1 class="display-2 font-weight-bold mb-3">
|
||||
Hello World!
|
||||
</h1>
|
||||
<p class="subheading font-weight-regular">
|
||||
App under development, please don't submit any valuable data!
|
||||
</p>
|
||||
</v-flex>
|
||||
|
||||
<LoginForm />
|
||||
|
||||
</v-container>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
// @ is an alias to /src
|
||||
import HelloWorld from '@/components/HelloWorld.vue'
|
||||
import LoginForm from '@/components/forms/Login.vue'
|
||||
|
||||
export default {
|
||||
name: 'Home',
|
||||
data() {
|
||||
return {
|
||||
dialog: false
|
||||
}
|
||||
},
|
||||
components: {
|
||||
HelloWorld
|
||||
LoginForm
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
Reference in a new issue