From fcf08f79333365d29763c49c8d507fa906085bbb Mon Sep 17 00:00:00 2001 From: Alexandre_BRAVO <134793082+AlexandreBRAVO@users.noreply.github.com> Date: Thu, 21 Nov 2024 17:34:13 +0100 Subject: [PATCH] ajout options (delete et edit) pour les fichiers --- src/components/EditFileName.vue | 79 ++++++++++++++++++++++++++++++ src/components/FileTable.vue | 85 +++++++++++++++++++++++++++++---- src/output.css | 32 ++++++++----- 3 files changed, 175 insertions(+), 21 deletions(-) create mode 100644 src/components/EditFileName.vue diff --git a/src/components/EditFileName.vue b/src/components/EditFileName.vue new file mode 100644 index 0000000..0a36cc9 --- /dev/null +++ b/src/components/EditFileName.vue @@ -0,0 +1,79 @@ + + + + + diff --git a/src/components/FileTable.vue b/src/components/FileTable.vue index 515db10..5d1b40d 100644 --- a/src/components/FileTable.vue +++ b/src/components/FileTable.vue @@ -53,9 +53,10 @@
-
Nom
-
Type
-
Taille
+
Nom
+
Type
+
Taille
+
Options
@@ -65,7 +66,7 @@ @click="handleClickElem(file)"> -
+
diff --git a/src/output.css b/src/output.css index 5c5a4ec..461a4f4 100644 --- a/src/output.css +++ b/src/output.css @@ -631,6 +631,10 @@ video { height: 4rem; } +.h-24 { + height: 6rem; +} + .h-6 { height: 1.5rem; } @@ -639,14 +643,14 @@ video { height: 100%; } -.h-24 { - height: 6rem; -} - .max-h-8 { max-height: 2rem; } +.w-1\/12 { + width: 8.333333%; +} + .w-1\/6 { width: 16.666667%; } @@ -659,10 +663,18 @@ video { width: 3rem; } +.w-2\/12 { + width: 16.666667%; +} + .w-2\/6 { width: 33.333333%; } +.w-24 { + width: 6rem; +} + .w-4\/6 { width: 66.666667%; } @@ -671,6 +683,10 @@ video { width: 1.5rem; } +.w-7\/12 { + width: 58.333333%; +} + .w-96 { width: 24rem; } @@ -679,14 +695,6 @@ video { width: 100%; } -.w-16 { - width: 4rem; -} - -.w-24 { - width: 6rem; -} - .max-w-64 { max-width: 16rem; }