Add initial Plenario live polling app
CI / Deploy / test (push) Successful in 49s
CI / Deploy / deploy (push) Failing after 5s

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:
gnilebeinandClaude Opus 5.5 committed 2026-11-07 13:24:29 +01:00
commit eb319f8c1e
120 files changed
+15572

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
<?php
/**
* Confirmation after creating a poll.
*
* @var \App\View\AppView $this
* @var array{email: string, title: string, mailSent: bool, adminUrl: string|null} $created
*/
$this->assign('title', __('Umfrage erstellt'));
$this->assign('noindex', '1');
?>
<section class="card card--narrow center">
<div class="icon-circle" aria-hidden="true">✉</div>
<h1><?= __('Fast geschafft!') ?></h1>
<?php if ($created['mailSent']) : ?>
<p class="lead"><?= __('Wir haben den Admin-Link für „{0}“ an <strong>{1}</strong> geschickt.', h($created['title']), h($created['email'])) ?></p>
<p><?= __('Öffne die E-Mail und klicke auf den Link, um Fragen anzulegen. Schau ggf. auch im Spam-Ordner nach.') ?></p>
<?php else : ?>
<p class="lead"><?= __('Die Umfrage wurde angelegt, aber die E-Mail an {0} konnte nicht verschickt werden.', h($created['email'])) ?></p>
<p><?= __('Versuche es später über „Admin-Link verloren?“ erneut.') ?></p>
<?php endif; ?>
<?php if (!empty($created['adminUrl'])) : ?>
<div class="devnote">
<strong><?= __('Entwicklungsmodus') ?></strong>
<p><?= __('Admin-Link direkt (nur sichtbar, weil showAdminLinkAfterCreate aktiv ist):') ?></p>
<a class="button button--primary" href="<?= h($created['adminUrl']) ?>"><?= __('Zur Verwaltung') ?></a>
</div>
<?php endif; ?>
</section>