Added new form for setting the nav Header

pull/134/head
Christoph Schmidt 2021-03-17 19:05:04 +01:00
parent 0968c0cfd3
commit 7ee897b2c5
1 changed files with 10 additions and 1 deletions

View File

@ -23,7 +23,16 @@ script('bbb', 'restrictions');
<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><?php p($l->t('Header Display Name')); ?></h3>
<p><?php p($l->t('Set the display name in the navigation bar.')); ?></p>
<form id="bbb-nav-name">
<input type="text" name="app.navigation.name" value="<?php p($_['app.navigation.name']); ?>" placeholder="<?php p($l->t('BBB')); ?>" autocomplete="off" required />
<input type="submit" value="<?php p($l->t('Save')); ?>" />
<div class="app-result"></div>
</form>
<h3><?php p($l->t('Community')); ?></h3>
<p><?php p($l->t('Are you enjoying this app? Give something back to the open source community.')); ?> <a href="https://github.com/sualko/cloud_bbb/blob/master/.github/contributing.md" target="_blank" rel="noopener noreferrer" class="button"><span class="heart"></span> <?php p($l->t('Checkout the contributor guide')); ?></a></p>