зеркало из https://github.com/nextcloud/spreed.git
Use the same template for both cases
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Родитель
20c3e90712
Коммит
a649f269da
|
@ -248,7 +248,7 @@ class PageController extends Controller {
|
|||
'token' => $token,
|
||||
'signaling-settings' => $this->config->getSettings($this->userId),
|
||||
];
|
||||
$response = new PublicTemplateResponse($this->appName, 'index-public', $params);
|
||||
$response = new PublicTemplateResponse($this->appName, 'index', $params);
|
||||
$response->setFooterVisible(false);
|
||||
$csp = new ContentSecurityPolicy();
|
||||
$csp->addAllowedConnectDomain('*');
|
||||
|
|
|
@ -1,34 +0,0 @@
|
|||
<?php
|
||||
/** @var \OCP\IL10N $l */
|
||||
/** @var array $_ */
|
||||
|
||||
style('spreed', 'merged');
|
||||
script('spreed', 'merged-guest');
|
||||
?>
|
||||
|
||||
<div id="app" class="nc-enable-screensharing-extension" data-token="<?php p($_['token']) ?>">
|
||||
<script type="text/json" id="signaling-settings">
|
||||
<?php echo json_encode($_['signaling-settings']) ?>
|
||||
</script>
|
||||
</div>
|
||||
|
||||
<div id="app-content" class="participants-1">
|
||||
|
||||
<div id="app-content-wrapper">
|
||||
<button id="video-fullscreen" class="icon-fullscreen force-icon-white-in-call icon-shadow public" data-placement="bottom" data-toggle="tooltip" data-original-title="<?php p($l->t('Fullscreen (f)')) ?>"></button>
|
||||
|
||||
<div id="videos"></div>
|
||||
|
||||
<div id="screens"></div>
|
||||
|
||||
<div id="emptycontent">
|
||||
<div id="emptycontent-icon" class="icon-talk"></div>
|
||||
<h2><?php p($l->t('Join a conversation or start a new one')) ?></h2>
|
||||
<p class="emptycontent-additional"><?php p($l->t('Say hi to your friends and colleagues!')) ?></p>
|
||||
<div id="shareRoomContainer" class="" style="display: inline-flex">
|
||||
<input id="shareRoomInput" class="share-room-input hidden" readonly="readonly" type="text"/>
|
||||
<div id="shareRoomClipboardButton" class="shareRoomClipboard icon-clippy hidden" data-clipboard-target="#shareRoomInput"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -5,5 +5,6 @@
|
|||
script('spreed', 'talk');
|
||||
|
||||
style('spreed', 'merged');
|
||||
\OC::$server->getEventDispatcher()->dispatch('\OCP\Collaboration\Resources::loadAdditionalScripts');
|
||||
?>
|
||||
if ($_['user_uid'] !== '') {
|
||||
\OC::$server->getEventDispatcher()->dispatch('\OCP\Collaboration\Resources::loadAdditionalScripts');
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче