adjust frontend to new backend

This commit is contained in:
wea_ondara
2024-05-27 19:05:54 +02:00
parent 8b60d023e8
commit 265a5f3063
67 changed files with 5506 additions and 703 deletions

View File

@@ -0,0 +1,28 @@
<script lang="ts">
import {Component, Vue} from 'vue-facing-decorator';
import LoginComponent from '@/components/auth/LoginComponent.vue';
import CenterOnParent from '@/components/CenterOnParent.vue';
@Component({
name: 'LoginView',
components: {
CenterOnParent,
LoginComponent
},
})
export default class LoginView extends Vue {
async onLoggedIn(): Promise<void> {
this.$router.push('/');
}
}
</script>
<template>
<center-on-parent>
<div class="card">
<div class="card-body">
<LoginComponent @loggedIn="onLoggedIn"/>
</div>
</div>
</center-on-parent>
</template>