diff --git a/src/network/html/FilesPage.html b/src/network/html/FilesPage.html index 08c0a0be..3bff3f9b 100644 --- a/src/network/html/FilesPage.html +++ b/src/network/html/FilesPage.html @@ -297,6 +297,28 @@ font-size: 0.9em; color: #7f8c8d; } + #delete-progress-container { + margin-top: 15px; + } + #delete-progress-bar { + width: 100%; + height: 20px; + background-color: #e0e0e0; + border-radius: 10px; + overflow: hidden; + } + #delete-progress-fill { + height: 100%; + background-color: #e74c3c; + width: 0%; + transition: width 0.3s; + } + #delete-progress-text { + text-align: center; + margin-top: 5px; + font-size: 0.9em; + color: #7f8c8d; + } .folder-form { margin-top: 10px; } @@ -435,6 +457,28 @@ font-weight: 600; color: #2c3e50; word-break: break-all; + padding: 10px; + background-color: #f8f9fa; + border-radius: 4px; + margin: 10px 0; + border: 1px solid #e0e0e0; + } + .delete-items-list { + max-height: 200px; + overflow-y: auto; + padding: 10px; + background-color: #f8f9fa; + border-radius: 4px; + margin: 10px 0; + border: 1px solid #e0e0e0; + } + .delete-items-list-item { + padding: 8px 5px; + border-bottom: 1px solid #e0e0e0; + color: #2c3e50; + } + .delete-items-list-item:last-child { + border-bottom: none; } .delete-btn-confirm { background-color: #e74c3c; @@ -463,6 +507,37 @@ .delete-btn-cancel:hover { background-color: #7f8c8d; } + /* Checkbox styles */ + .checkbox-col { + width: 40px; + text-align: center; + } + .file-checkbox { + width: 18px; + height: 18px; + cursor: pointer; + } + .select-all-checkbox { + width: 18px; + height: 18px; + cursor: pointer; + } + .delete-selected-btn { + background-color: #e74c3c; + color: white; + padding: 10px 20px; + border: none; + border-radius: 4px; + cursor: pointer; + font-size: 1em; + } + .delete-selected-btn:hover { + background-color: #c0392b; + } + .delete-selected-btn:disabled { + background-color: #95a5a6; + cursor: not-allowed; + } .loader-container { display: flex; justify-content: center; @@ -560,6 +635,14 @@ .actions-col { width: 40px; } + .checkbox-col { + width: 30px; + } + .file-checkbox, + .select-all-checkbox { + width: 16px; + height: 16px; + } .delete-btn { font-size: 1em; padding: 2px 4px; @@ -586,6 +669,7 @@
@@ -652,11 +736,12 @@