Theme follows the system by default; the header switch cycles auto/light/dark and is stored per browser. The presenter has its own switch (T), dark by default. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
26 lines
868 B
PHP
26 lines
868 B
PHP
<?php
|
|
/**
|
|
* Full screen presenter layout (dark by default, own theme switch in the controls, no navigation).
|
|
*
|
|
* @var \App\View\AppView $this
|
|
*/
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<?= $this->Html->charset() ?>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="robots" content="noindex, nofollow">
|
|
<meta name="csrf-token" content="<?= h((string)$this->request->getAttribute('csrfToken')) ?>">
|
|
<title><?= h($this->fetch('title')) ?> · Plenario</title>
|
|
<?= $this->element('theme_init', ['key' => 'plenario-theme-present', 'fallback' => 'dark']) ?>
|
|
<?= $this->Html->meta('icon') ?>
|
|
<?= $this->Html->css(['normalize.min', 'plenario']) ?>
|
|
</head>
|
|
<body class="present">
|
|
<?= $this->fetch('content') ?>
|
|
<?= $this->Html->script('plenario') ?>
|
|
<?= $this->fetch('script') ?>
|
|
</body>
|
|
</html>
|