pull/56/head
Aidaho12 2018-10-02 11:07:07 +06:00
parent 082467ce50
commit 2772cd24f4
3 changed files with 39 additions and 33 deletions

View File

@ -240,17 +240,19 @@
</select> </select>
</td> </td>
<td> <td>
<select id="credentials-{{server.0}}"> <div class="controlgroup">
<option disabled selected>Choose credentials</option> <select id="credentials-{{server.0}}">
{% for ssh in sshs %} <option disabled selected>Choose credentials</option>
{% if ssh.0 == server.7 %} {% for ssh in sshs %}
<option value="{{ssh.0}}" selected>{{ssh.1}}</option> {% if ssh.0 == server.7 %}
{% else %} <option value="{{ssh.0}}" selected>{{ssh.1}}</option>
<option value="{{ssh.0}}">{{ssh.1}}</option> {% else %}
{% endif %} <option value="{{ssh.0}}">{{ssh.1}}</option>
{% endfor %} {% endif %}
</select> {% endfor %}
<button onclick="checkSshConnect('{{server.2}}')">Check SSH</button> </select>
<button onclick="checkSshConnect('{{server.2}}')" title="Check SSH connect to the server {{server.1}}">check</button>
</div>
</td> </td>
<td> <td>
{% if server.11 != "None" %} {% if server.11 != "None" %}

View File

@ -66,17 +66,19 @@
</select> </select>
</td> </td>
<td> <td>
<select id="credentials-{{server.0}}"> <div class="controlgroup">
<option value="0" selected>Choose credentials</option> <select id="credentials-{{server.0}}">
{% for ssh in sshs %} <option value="0" selected>Choose credentials</option>
{% if ssh.0 == server.7 %} {% for ssh in sshs %}
<option value="{{ssh.0}}" selected>{{ssh.1}}</option> {% if ssh.0 == server.7 %}
{% else %} <option value="{{ssh.0}}" selected>{{ssh.1}}</option>
<option value="{{ssh.0}}">{{ssh.1}}</option> {% else %}
{% endif %} <option value="{{ssh.0}}">{{ssh.1}}</option>
{% endfor %} {% endif %}
</select> {% endfor %}
<button onclick="checkSshConnect('{{server.2}}')">Check SSH</button> </select>
<button onclick="checkSshConnect('{{server.2}}')" title="Check SSH connect to the server {{server.1}}">check</button>
</div>
</td> </td>
<td> <td>
{% if server.11 != "None" %} {% if server.11 != "None" %}

View File

@ -165,17 +165,19 @@
</select> </select>
</td> </td>
<td> <td>
<select id="credentials-{{server.0}}"> <div class="controlgroup">
<option disabled selected>Choose credentials</option> <select id="credentials-{{server.0}}">
{% for ssh in sshs %} <option disabled selected>Choose credentials</option>
{% if ssh.0 == server.7 %} {% for ssh in sshs %}
<option value="{{ssh.0}}" selected>{{ssh.1}}</option> {% if ssh.0 == server.7 %}
{% else %} <option value="{{ssh.0}}" selected>{{ssh.1}}</option>
<option value="{{ssh.0}}">{{ssh.1}}</option> {% else %}
{% endif %} <option value="{{ssh.0}}">{{ssh.1}}</option>
{% endfor %} {% endif %}
</select> {% endfor %}
<button onclick="checkSshConnect('{{server.2}}')">Check SSH</button> </select>
<button onclick="checkSshConnect('{{server.2}}')" title="Check SSH connect to the server {{server.1}}">check</button>
</div>
</td> </td>
<td> <td>
{% if server.11 != "None" %} {% if server.11 != "None" %}