added fogloiu di lavoro modals everywhere
This commit is contained in:
@@ -205,14 +205,27 @@ if ($matricePhoto) {
|
||||
<?php include __DIR__ . "/components/photo_buttons.php"; ?>
|
||||
</div>
|
||||
|
||||
<!-- 📎 FILE CORRELATI MATRICE -->
|
||||
<button type="button"
|
||||
class="qc-btn show-matrice-files"
|
||||
data-matrice-id="<?= (int)($r['matrice_id'] ?? 0) ?>"
|
||||
data-matrice-nome="<?= htmlspecialchars($r['matrice'] ?? '', ENT_QUOTES) ?>"
|
||||
title="File matrice">
|
||||
<i class="bi bi-paperclip"></i>
|
||||
</button>
|
||||
<div class="matrix-side-buttons"
|
||||
style="margin-left:auto; display:flex; gap:0.45rem; align-items:center;">
|
||||
|
||||
<!-- 📋 FOGLI DI LAVORO COLLEGATI -->
|
||||
<button type="button"
|
||||
class="qc-btn show-worksheets"
|
||||
data-id="<?= (int)($r['matrice_id'] ?? 0) ?>"
|
||||
data-nome="<?= htmlspecialchars($r['matrice'] ?? '', ENT_QUOTES) ?>"
|
||||
title="Fogli di lavoro collegati">
|
||||
<i class="bi bi-clipboard2-check"></i>
|
||||
</button>
|
||||
|
||||
<!-- 📎 FILE CORRELATI MATRICE -->
|
||||
<button type="button"
|
||||
class="qc-btn show-matrice-files"
|
||||
data-matrice-id="<?= (int)($r['matrice_id'] ?? 0) ?>"
|
||||
data-matrice-nome="<?= htmlspecialchars($r['matrice'] ?? '', ENT_QUOTES) ?>"
|
||||
title="File matrice">
|
||||
<i class="bi bi-paperclip"></i>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<!-- 🎯 UN BADGE PER OGNI STRUMENTO, SUBITO DOPO LE FOTO -->
|
||||
<?php foreach ($toolsArray as $toolName): ?>
|
||||
@@ -242,24 +255,50 @@ if ($matricePhoto) {
|
||||
|
||||
<?php else: ?>
|
||||
|
||||
<button class="action-btn start-btn" data-id="<?= $r['id'] ?>">AVVIA PRODUZIONE</button>
|
||||
<div class="photo-tools-row"
|
||||
style="margin-top:0.75rem; display:flex; flex-wrap:wrap; gap:0.6rem; align-items:center;">
|
||||
|
||||
<?php foreach ($toolsArray as $toolName): ?>
|
||||
<span class="badge tools-badge"
|
||||
style="
|
||||
display:inline-block;
|
||||
margin-left:0.5rem;
|
||||
background:#0d6efd;
|
||||
color:#ffffff;
|
||||
font-size:0.78rem;
|
||||
font-weight:600;
|
||||
border-radius:999px;
|
||||
padding:0.30rem 0.85rem;
|
||||
white-space:nowrap;
|
||||
">
|
||||
<?= htmlspecialchars($toolName) ?>
|
||||
</span>
|
||||
<?php endforeach; ?>
|
||||
<button class="action-btn start-btn" data-id="<?= $r['id'] ?>" style="flex:0 0 auto; min-width:240px;">
|
||||
AVVIA PRODUZIONE
|
||||
</button>
|
||||
|
||||
<?php foreach ($toolsArray as $toolName): ?>
|
||||
<span class="badge tools-badge"
|
||||
style="
|
||||
background:#0d6efd;
|
||||
color:#ffffff;
|
||||
font-size:0.78rem;
|
||||
font-weight:600;
|
||||
border-radius:999px;
|
||||
padding:0.30rem 0.85rem;
|
||||
white-space:nowrap;
|
||||
">
|
||||
<?= htmlspecialchars($toolName) ?>
|
||||
</span>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<div class="matrix-side-buttons"
|
||||
style="margin-left:auto; display:flex; gap:0.45rem; align-items:center;">
|
||||
|
||||
<!-- 📋 FOGLI DI LAVORO COLLEGATI -->
|
||||
<button type="button"
|
||||
class="qc-btn show-worksheets"
|
||||
data-id="<?= (int)($r['matrice_id'] ?? 0) ?>"
|
||||
data-nome="<?= htmlspecialchars($r['matrice'] ?? '', ENT_QUOTES) ?>"
|
||||
title="Fogli di lavoro collegati">
|
||||
<i class="bi bi-clipboard2-check"></i>
|
||||
</button>
|
||||
|
||||
<!-- 📎 FILE CORRELATI MATRICE -->
|
||||
<button type="button"
|
||||
class="qc-btn show-matrice-files"
|
||||
data-matrice-id="<?= (int)($r['matrice_id'] ?? 0) ?>"
|
||||
data-matrice-nome="<?= htmlspecialchars($r['matrice'] ?? '', ENT_QUOTES) ?>"
|
||||
title="File matrice">
|
||||
<i class="bi bi-paperclip"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user