Merge pull request 'Let the presenter resume a paused poll with the pause button' (#38) from fix/presenter-resume into main
CI / Deploy / test (push) Successful in 57s
CI / Deploy / deploy (push) Successful in 8s

Reviewed-on: #38
This commit was merged in pull request #38.
This commit is contained in:
gnilebein committed 2026-11-09 10:51:57 +01:00
commit e9e1159ad9
5 files changed
+52 -9

No files matched your search

+5 -3
View File
@@ -3,7 +3,7 @@
* Presenter screen. Rendered empty and filled by webroot/js/plenario.js
* (Plenario.presenter) from /admin/{token}/state.
*
* Keyboard: ←/→ slides, P pause (→ resumes), V voting on/off, H hide results, F fullscreen, Q QR code, T light/dark.
* Keyboard: ←/→ slides, P pause/resume (→ resumes too), V voting on/off, H hide results, F fullscreen, Q QR code, T light/dark.
* Q&A slides: V switches to the next stage; while discussing ←/→ step through the questions first.
*
* @var \App\View\AppView $this
@@ -50,8 +50,10 @@ $host = preg_replace('#^https?://#', '', $joinBaseUrl);
<button type="button" class="ctrl" data-action="next" aria-keyshortcuts="ArrowRight PageDown Space" title="<?= __('Nächste Folie (→ oder Leertaste)') ?>">
<span aria-hidden="true">→</span><span class="sr-only"><?= __('Nächste Folie') ?></span>
</button>
<button type="button" class="ctrl" data-action="stop" aria-keyshortcuts="P" title="<?= __('Pause: Teilnehmende sehen eine Pause-Seite (P)') ?>">
<span aria-hidden="true">⏸</span><span class="sr-only"><?= __('Pause') ?></span>
<button type="button" class="ctrl" data-action="stop" data-pause aria-keyshortcuts="P" title="<?= __('Pause: Teilnehmende sehen eine Pause-Seite (P)') ?>"
data-title-pause="<?= h(__('Pause: Teilnehmende sehen eine Pause-Seite (P)')) ?>"
data-title-resume="<?= h(__('Fortsetzen: pausierte Folie wieder zeigen (P)')) ?>">
<span aria-hidden="true" data-pause-icon>⏸</span><span class="sr-only" data-pause-label><?= __('Pause') ?></span>
<kbd class="ctrl__key" aria-hidden="true">[P]</kbd>
</button>
<button type="button" class="ctrl ctrl--wide" data-action="toggle" data-voting aria-keyshortcuts="V" title="<?= __('Abstimmung öffnen/schließen (V)') ?>">