update navbar

This commit is contained in:
2025-05-07 17:16:13 +02:00
parent 6bec7bca15
commit d033024363
24 changed files with 313 additions and 179 deletions
+5 -5
View File
@@ -73,13 +73,13 @@ $result->saveToFile($qrCodeFile);
?>
<div class="popup-content">
<h3>Gestione Foto</h3>
<p><strong>ID Riga:</strong> <?= htmlspecialchars($idriga) ?></p>
<h3>Manage Photos</h3>
<p><strong>ID Row:</strong> <?= htmlspecialchars($idriga) ?></p>
<p><strong>Sample Code:</strong> <?= htmlspecialchars($sampleCode) ?></p>
<!-- QR Code per il caricamento da mobile -->
<div style="text-align: center; margin-bottom: 20px;">
<p>Scansiona il QR code per caricare foto dal tuo telefono:</p>
<p>Scan the QR Code with the mobile to take photo with camera:</p>
<img src="../photostrf/qrcodes/qrcode_<?= $iddatadb ?>.png" alt="QR Code" style="max-width: 150px;">
<p style="margin-top: 10px;">
<a href="<?= htmlspecialchars($uploadUrl) ?>" target="_blank"><?= htmlspecialchars($uploadUrl) ?></a>
@@ -88,14 +88,14 @@ $result->saveToFile($qrCodeFile);
<!-- Area drag-and-drop per il caricamento delle foto -->
<div id="dropArea" style="border: 2px dashed #ccc; padding: 20px; text-align: center; margin-bottom: 20px;">
<p>Trascina qui le foto o clicca per selezionarle</p>
<p>Drag the photo here or click to select</p>
<input type="file" id="photoInput" multiple accept="image/*" style="display: none;">
</div>
<!-- Elenco delle foto -->
<div id="photosList">
<?php if (empty($photos)): ?>
<p>Nessuna foto presente.</p>
<p>No Photos present.</p>
<?php else: ?>
<?php foreach ($photos as $photo): ?>
<?php