Merge pull request 'Feature/presenter notes' (#94) from feature/presenter-notes into main
Reviewed-on: #94
This commit was merged in pull request #94.
This commit is contained in:
commit
59ce3e3e10
5 files changed
+80
-11
No files matched your search
@@ -35,10 +35,20 @@ $hasInternal = array_filter($slides, fn($slide) => !$slide->is_hidden && $slide-
|
||||
</p>
|
||||
</div>
|
||||
<div class="admin-head__actions">
|
||||
<a class="button button--primary" target="_blank" rel="noopener"
|
||||
href="<?= $this->Url->build($url('admin:present')) ?>">▶ <?= __('Präsentieren') ?></a>
|
||||
<a class="button" target="_blank" rel="noopener" href="<?= $this->Url->build($url('admin:speaker')) ?>"
|
||||
title="<?= h(__('Eigenes Fenster für den Präsentierenden: aktuelle und nächste Folie, ohne die Präsentation zu starten')) ?>">⧉ <?= __('Referentenansicht') ?></a>
|
||||
<div class="split">
|
||||
<a class="button button--primary split__main" target="_blank" rel="noopener"
|
||||
href="<?= $this->Url->build($url('admin:present')) ?>">▶ <?= __('Präsentieren') ?></a>
|
||||
<button type="button" class="button button--primary split__toggle" data-menu-toggle aria-haspopup="true" aria-expanded="false"
|
||||
aria-controls="present-menu" title="<?= h(__('Weitere Ansichten')) ?>">
|
||||
<span aria-hidden="true">▾</span><span class="sr-only"><?= __('Weitere Ansichten') ?></span>
|
||||
</button>
|
||||
<div class="split__menu" id="present-menu" data-menu hidden>
|
||||
<a class="split__item" target="_blank" rel="noopener" href="<?= $this->Url->build($url('admin:speaker')) ?>">
|
||||
⧉ <?= __('Referentenansicht') ?>
|
||||
<small><?= __('Aktuelle und nächste Folie im eigenen Fenster, startet die Präsentation nicht') ?></small>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php if ($poll->current_slide_id !== null) : ?>
|
||||
<?= $this->Form->postButton('⏸ ' . __('Pause'), $url('admin:control'), [
|
||||
'data' => ['action' => 'stop'],
|
||||
@@ -314,10 +324,10 @@ $hasInternal = array_filter($slides, fn($slide) => !$slide->is_hidden && $slide-
|
||||
'label' => __('Vorab eingetragene Fragen (Fragen & Antworten) behalten'),
|
||||
]) ?>
|
||||
<?php endif; ?>
|
||||
<?= $this->Form->button($responseCounts !== [] ? __('Alle Antworten löschen') : __('Umfrage zurücksetzen'), [
|
||||
<?= $this->Form->button(__('Umfrage zurücksetzen'), [
|
||||
'class' => 'button button--small button--danger',
|
||||
'data-confirm' => $responseCounts !== []
|
||||
? __('Alle Antworten aller Folien unwiderruflich löschen?')
|
||||
? __('Umfrage zurücksetzen? Alle Antworten aller Folien werden unwiderruflich gelöscht und die Präsentation wird auf „nicht gestartet“ gestellt.')
|
||||
: __('Alle Folien zurücksetzen und die Präsentation auf „nicht gestartet“ stellen?'),
|
||||
]) ?>
|
||||
<?= $this->Form->end() ?>
|
||||
|
||||
@@ -37,6 +37,9 @@ $host = preg_replace('#^https?://#', '', $joinBaseUrl);
|
||||
</header>
|
||||
|
||||
<main class="stage__main">
|
||||
<?php if ($speaker) : ?>
|
||||
<p class="stage__label"><?= __('Aktuelle Folie') ?></p>
|
||||
<?php endif; ?>
|
||||
<p class="stage__status" data-status></p>
|
||||
<h1 class="stage__question" data-question><?= __('Lade …') ?></h1>
|
||||
<div class="stage__description formatted" data-description></div>
|
||||
@@ -47,7 +50,7 @@ $host = preg_replace('#^https?://#', '', $joinBaseUrl);
|
||||
|
||||
<?php if ($speaker) : ?>
|
||||
<aside class="stage__next" data-next aria-label="<?= h(__('Nächste Folie')) ?>">
|
||||
<p class="stage__next-label"><?= __('Als Nächstes') ?> <span data-next-meta></span></p>
|
||||
<p class="stage__label stage__next-label"><?= __('Als Nächstes') ?> <span data-next-meta></span></p>
|
||||
<h2 class="stage__next-question" data-next-question></h2>
|
||||
<div class="stage__next-description formatted" data-next-description></div>
|
||||
<ul class="stage__next-options" data-next-options></ul>
|
||||
|
||||
Reference in new issue
Block a user