Begin Login Form

This commit is contained in:
Jörn-Michael Miehe 2019-05-06 04:05:32 +02:00
parent a6b9646b87
commit 9fb82dcfaa
4 changed files with 58 additions and 5 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
**/node_modules **/node_modules
**/fftcg.db **/fftcg.db
**/org.vue.*.json

View file

@ -6,7 +6,7 @@
"favorite": 0, "favorite": 0,
"type": "vue", "type": "vue",
"name": "frontend", "name": "frontend",
"openDate": 1556559984890, "openDate": 1556789720710,
"widgets": [ "widgets": [
{ {
"id": "5sGiztidd", "id": "5sGiztidd",

View 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>

View file

@ -1,14 +1,31 @@
<template> <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> </template>
<script> <script>
// @ is an alias to /src import LoginForm from '@/components/forms/Login.vue'
import HelloWorld from '@/components/HelloWorld.vue'
export default { export default {
name: 'Home',
data() {
return {
dialog: false
}
},
components: { components: {
HelloWorld LoginForm
} }
} }
</script> </script>