added Clients Page

This commit is contained in:
jo.kuehner
2023-11-10 17:51:07 +01:00
parent f82cf089b6
commit ffff6f4467
8 changed files with 437 additions and 13 deletions

84
pages/clients.vue Normal file
View File

@ -0,0 +1,84 @@
<template>
<section id="content">
<div id="content-header">
<h1 id="page-name">Clients</h1>
</div>
<div id="content-body">
<Client />
<ClientQuickAccess />
</div>
</section>
</template>
<script setup>
definePageMeta({
layout: 'default'
})
</script>
<script>
import ClientTable from "../components/server/ClientTable.vue";
import Client from "../components/server/Client.vue";
import ClientQuickAccess from "../components/server/ClientQuickAccess.vue";
import ClientEmployees from "../components/server/ClientEmployees.vue";
import ClientEmployee from "../components/server/ClientEmployee.vue";
export default {
name: "ClientsPage",
components: {
ClientTable,
Client,
ClientQuickAccess,
ClientEmployees,
ClientEmployee,
}
}
</script>
<style scoped>
* {
box-sizing: border-box;
}
#content {
display: flex;
flex-direction: column;
justify-content: stretch;
align-items: stretch;
flex-grow: 1;
gap: 10px;
padding: 0 20px;
}
#content-header {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
width: 100%;
height: 50px;
}
#page-name {
color: #fff;
letter-spacing: 1.2px;
font: 400 24px/125% Overpass, -apple-system, Roboto, Helvetica,
sans-serif;
}
#content-body {
display: flex;
flex-direction: column;
width: 100%;
gap: 20px;
margin-bottom: 10px;
border-radius: 10px;
}
</style>

View File

@ -24,7 +24,7 @@
import QuickAccess from "../components/QuickAccess.vue";
export default {
name: "Page",
name: "HomePage",
components: {
Navigationbar,
Dashboard,
@ -47,7 +47,7 @@
flex-direction: column;
justify-content: stretch;
align-items: stretch;
width: 100%;
flex-grow: 1;
gap: 10px;
padding: 0 20px;
}

View File

@ -39,7 +39,7 @@
flex-direction: column;
justify-content: stretch;
align-items: stretch;
width: 100%;
flex-grow: 1;
gap: 10px;
padding: 0 20px;
}

View File

@ -20,7 +20,7 @@ definePageMeta({
import LoginForm from "../components/LoginForm.vue";
export default {
name: "Page",
name: "LoginPage",
components: {
LoginForm,
}