@php /** * "Put this screen on a TV" — THE pairing panel, shared by the board editor and the * slideshow form so the two can never drift apart: a framed QR tile (the /tv/play * address rides under it as a readable link), the panel heading + hint, the TVs * already paired to this row, and the code + name + Pair form. Styles live in * app.css (.qm-tvpair…), the QR renders itself (script below, guarded so a page * that already drew it — tv-editor.js also knows how — never draws it twice). * * @var int $sid the screen row the TVs bind to * @var array $devices TVs currently paired to it * @var string $playUrl the public /tv/play connect address */ @endphp

{{ t_raw('vendor.screens.pair_title') }}

{{ t_raw('vendor.screens.pair_hint') }}

@if (count($devices))
@foreach ($devices as $d) @php $online = !empty($d['last_seen_at']) && (time() - strtotime((string) $d['last_seen_at']) < 120); @endphp {{ $d['label'] ?: t('vendor.screens.a_tv') }}
@csrf
@endforeach
@endif
@csrf