@extends('layouts.dashboard') @section('content') @php /** * Admin → Design templates → slideshow TEMPLATE form (create + edit). A slideshow * template links the platform's board templates into one rotation — picked by * clicking them in play order, exactly like the vendor's slideshow form — and is * saved as a tv_screen template row vendors apply from their gallery: applying it * copies every member board into their restaurant and links the copies. Preview * plays the CURRENT selection full screen before anything is saved. * * @var array $boards [['id' => …, 'name' => …, 'url' => …], …] board templates only * @var array|null $tpl the slideshow template being edited (null = creating) * @var array $playlist ['screens' => [ids], 'transition' => …, 'seconds' => …] */ $boards = $boards ?? []; $tpl = $tpl ?? null; $playlist = $playlist ?? ['screens' => [], 'transition' => 'fade', 'seconds' => 8]; $chosen = array_map('intval', $playlist['screens'] ?? []); @endphp @php /* .qm-d2: the dashboard density standard (app.css §35) */ @endphp
{{ t_raw('vendor.screens.show_sub') }}