move user and pass before token

This commit is contained in:
encrypt 2020-03-26 22:04:11 +01:00
parent da7a811dc9
commit 90b1222473

View file

@ -40,6 +40,14 @@
<td>Port</td> <td>Port</td>
<td><input id="port" type="text" data-bind="value: port" required></td> <td><input id="port" type="text" data-bind="value: port" required></td>
</tr> </tr>
<tr data-bind="if: $root.config.connectDialog.username">
<td>Username</td>
<td><input id="username" type="text" data-bind="value: username" required></td>
</tr>
<tr data-bind="if: $root.config.connectDialog.password">
<td>Password</td>
<td><input id="password" type="password" data-bind="value: password"></td>
</tr>
<tr data-bind="if: $root.config.connectDialog.token"> <tr data-bind="if: $root.config.connectDialog.token">
<td>Tokens</td> <td>Tokens</td>
<td> <td>
@ -57,14 +65,6 @@
<td></td> <td></td>
<td><select id="token" multiple="multiple" height="5" data-bind="options:tokens, selectedOptions:selectedTokens"></select></td> <td><select id="token" multiple="multiple" height="5" data-bind="options:tokens, selectedOptions:selectedTokens"></select></td>
</tr> </tr>
<tr data-bind="if: $root.config.connectDialog.username">
<td>Username</td>
<td><input id="username" type="text" data-bind="value: username" required></td>
</tr>
<tr data-bind="if: $root.config.connectDialog.password">
<td>Password</td>
<td><input id="password" type="password" data-bind="value: password"></td>
</tr>
<tr data-bind="if: $root.config.connectDialog.channelName"> <tr data-bind="if: $root.config.connectDialog.channelName">
<td>Channel</td> <td>Channel</td>
<td><input id="channelName" type="text" data-bind="value: channelName"></td> <td><input id="channelName" type="text" data-bind="value: channelName"></td>