Format Sign in and statistics component

This commit is contained in:
Marcel Schwarz 2020-07-21 23:04:10 +02:00
parent 6f9e9141b7
commit cfad59d139
2 changed files with 80 additions and 88 deletions

View File

@ -9,7 +9,6 @@
<v-col cols="12" md="8" class="main"> <v-col cols="12" md="8" class="main">
<v-card-text class="mt-1"> <v-card-text class="mt-1">
<h1 class="text-center display-2 logowhite--text">Sign in</h1> <h1 class="text-center display-2 logowhite--text">Sign in</h1>
<v-form> <v-form>
<v-text-field <v-text-field
label="Username" label="Username"
@ -51,7 +50,8 @@
outlined outlined
dark dark
@click="step++" @click="step++"
>Create Account</v-btn> >Create Account
</v-btn>
</div> </div>
</v-card-text> </v-card-text>
</v-col> </v-col>
@ -125,7 +125,6 @@
</template> </template>
<script> <script>
export default { export default {
data: () => ({ data: () => ({
step: 1, step: 1,
@ -135,7 +134,6 @@ export default {
lastname: "", lastname: "",
usernameR: "", usernameR: "",
passwordR: "" passwordR: ""
}), }),
props: { props: {
source: String source: String
@ -152,8 +150,6 @@ export default {
} else { } else {
document.getElementById("missing").innerHTML = "Please fill out all fields"; document.getElementById("missing").innerHTML = "Please fill out all fields";
} }
}, },
signup() { signup() {
if (this.usernameR != "" && this.passwordR != "") { if (this.usernameR != "" && this.passwordR != "") {
@ -180,13 +176,11 @@ export default {
} else { } else {
this.signup(); this.signup();
} }
} }
}); });
} }
}; };
</script> </script>
<style lang="css" scoped> <style scoped>
</style> </style>

View File

@ -18,7 +18,6 @@
</v-row> </v-row>
</template> </template>
<script> <script>
import RevenuePie from "./charts/RevenuePie.vue" import RevenuePie from "./charts/RevenuePie.vue"
import WeekSummary from "./charts/WeekSummary.vue"; import WeekSummary from "./charts/WeekSummary.vue";
@ -38,6 +37,5 @@ export default {
}; };
</script> </script>
<style scoped> <style scoped>
</style> </style>