mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
(cherry picked from commit 896f8fe2f0d0ff30246ef244944874873893fd88)
This commit is contained in:
parent
e3a89e964e
commit
72c441ca3d
@ -88,19 +88,6 @@
|
||||
<div id="VMRC_buttons">
|
||||
<button class="button alert" id="sendCtrlAltDelButton">Send CtrlAltDel</button>
|
||||
<button class="button info" id="fullScreenButton"><i class="fas fa-expand"></i></button>
|
||||
<button class="button info" id="keyboardSelector"><i class="fas fa-keyboard"></i></button>
|
||||
<select style="width: auto;" id="selectLanguage" hidden>
|
||||
<option value="en-US">English</option>
|
||||
<option value="fr-FR">French</option>
|
||||
<option value="fr-CH">French (Switzerland)</option>
|
||||
<option value="de-DE">German</option>
|
||||
<option value="de-CH">German (Switzerland)</option>
|
||||
<option value="it-IT">Italian</option>
|
||||
<option value="ja-JP_106/109">Japanese</option>
|
||||
<option value="pt-PT">Portuguese</option>
|
||||
<option value="es-ES">Spanish</option>
|
||||
<option value="sv_SE">Swedish</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="VMRC_info"></div>
|
||||
@ -117,8 +104,6 @@
|
||||
var cad = $("#sendCtrlAltDelButton");
|
||||
var container = $("#container");
|
||||
var fullscreen = $("#fullScreenButton");
|
||||
var languageSelector = $("#selectLanguage");
|
||||
var keyboardSelector = $("#keyboardSelector");
|
||||
|
||||
/**
|
||||
* Send the Ctrl + Alt + Del Action.
|
||||
@ -127,22 +112,6 @@
|
||||
wmks.sendCAD();
|
||||
});
|
||||
|
||||
/**
|
||||
* When language is selected, update the console language to match with
|
||||
* The expected behavior.
|
||||
*/
|
||||
languageSelector.on("change", function (evt) {
|
||||
var keyboardLayoutId = languageSelector.find(":selected").val();
|
||||
wmks.setOption('keyboardLayoutId',keyboardLayoutId);
|
||||
});
|
||||
|
||||
/**
|
||||
* Toggle the language selector.
|
||||
*/
|
||||
keyboardSelector.on("click", function(){
|
||||
languageSelector.toggle();
|
||||
});
|
||||
|
||||
function updateStatus(){
|
||||
$("#VMRC_status_msg").text("VMRC " + wmks.connectionState);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user