diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2020-03-27 08:31:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-27 08:31:57 +0100 |
commit | 9b7846dd766b00ab5f2d81353a9a3e955e83cab2 (patch) | |
tree | 36ab0274c9018c1900b0f7b1dc9678d915c77615 /templates/settings/admin-settings.php | |
parent | c0526d387854b937b23b60981b728ed26eb89104 (diff) | |
parent | e5c9b76362dac154ca5039321edc5439577a1349 (diff) |
Merge pull request #3161 from nextcloud/techdebt/noid/combine-admin-settings
Combine the admin settings into one JS file so we watch less resources
Diffstat (limited to 'templates/settings/admin-settings.php')
-rw-r--r-- | templates/settings/admin-settings.php | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/templates/settings/admin-settings.php b/templates/settings/admin-settings.php new file mode 100644 index 000000000..f0a1d997b --- /dev/null +++ b/templates/settings/admin-settings.php @@ -0,0 +1,58 @@ +<?php +/** @var array $_ */ +/** @var \OCP\IL10N $l */ +script('spreed', ['admin-settings']); +style('spreed', ['settings-admin']); +?> + +<div id="admin_settings"> + <div class="videocalls section" id="general_settings"> + <h2><?php p($l->t('General settings')) ?></h2> + </div> + + <div class="videocalls section" id="allowed_groups"> + <h2><?php p($l->t('Limit to groups')) ?></h2> + <p class="settings-hint"><?php p($l->t('When at least one group is selected, only people of the listed groups can be part of conversations.')); ?></p> + <p class="settings-hint"><?php p($l->t('Guests can still join public conversations.')); ?></p> + <p class="settings-hint"><?php p($l->t('Users that can not use Talk anymore will still be listed as participants in their previous conversations and also their chat messages will be kept.')); ?></p> + </div> + + <div class="videocalls section" id="chat_commands"> + <h2><?php p($l->t('Commands')) ?></h2> + <p class="settings-hint"><?php p($l->t('Specify commands the users can use in chats')); ?></p> + + <div class="commands"> + </div> + </div> + + <div id="stun_server" class="videocalls section"> + <h2><?php p($l->t('STUN servers')) ?></h2> + <p class="settings-hint"><?php p($l->t('A STUN server is used to determine the public IP address of participants behind a router.')); ?></p> + + <div class="stun-servers"> + </div> + </div> + + <div id="turn_server" class="videocalls section"> + <h2><?php p($l->t('TURN server')) ?></h2> + <p class="settings-hint"><?php p($l->t('The TURN server is used to proxy the traffic from participants behind a firewall.')); ?></p> + + <div class="turn-servers"> + </div> + </div> + + <div id="signaling_server" class="videocalls section"> + <h2><?php p($l->t('Signaling servers')) ?></h2> + <p class="settings-hint"><?php p($l->t('An external signaling server can optionally be used for larger installations. Leave empty to use the internal signaling server.')) ?></p> + + <div class="signaling-servers"> + </div> + + <div class="signaling-secret"> + <h4><?php p($l->t('Shared secret')) ?></h4> + <input type="text" id="signaling_secret" + name="signaling_secret" placeholder="<?php p($l->t('Shared secret')) ?>" aria-label="<?php p($l->t('Shared secret')) ?>"/> + </div> + </div> + +</div> |