Skip to content

Commit 22a27fa

Browse files
committed
Refactor button layout in top-left component for improved UI consistency
1 parent 7e922bf commit 22a27fa

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

apps/web/src/components/table/top-left.vue

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
<template lang="pug">
22
q-btn-group(rounded flat)
3-
//- q-btn(flat icon="mdi-merge" color="primary" rounded @click="merge" size="md" :disable="true ||selected.length === 0 || selected.length === 1")
4-
//- q-tooltip.text-body2(transition-show="scale" transition-hide="scale") Fusionner les identités sélectionnées
5-
//- q-btn(flat icon="mdi-check" color="primary" rounded @click="openUpdateModale(IdentityState.TO_VALIDATE)" size="md" :disable="selected.length === 0")
6-
//- q-tooltip.text-body2(transition-show="scale" transition-hide="scale") Valider les identités sélectionnées
7-
q-btn(flat icon="mdi-sync" color="orange-8" rounded @click="openUpdateModale" size="md" :disable="selected.length === 0")
3+
q-btn(flat icon="mdi-sync" color="orange-8" rounded @click="openUpdateModale" size="md" :disable="selected.length === 0" dense)
84
q-tooltip.text-body2(transition-show="scale" transition-hide="scale") Mettre à synchroniser les identités sélectionnées
9-
q-btn(flat icon="mdi-email-arrow-right" color="primary" rounded @click="openInitModale" size="md" :disable="selected.length === 0")
5+
q-btn(flat icon="mdi-email-arrow-right" color="primary" rounded @click="openInitModale" size="md" :disable="selected.length === 0" dense)
106
q-tooltip.text-body2(transition-show="scale" transition-hide="scale") Envoyer le mail d'invitation
11-
q-btn(flat icon="mdi-delete" color="negative" rounded @click="openTrashModale" size="md" :disable="selected.length === 0")
7+
q-btn(flat icon="mdi-delete" color="negative" rounded @click="openTrashModale" size="md" :disable="selected.length === 0" dense)
128
q-tooltip.text-body2(transition-show="scale" transition-hide="scale") Supprimer en masse
13-
q-btn(flat icon="mdi-cancel" color="warning" rounded @click="clearSelection" size="md" v-show="selected.length !== 0")
9+
q-separator(vertical v-if="selected.length !== 0")
10+
q-btn(flat icon="mdi-cancel" color="warning" rounded @click="clearSelection" size="md" v-show="selected.length !== 0" dense)
1411
q-tooltip.text-body2(transition-show="scale" transition-hide="scale") Nettoyer la selection
1512
</template>
1613

0 commit comments

Comments
 (0)