| 12345678910111213141516171819202122232425262728293031 |
- {% extends "base.html" %}
- {% block header_title %}List instances{% endblock %}
- {% block section_title %}List instances{% endblock %}
- {% block content %}
- {% if instances %}
- <table border="1" width="100%">
- <tr><th>alias</th><th>hostname</th><th>port</th><th>key</th><th>https</th><th>test connection</th></tr>
- {% for instance in instances %}
- <tr>
- <td>{{ instance.alias }}</td>
- <td>{{ instance.hostname }}</td>
- <td>{{ instance.port }}</td>
- <td>{{ instance.key }}</td>
- <td>{{ instance.https }}</td>
- <td><a href="{% url 'config:instance-conntry' instance.hostname %}">test</a></td>
- </tr>
- {% endfor %}
- </table>
- {% else %}
- <p>No instances.</p>
- {% endif %}
- {% endblock %}
|