+
-
+
-
+
{{ file.type === 'directory' ? 'Dossier' : 'Fichier' }}
-
+
{{ file.type === 'directory' ? '-' : formatFileSize(file.size) }}
-
+
- Supprimer
+ {{ translate('delete') }}
-
+
- Editer
+ {{ translate('edit') }}
-
-
+
-
-
diff --git a/tailwind.config.js b/tailwind.config.js
index 717eeb9..f23c750 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -4,12 +4,14 @@ module.exports = {
"./src/**/*.{html,js,jsx,vue}", // Fichiers dans le dossier `src`
"./templates/**/*.{html,php}", // Fichiers dans le dossier `templates`
],
+ darkMode: ['selector', ':is([data-themes="dark"], [data-themes="dark-highcontrast"], [data-themes="default"])'],
theme: {
extend: {
colors: {
NcBlack: '#171717',
NcBlue: '#0072c3',
NcGray: '#212121',
+ NcWhite: '#ededed',
},
},
},
diff --git a/templates/index.php b/templates/index.php
index 3fec470..8fb371c 100644
--- a/templates/index.php
+++ b/templates/index.php
@@ -7,14 +7,14 @@ use OCP\Util;
Util::addScript(OCA\WebTransfer\AppInfo\Application::APP_ID, 'main');
$archiveUrl = isset($_['archiveUrl']) ? $_['archiveUrl'] : ''; // Valeur par défaut vide si non définie
-$token = isset($_['token']) ? $_['token'] : ''; // Valeur par défaut vide si non définie
+$mode = isset($_['mode']) ? $_['mode'] : '';
?>
diff --git a/webpack.js b/webpack.js
index bffcd82..7405c04 100644
--- a/webpack.js
+++ b/webpack.js
@@ -13,5 +13,4 @@ webpackConfig.module.rules.push({
type: 'asset/source',
})
-
module.exports = webpackConfig