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
+6 -6
View File
@@ -447,7 +447,7 @@ foreach ($stmt->fetchAll(PDO::FETCH_ASSOC) as $row) {
text-decoration: none;
}
</style>
<title>Modifica Dati Importati - <?= htmlspecialchars($titlewebsite, ENT_QUOTES, 'UTF-8'); ?></title>
<title>Edit Imported Data - <?= htmlspecialchars($titlewebsite, ENT_QUOTES, 'UTF-8'); ?></title>
</head>
<body>
@@ -513,7 +513,7 @@ foreach ($stmt->fetchAll(PDO::FETCH_ASSOC) as $row) {
<!-- Header della tabella -->
<div class="grid-row">
<div class="grid-header" style="flex: 0 0 100px;">Salva</div>
<div class="grid-header" style="flex: 0 0 100px;">Save</div>
<div class="grid-header" style="flex: 0 0 100px;">Photos</div> <!-- Nuova colonna Photos -->
<?php
$headerIndex = 0;
@@ -561,7 +561,7 @@ foreach ($stmt->fetchAll(PDO::FETCH_ASSOC) as $row) {
<input type="hidden" name="rows[<?= $index ?>][<?= $col ?>]" value="<?= htmlspecialchars($value ?? '') ?>">
<?php elseif ($col === 'status'): ?>
<span class="status-display status-<?= htmlspecialchars($value ?? 'i') ?>">
<?= htmlspecialchars($value === 'i' ? 'Importato' : ($value === 'P' ? 'Progress' : 'LIMS')) ?>
<?= htmlspecialchars($value === 'i' ? 'Imported' : ($value === 'P' ? 'Progress' : 'LIMS')) ?>
</span>
<input type="hidden" name="rows[<?= $index ?>][<?= $col ?>]" value="<?= htmlspecialchars($value ?? 'i') ?>">
<?php elseif ($col === 'user_id'): ?>
@@ -618,7 +618,7 @@ foreach ($stmt->fetchAll(PDO::FETCH_ASSOC) as $row) {
<button type="button" class="go-btn" data-row="<?= $index ?>" style="width: 15%;"><i class="fas fa-play"></i> </button>
</div>
<div class="grid-cell tracking-info" data-row="<?= $index ?>" style="flex: 0 0 250px;">
<span class="tracking-result">Data e corriere qui</span>
<span class="tracking-result">Shipment Info</span>
<input type="hidden" name="rows[<?= $index ?>][tracking_info]" class="tracking-hidden">
</div>
</div>
@@ -632,7 +632,7 @@ foreach ($stmt->fetchAll(PDO::FETCH_ASSOC) as $row) {
<span class="close-btn">×</span>
<div id="popupContent">
<!-- Il contenuto verrà caricato dinamicamente -->
<p>Caricamento...</p>
<p>Loading...</p>
</div>
</div>
</div>
@@ -983,7 +983,7 @@ foreach ($stmt->fetchAll(PDO::FETCH_ASSOC) as $row) {
throw new Error(result.message);
}
const trackingText = `Data: ${result.deliveryDate}, Firmatario: ${result.signedBy}, Corriere: ${result.carrierName}`;
const trackingText = `Date: ${result.deliveryDate}, Signed by: ${result.signedBy}, Courier: ${result.carrierName}`;
trackingResult.textContent = trackingText;
trackingHidden.value = JSON.stringify({
deliveryDate: result.deliveryDate,