From 1d977912378399ccc0e43301aad60091299393d8 Mon Sep 17 00:00:00 2001 From: Dicken Date: Tue, 23 Jun 2026 23:52:32 +0200 Subject: [PATCH] =?UTF-8?q?Fortschrittsanzeige=20beim=20Upload=20(Dateien-?= =?UTF-8?q?Tool=20+=20=C3=B6ffentliche=20Upload-Seite),=20Drag&Drop=20auf?= =?UTF-8?q?=20Upload-Seite=20erg=C3=A4nzt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/upload-page.html | 96 ++++++++++++++++++++++++++-------- frontend/src/lib.js | 29 ++++++++++ frontend/src/tools/dateien.jsx | 18 +++++-- 3 files changed, 115 insertions(+), 28 deletions(-) diff --git a/backend/upload-page.html b/backend/upload-page.html index 832db7d..bf129d6 100644 --- a/backend/upload-page.html +++ b/backend/upload-page.html @@ -28,8 +28,14 @@ .done-list li{padding:2px 0;list-style:none} .done-list li::before{content:'βœ“ ';color:#4ecdc4} #progress{height:4px;background:rgba(78,205,196,0.15);border-radius:2px;margin-top:10px;overflow:hidden} - #progress-bar{height:100%;background:#4ecdc4;width:0;transition:width 0.3s} + #progress-bar{height:100%;background:#4ecdc4;width:0;transition:width 0.15s} + #progress-label{font-size:11px;color:rgba(255,255,255,0.4);margin-top:4px;font-family:monospace;min-height:14px} .attempts{color:#ffe66d;font-size:11px;margin-top:6px;font-family:monospace} + #drop-zone{border:2px dashed rgba(255,255,255,0.15);border-radius:10px;padding:18px 12px;text-align:center; + color:rgba(255,255,255,0.45);font-size:12px;cursor:pointer;transition:all 0.15s;margin-bottom:4px} + #drop-zone.drag{border-color:#4ecdc4;background:rgba(78,205,196,0.08);color:#4ecdc4} + #file-input{display:none} + #file-label{display:block;font-size:12px;color:rgba(255,255,255,0.55);margin-top:6px;word-break:break-all} @@ -49,8 +55,11 @@