fixed photo
This commit is contained in:
parent
d9cbaf8df1
commit
4683c4f40c
@ -1259,6 +1259,47 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && !empty($_POST['action'])) {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- MODALE FOTO PRODUZIONE -->
|
||||
<div id="photoModal"
|
||||
style="display:none; position:fixed; top:0; left:0; width:100%; height:100%;
|
||||
background:rgba(0,0,0,0.65); z-index:99999; justify-content:center; align-items:center;">
|
||||
|
||||
<div class="modal-content"
|
||||
style="background:#fff; border-radius:10px; padding:20px; max-width:900px; width:95%; max-height:90vh; overflow-y:auto; position:relative;">
|
||||
|
||||
<!-- HEADER -->
|
||||
<div class="d-flex justify-content-between align-items-center mb-3">
|
||||
<h5 id="photoModalTitle" class="mb-0">Carica Foto</h5>
|
||||
<button type="button" id="photoModalCloseX" class="btn-close" aria-label="Close"></button>
|
||||
</div>
|
||||
|
||||
<!-- MESSAGGI -->
|
||||
<div id="photoMessageSuccess" class="alert alert-success d-none"></div>
|
||||
<div id="photoMessageError" class="alert alert-danger d-none"></div>
|
||||
|
||||
<!-- GALLERY FOTO ESISTENTI -->
|
||||
<div id="photoGallery" class="photo-gallery mb-3">
|
||||
<!-- riempita via JS -->
|
||||
</div>
|
||||
|
||||
<!-- FORM UPLOAD FOTO -->
|
||||
<form id="photoForm" method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" id="photoType" name="photo_type">
|
||||
<input type="hidden" id="photoProductionId" name="production_id">
|
||||
|
||||
<div class="mb-3">
|
||||
<label class="form-label">Aggiungi nuova foto</label>
|
||||
<input type="file" name="photo_file" class="form-control">
|
||||
</div>
|
||||
|
||||
<div class="text-end">
|
||||
<button type="button" class="btn btn-secondary me-2" id="photoCancel">Chiudi</button>
|
||||
<button type="submit" class="btn btn-primary">Carica</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user