Reinstanciated the token dialog of the mumble web interface as it is

really required to access protected channels.
This commit is contained in:
Laurent Poujoulat 2020-04-09 14:34:37 +02:00 committed by root
parent 053e2760d0
commit c9e67781b4
2 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ config.defaults.address = 'mumble.chapril.org/ws';
config.connectDialog.address = false;
config.connectDialog.port = false;
config.connectDialog.token = false;
config.connectDialog.token = true;
config.connectDialog.password = false;
config.connectDialog.channelName = false;

View File

@ -45,7 +45,7 @@
<td><input id="password" type="password" data-bind="value: password"></td>
</tr>
<tr data-bind="if: $root.config.connectDialog.token">
<td>Tokens</td>
<td><small>Mot de passe de canal</small><br><small><small>(optionnel, uniquement pour accéder aux canaux réservés)</small></small></td>
<td>
<input type="text" data-bind='value: tokenToAdd, valueUpdate: "afterkeydown"'>
</td>
@ -53,8 +53,8 @@
<tr data-bind="if: $root.config.connectDialog.token">
<td></td>
<td>
<button class="dialog-submit" type="button" data-bind="enable: selectedTokens().length > 0, click: removeSelectedTokens()">Supprimer</button>
<button class="dialog-submit" type="button" data-bind="enable: tokenToAdd().length > 0, click: addToken()">Ajouter</button>
<button class="dialog-submit" type="button" data-bind="enable: selectedTokens().length > 0, click: removeSelectedTokens()"><small><small>Supprimer</small></small></button>
<button class="dialog-submit" type="button" data-bind="enable: tokenToAdd().length > 0, click: addToken()"><small><small>Ajouter</small></small></button>
</td>
</tr>
<tr data-bind="if: $root.config.connectDialog.token, visible: tokens().length > 0">