Files
Plenario/templates/layout/present.php
T
gnilebeinandClaude Opus 5.5 58145e9753
CI / Deploy / test (push) Successful in 46s
CI / Deploy / deploy (push) Skipped
Add light/dark theme switch
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>
2026-11-07 16:15:14 +01:00

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>