upgrade matrice with files

This commit is contained in:
2026-03-19 16:16:41 +01:00
parent 245750f057
commit f043b43791
28 changed files with 4028 additions and 358 deletions
+17 -8
View File
@@ -205,18 +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>
<!-- 🎯 UN BADGE PER OGNI STRUMENTO, SUBITO DOPO LE FOTO -->
<?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;
">
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; ?>