kiosk
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user