1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 15:15:22 +00:00

Convert settings of VNC to Console

This commit is contained in:
catborise 2019-04-29 16:10:49 +03:00
parent 30e1f0eb2d
commit cb81505b05

View file

@ -269,7 +269,7 @@
<button type="button" class="btn btn-lg btn-success " onclick="open_console('lite')">Console</button> <button type="button" class="btn btn-lg btn-success " onclick="open_console('lite')">Console</button>
<button type="button" class="btn btn-lg btn-success dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <button type="button" class="btn btn-lg btn-success dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="caret"></span> <span class="caret"></span>
<span class="sr-only">Toggle Dropdown</span> <span class="sr-only">{% trans 'Toggle Dropdown' %}</span>
</button> </button>
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li><a href="#" title="Console port: {{ console_port }}" onclick="open_console('lite')">{% trans "Console - Lite" %}</a></li> <li><a href="#" title="Console port: {{ console_port }}" onclick="open_console('lite')">{% trans "Console - Lite" %}</a></li>
@ -540,7 +540,7 @@
{% if request.user.is_superuser or request.user.is_staff or userinstance.is_vnc %} {% if request.user.is_superuser or request.user.is_staff or userinstance.is_vnc %}
<li role="presentation"> <li role="presentation">
<a href="#vncsettings" aria-controls="vncsettings" role="tab" data-toggle="tab"> <a href="#vncsettings" aria-controls="vncsettings" role="tab" data-toggle="tab">
{% trans "VNC" %} {% trans "Console" %}
</a> </a>
</li> </li>
{% endif %} {% endif %}