Compare commits

...

2 Commits

Author SHA1 Message Date
f509c0c617 Better layout for the "tokens" input section of the connection box 2020-04-09 15:37:28 +02:00
c9e67781b4 Reinstanciated the token dialog of the mumble web interface as it is
really required to access protected channels.
2020-04-09 14:34:37 +02:00
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<br>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">