Skip to content

Commit

Permalink
Ajout couleur comme US
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelQuetin committed Dec 9, 2024
1 parent 4789398 commit 9bcfc5f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
5 changes: 4 additions & 1 deletion src/components/ButtonsActions/BtnArchive.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<template>
<v-tooltip v-if="canArchive(demande)" text="Archiver">
<template v-slot:activator="{ props }">
<v-btn v-bind="props" variant="plain" icon="mdi-archive"
<v-btn v-bind="props"
variant="text"
icon="mdi-archive"
color="archived"
@click="archiverDemande(demande)"
aria-label="Archiver"></v-btn>
</template>
Expand Down
5 changes: 4 additions & 1 deletion src/components/ButtonsActions/BtnRestore.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<template>
<v-tooltip v-if="demande.etatDemande === 'Archivé'" text="Restaurer">
<template v-slot:activator="{ props }">
<v-btn v-bind="props" variant="plain" icon="mdi-package-up"
<v-btn v-bind="props"
variant="text"
color="success"
icon="mdi-package-up"
@click="restaurerDemande(demande)"></v-btn>
</template>
</v-tooltip>
Expand Down
6 changes: 5 additions & 1 deletion src/components/ButtonsActions/BtnStop.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
<template>
<v-tooltip v-if="canStop(demande)" text="Annuler">
<template v-slot:activator="{ props }">
<v-btn v-bind="props" icon="mdi-stop" variant="plain" @click="dialog.value = true;">
<v-btn v-bind="props"
icon="mdi-stop"
variant="text"
color="error"
@click="dialog = true">
</v-btn>
</template>
</v-tooltip>
Expand Down
5 changes: 4 additions & 1 deletion src/components/ButtonsActions/BtnSuppression.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<template>
<v-tooltip v-if="canCancel(demande)" text="Supprimer">
<template v-slot:activator="{ props }">
<v-btn v-bind="props" icon="mdi-delete" variant="plain" @click="dialog = true;">
<v-btn v-bind="props"
icon="mdi-delete"
variant="text"
@click="dialog = true">
</v-btn>
</template>
</v-tooltip>
Expand Down

0 comments on commit 9bcfc5f

Please sign in to comment.