vm-credentials.html 2.64 KB
Newer Older
tarokkk committed
1
{% load i18n %}
2
{% load staticfiles %}
tarokkk committed
3
{% get_current_language as LANGUAGE_CODE %}
Dányi Bence committed
4 5 6 7
<div class="content">
    <table>
        <tr>
            <th>{% trans "Protocol" %}:</th>
8
            <td>
Bence Dányi committed
9

10
                <div class="boxhelp">
Bence Dányi committed
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
                    <div class="help">
                        <div class="icon">
                            <img src="{% static "icons/information-frame.png" %}" alt="{% trans "Help" %}" />
                        </div>
                        <div class="boxhelp-box">
                            {% if i.template.os_type == 'linux' %}
                            <p>{% blocktrans %}You can access Linux machines through
                            the SSH protocol (we recommend
                            <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/">
                                PuTTY</a> for Windows and OpenSSH for all other systems).
                            {% endblocktrans %}</p>
                            {% if i.template.access_type == 'nx' %}
                            <p>{% blocktrans %}Graphical log in is also supported with
                            the <a href="http://www.nomachine.com/download.php">
                            NoMachine NX Client</a> application.{% endblocktrans %}</p>
                            {% endif %}
                            {% else %}
                            <p>{% blocktrans %}You can access Windows machines through
                            the remote desktop protocol.{% endblocktrans %}</p>
                            <p>{% blocktrans %}We recommend the built-in remote desktop
                            client for Windows and Remmina for Linux.{% endblocktrans %}</p>
                            {% endif %}
                        </div>
34 35 36 37
                    </div>
                </div>
                {{i.template.access_type|upper}}
            </td>
Dányi Bence committed
38
        </tr>
39
        <tr{% if i.is_ipv6 %} class="faded"{% endif %}>
40
            <th>{% trans "IPv4 Host" %}{% if i.is_ipv6 %} ({% trans "You are using IPv6" %}){% endif %}:</th>
41
            <td>{{ i.hostname_v4 }}<strong>:{{ i.port_v4 }}</strong></td>
Dányi Bence committed
42
        </tr>
43
        <tr{% if not i.is_ipv6 %} style="display: none"{% endif %}>
44
            <th>{% trans "IPv6 Host" %}{% if not i.is_ipv6 %} ({% trans "You are using IPv4" %}){% endif %}:</th>
45
            <td>{{ i.hostname_v6 }}<strong>:{{ i.port_v6 }}</strong></td>
46
        </tr>
Dányi Bence committed
47 48 49 50 51 52
        <tr>
            <th>{% trans "Username" %}:</th>
            <td>cloud</td>
        </tr>
        <tr>
            <th>{% trans "Password" %}:</th>
53
            <td><input type="password" class="hidden-password" value="{{ i.pw }}" /></td>
Dányi Bence committed
54 55 56
        </tr>
    </table>
</div>