cloud_bbb/templates/admin.php

31 lines
1.1 KiB
PHP
Raw Permalink Normal View History

2020-04-26 11:36:41 +02:00
<?php
/** @var $l \OCP\IL10N */
/** @var $_ array */
2020-04-26 13:26:34 +02:00
script('bbb', 'admin');
script('bbb', 'restrictions');
2020-04-26 11:36:41 +02:00
?>
2020-04-26 13:26:34 +02:00
<div id="bbb-settings" class="section">
2020-04-26 11:36:41 +02:00
<h2>BigBlueButton</h2>
<p><?php p($l->t('Get your API URL and secret by executing "sudo bbb-conf --secret" on your BigBlueButton server.')); ?></p>
2020-04-26 11:36:41 +02:00
<form>
<input type="url" name="api.url" value="<?php p($_['api.url']); ?>" placeholder="<?php p($l->t('API URL')); ?>" pattern="https://.*" required />
<input type="password" name="api.secret" value="<?php p($_['api.secret']); ?>" placeholder="<?php p($l->t('API secret')); ?>" autocomplete="new-password" required />
2020-04-26 11:36:41 +02:00
<input type="submit" value="<?php p($l->t('Save')); ?>" />
<div id="bbb-result"></div>
2020-04-26 11:36:41 +02:00
</form>
<p>
<input type="checkbox" name="app.navigation" id="bbb-app-navigation" class="checkbox" value="1" <?php p($_['app.navigation']); ?> />
<label for="bbb-app-navigation"><?php p($l->t('Show room manager in app navigation instead of settings page.')); ?></label>
</p>
<h3>Restrictions</h3>
<div id="bbb-restrictions">
</div>
</div>