vm-credentials.html 2.17 KB
Newer Older
tarokkk committed
1 2
{% load i18n %}
{% get_current_language as LANGUAGE_CODE %}
Dányi Bence committed
3 4 5 6
<div class="content">
    <table>
        <tr>
            <th>{% trans "Protocol" %}:</th>
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
            <td>
                
                <div class="boxhelp">
                    <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>
                </div>
                {{i.template.access_type|upper}}
            </td>
Dányi Bence committed
35 36 37
        </tr>
        <tr>
            <th>{% trans "IP" %}:</th>
38
            <td>{{ i.hostname }}</td>
Dányi Bence committed
39 40 41
        </tr>
        <tr>
            <th>{% trans "Port" %}:</th>
42
            <td>{{ i.port}}</td>
Dányi Bence committed
43 44 45 46 47 48 49
        </tr>
        <tr>
            <th>{% trans "Username" %}:</th>
            <td>cloud</td>
        </tr>
        <tr>
            <th>{% trans "Password" %}:</th>
50
            <td><input type="password" class="hidden-password" value="{{ i.pw }}" /></td>
Dányi Bence committed
51 52 53
        </tr>
    </table>
</div>