Add initial Plenario live polling app
CakePHP 5.4 app for live polls: create via email without login, manage via secret admin link, join via code. Includes slide types (choice, wordcloud, open, scale, content), presenter mode, CSV export, captcha, throttling, tests and Gitea CI/deploy workflow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
eb319f8c1e
120 files changed
+15572
No files matched your search
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
/**
|
||||
* Default layout for public, participant and admin pages.
|
||||
*
|
||||
* @var \App\View\AppView $this
|
||||
*/
|
||||
$title = $this->fetch('title');
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<?= $this->Html->charset() ?>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="csrf-token" content="<?= h((string)$this->request->getAttribute('csrfToken')) ?>">
|
||||
<?php if ($this->fetch('noindex')) : ?>
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
<?php endif; ?>
|
||||
<title><?= $title ? h($title) . ' · ' : '' ?>Plenario</title>
|
||||
<?= $this->Html->meta('icon') ?>
|
||||
<?= $this->Html->css(['normalize.min', 'plenario']) ?>
|
||||
<?= $this->fetch('meta') ?>
|
||||
<?= $this->fetch('css') ?>
|
||||
</head>
|
||||
<body class="<?= h($this->fetch('bodyClass')) ?>">
|
||||
<header class="site-header">
|
||||
<div class="container site-header__inner">
|
||||
<a class="brand" href="<?= $this->Url->build(['_name' => 'home']) ?>">
|
||||
<span class="brand__mark" aria-hidden="true"></span>Plenario
|
||||
</a>
|
||||
<nav class="site-nav">
|
||||
<a href="<?= $this->Url->build(['_name' => 'join']) ?>"><?= __('Teilnehmen') ?></a>
|
||||
<a href="<?= $this->Url->build(['_name' => 'recover']) ?>"><?= __('Admin-Link verloren?') ?></a>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
<main class="container main">
|
||||
<?= $this->Flash->render() ?>
|
||||
<?= $this->fetch('content') ?>
|
||||
</main>
|
||||
<footer class="site-footer container">
|
||||
<span>Plenario – <?= __('Live-Umfragen ohne Login') ?></span>
|
||||
</footer>
|
||||
<?= $this->Html->script('plenario') ?>
|
||||
<?= $this->fetch('script') ?>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user