This commit is contained in:
Tomas Dvorak
2025-05-30 12:58:27 +02:00
parent 166edce67f
commit 67ea06ff38
+5 -3
View File
@@ -1179,8 +1179,8 @@
<label class="form-label fw-bold mb-2">Obrázek banneru</label>
<!-- Upload Box -->
<div id="dropArea" class="upload-box">
<input type="file" id="fileInput" accept="image/*" style="display: none;">
<div id="dragDropArea" class="upload-box">
<input type="file" id="bannerImage" accept="image/*" style="display: none;">
<!-- Upload Prompt -->
<div id="uploadPrompt" class="upload-prompt text-center p-4">
@@ -1189,11 +1189,13 @@
</div>
<h5 class="mb-2">Přetáhněte obrázek sem</h5>
<p class="text-muted small mb-3">Nebo</p>
<button type="button" class="btn btn-primary btn-sm" id="uploadBtn">
<button type="button" class="btn btn-primary btn-sm" id="uploadImageBtn">
<i class="fas fa-upload me-2"></i>Vybrat soubor
</button>
<p class="small text-muted mt-2 mb-0">Podporované formáty: JPG, PNG, GIF (max. 5MB)</p>
</div>
</div>
</div>
</form>
<div class="form-section">