From f17901b699bc0e6c137a0aa2facba8f5b8b0ca1e Mon Sep 17 00:00:00 2001
From: GMrrc <143954951+GMrrc@users.noreply.github.com>
Date: Tue, 26 Nov 2024 14:42:36 +0100
Subject: [PATCH] add icon for zip
---
src/assets/package-x-generic.svg | 1 +
src/components/FileTable.vue | 10 +++++++++-
src/components/WebContentViewer.vue | 7 ++-----
src/output.css | 5 +++++
4 files changed, 17 insertions(+), 6 deletions(-)
create mode 100644 src/assets/package-x-generic.svg
diff --git a/src/assets/package-x-generic.svg b/src/assets/package-x-generic.svg
new file mode 100644
index 0000000..5803a00
--- /dev/null
+++ b/src/assets/package-x-generic.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/components/FileTable.vue b/src/components/FileTable.vue
index 2d0401e..8616329 100644
--- a/src/components/FileTable.vue
+++ b/src/components/FileTable.vue
@@ -73,7 +73,7 @@
-
+
+
+
+
{{ file.basename }}
@@ -308,10 +314,12 @@ export default {
if (zip) {
const response = await fetch(zip.url);
+ this.transferProgress = 25;
if (!response.ok) {
throw new Error(`Erreur lors du téléchargement : ${response.statusText}`);
}
const zipFile = await response.arrayBuffer();
+ this.transferProgress = 50;
await this.moveFileToTarget({
name: zip.name,
diff --git a/src/components/WebContentViewer.vue b/src/components/WebContentViewer.vue
index ed591cb..9389263 100644
--- a/src/components/WebContentViewer.vue
+++ b/src/components/WebContentViewer.vue
@@ -9,11 +9,8 @@
draggable="true" @dragstart="dragZip()">
diff --git a/src/output.css b/src/output.css
index d287891..241f194 100644
--- a/src/output.css
+++ b/src/output.css
@@ -934,6 +934,11 @@ video {
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
+.text-yellow-500 {
+ --tw-text-opacity: 1;
+ color: rgb(234 179 8 / var(--tw-text-opacity, 1));
+}
+
.shadow-lg {
--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);