-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into ITEM-141
- Loading branch information
Showing
13 changed files
with
343 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "vuetify-project", | ||
"name": "Item", | ||
"version": "0.0.0", | ||
"scripts": { | ||
"dev": "vite", | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<template> | ||
<v-card flat :loading="isLoading"> | ||
<v-card-title style="background-color: #295494; color: white" class="d-flex justify-space-between"> | ||
<span>Choix du type de fichier</span> | ||
<v-btn depressed variant="text" @click="deleted()" prepend-icon="mdi-delete">Supprimer</v-btn> | ||
</v-card-title> | ||
<v-card-text class="pa-0 ma-0"> | ||
<v-hover v-slot="{ isHovering, props }" v-for="type in types" :key="type"> | ||
<div v-bind="props" :class="`btn-perso elevation-${isHovering ? 6 : 2} pa-5 ma-1 d-flex justify-space-between`" @click="onClick(type)"> | ||
<v-row class="align-center"> | ||
<v-col cols="12" sm="3" class="d-flex justify-center"> | ||
<v-icon size="x-large" dark color="primary"> mdi-file-document-outline </v-icon> | ||
</v-col> | ||
<v-col cols="12" sm="9" class="d-flex justify-start"><span class="group">Fichier {{ type }}</span></v-col> | ||
</v-row> | ||
</div> | ||
</v-hover> | ||
</v-card-text> | ||
</v-card> | ||
</template> | ||
<script setup> | ||
const props = defineProps({ | ||
isLoading: { | ||
type: Boolean, | ||
default: false | ||
} | ||
}) | ||
const typeFile = defineModel(); | ||
const types = ['PPN','EPN'] | ||
function onClick(type) { | ||
typeFile.value = type; | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,7 +87,7 @@ | |
@click="uploadFileInit()" | ||
v-if="!isLoaded" | ||
> | ||
Envoyé | ||
Envoyer | ||
</v-btn> | ||
<v-btn | ||
v-else | ||
|
Oops, something went wrong.