Slide list actions (hide, delete, reset, duplicate, go live, pause) now run via fetch and refresh only the changed regions, keeping scroll position and focus. Add/edit slide forms open in a dialog. Admin pages answer with a slim fragment layout when the X-Fragment header is sent. Replace postLink confirms (inline onclick, blocked by the CSP) with postButton and data-confirm handled in plenario.js. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
11 lines
344 B
PHP
11 lines
344 B
PHP
<?php
|
|
/**
|
|
* Layout for admin fragments (header "X-Fragment"): only the page content and the flash messages,
|
|
* which plenario.js merges into the open page (see [data-refresh] regions) or shows in the dialog.
|
|
*
|
|
* @var \App\View\AppView $this
|
|
*/
|
|
?>
|
|
<div data-refresh="flash"><?= $this->Flash->render() ?></div>
|
|
<?= $this->fetch('content') ?>
|