diff --git a/elastic/templates/elastic/upload.html b/elastic/templates/elastic/upload.html index e60eb28..a4a443e 100644 --- a/elastic/templates/elastic/upload.html +++ b/elastic/templates/elastic/upload.html @@ -43,17 +43,21 @@ .preview-box h3 {margin-top: 0;color: #334155; } .preview-box img { max-width: 100%;max-height: 300px;border: 1px solid #e2e8f0;border-radius: 8px;object-fit: contain;} .result-box {flex: 1;} - .result-box h3 { margin-top: 0; color: #334155;} - .form-controls { display: flex;gap: 8px;margin-bottom: 12px;flex-wrap: wrap;} - #kvForm {border: 1px solid #e2e8f0; border-radius: 8px; padding: 12px; max-height: 300px; overflow: auto;margin-bottom: 12px;background: white;} - .form-row {display: grid;grid-template-columns: 1fr 1fr auto;gap: 8px; margin-bottom: 6px; } - .form-row input {padding: 8px;border: 1px solid #cbd5e1;border-radius: 4px;} - #resultBox { width: 100%;min-height: 200px;font-family: ui-monospace, SFMono-Regular, Menlo, monospace;font-size: 14px; padding: 12px; border: 1px solid #e2e8f0; - border-radius: 8px; resize: vertical;box-sizing: border-box; } - .status-message { padding: 10px; margin: 10px 0; border-radius: 6px; display: none; } - .status-message.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; } - .status-message.error { background-color: #f8d7da;color: #721c24; border: 1px solid #f5c6cb; } - .action-buttons { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; } + .result-box h3 { margin-top: 0; color: #334155;} + .form-controls { display: flex;gap: 8px;margin-bottom: 12px;flex-wrap: wrap;} + #kvForm {border: 1px solid #e2e8f0; border-radius: 8px; padding: 12px; max-height: 300px; overflow: auto;margin-bottom: 12px;background: white;} + .form-row {display: grid;grid-template-columns: 1fr 1fr auto;gap: 8px; margin-bottom: 6px; } + .form-row input {padding: 8px;border: 1px solid #cbd5e1;border-radius: 4px;} + #resultBox { width: 100%;min-height: 200px;font-family: ui-monospace, SFMono-Regular, Menlo, monospace;font-size: 14px; padding: 12px; border: 1px solid #e2e8f0; + border-radius: 8px; resize: vertical;box-sizing: border-box; } + .status-message { padding: 10px; margin: 10px 0; border-radius: 6px; display: none; } + .status-message.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; } + .status-message.error { background-color: #f8d7da;color: #721c24; border: 1px solid #f5c6cb; } + .action-buttons { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; } + .progress {position: relative; height: 12px; background: #e2e8f0; border-radius: 8px; overflow: hidden;} + .progress-bar {height: 100%; width: 0; background: linear-gradient(90deg, #4f46e5 0%, #60a5fa 100%); transition: width .2s ease;} + .progress-wrap {display:none; margin-top: 8px;} + .progress-text {margin-top: 6px; font-size: 12px; color: #334155;}
@@ -90,6 +94,10 @@ +