This commit is contained in:
2026-10-21 10:03:59 +02:00
parent 76ed4d11ca
commit 5444ea943a
20 changed files with 7332 additions and 7 deletions
+12 -5
View File
@@ -81,10 +81,17 @@ if ($matricePhoto) {
</span>
</div>
<?php if (!empty($r['note_extra'])): ?>
<div>
<?php $descr = trim((string)($r['note_extra'] ?? '')); ?>
<?php if ($descr !== ''): ?>
<div class="descr-cell">
<strong>Descrizione</strong>
<span data-field="note_extra"><?= htmlspecialchars($r['note_extra']) ?></span>
<button type="button" class="descr-btn"
data-title="<?= htmlspecialchars($r['matrice'] ?? 'Descrizione', ENT_QUOTES) ?>"
data-descr="<?= htmlspecialchars($descr, ENT_QUOTES) ?>">
<i class="bi bi-card-text"></i>
<span><?= htmlspecialchars(strtok($descr, "\r\n")) ?></span>
<i class="bi bi-chevron-right" style="color:#94a3b8;font-size:1rem;"></i>
</button>
</div>
<?php endif; ?>
@@ -161,8 +168,8 @@ if ($matricePhoto) {
<?php if ($isInProduction || $isPaused): ?>
<div class="timer-display"
data-start="<?= $r['start_time'] ? strtotime($r['start_time']) : '' ?>"
data-end="<?= $r['end_time'] ? strtotime($r['end_time']) : '' ?>">
data-start="<?= $r['start_time'] ? strtotime($r['start_time'] . ' UTC') : '' ?>"
data-end="<?= $r['end_time'] ? strtotime($r['end_time'] . ' UTC') : '' ?>">
<span class="timer">00:00:00</span>
</div>