Fix errors

This commit is contained in:
Dominic Villemure
2024-03-11 23:42:40 -04:00
parent 87aaa4c7b3
commit 0cd7272fb0
2 changed files with 5 additions and 40 deletions

View File

@@ -5,9 +5,9 @@
<v-row justify="end" style="margin-top: .2%; margin-bottom: -1.2%;"> <v-row justify="end" style="margin-top: .2%; margin-bottom: -1.2%;">
<v-card-text justify="end" style="max-width: 22%; margin-top: .2%; margin-bottom: -1.2%;"> <v-card-text justify="end" style="max-width: 22%; margin-top: .2%; margin-bottom: -1.2%;">
<v-text-field :loading="loading" append-inner-icon="mdi-magnify" density="compact" <v-text-field append-inner-icon="mdi-magnify" density="compact"
label="Recherche et comptes (Non fonctionnel pour le moment)" variant="solo" hide-details single-line label="Recherche et comptes (Non fonctionnel pour le moment)" variant="solo" hide-details single-line
@click:append-inner="onClick"></v-text-field> ></v-text-field>
</v-card-text> </v-card-text>
<v-col cols="2" class="d-flex align-center"> <v-col cols="2" class="d-flex align-center">
@@ -26,13 +26,6 @@
</div> </div>
<!-- Version pour mobile --> <!-- Version pour mobile -->
<div class="md:hidden flex flex-col items-center justify-center"> <div class="md:hidden flex flex-col items-center justify-center">
<v-container style="margin-top: -20px;"> <v-container style="margin-top: -20px;">
@@ -124,7 +117,6 @@ import { useRouter } from 'vue-router';
const authStore = useAuthStore(); const authStore = useAuthStore();
const router = useRouter() const router = useRouter()
const logout = () => { const logout = () => {
authStore.logout(); authStore.logout();
router.push('/login'); router.push('/login');

View File

@@ -1,9 +1,5 @@
<template> <template>
<v-app> <main>
<!--PC --> <!--PC -->
<div class="md:flex hidden items-center justify-between flex-col" style="margin-top: 2%;"> <div class="md:flex hidden items-center justify-between flex-col" style="margin-top: 2%;">
<v-container style="margin-bottom: -.1%;"> <v-container style="margin-bottom: -.1%;">
@@ -76,7 +72,7 @@
</v-card> </v-card>
</v-hover> </v-hover>
<v-space style="margin-left: 30px;"></v-space> <div style="margin-left: 30px;"></div>
<v-hover v-slot="{ isHovering, props }"> <v-hover v-slot="{ isHovering, props }">
<v-card class="mx-auto" max-width="400" v-bind="props"> <v-card class="mx-auto" max-width="400" v-bind="props">
@@ -100,7 +96,7 @@
</v-card> </v-card>
</v-hover> </v-hover>
<v-space style="margin-left: 30px;"> </v-space> <div style="margin-left: 30px;"> </div>
@@ -168,11 +164,7 @@
</RouterLink> </RouterLink>
</v-col> </v-col>
</v-row> </v-row>
</v-col> </v-col>
<v-col> <v-col>
<v-img src="../../../images/homepage/cestquoihutopy.png" <v-img src="../../../images/homepage/cestquoihutopy.png"
style="border-radius: 90px; min-width: 344px;"></v-img> style="border-radius: 90px; min-width: 344px;"></v-img>
@@ -181,11 +173,6 @@
</v-container> </v-container>
<!-- Fin Description D'hutopy --> <!-- Fin Description D'hutopy -->
@@ -232,13 +219,6 @@
</v-col> </v-col>
</v-row> </v-row>
</v-container> </v-container>
</div> </div>
<!-- Mobile --> <!-- Mobile -->
@@ -384,13 +364,6 @@ const client = useClient();
let itemList = ref([]); let itemList = ref([]);
let errorNoAccessSnackBar = ref(false); let errorNoAccessSnackBar = ref(false);
const showOverlay(index) {
this.overlays[index] = true;
},
hideOverlay(index) {
this.overlays[index] = false;
},
async function callBackend() { async function callBackend() {
try { try {
const response = await client.get('/api/TodoItems?ListId=1&PageNumber=1&PageSize=10'); const response = await client.get('/api/TodoItems?ListId=1&PageNumber=1&PageSize=10');