Fix spice autoconenct

Update text from VNC to VM Console for titles and placeholders
This commit is contained in:
SimonFair
2023-11-11 11:30:22 +00:00
parent dfa2199332
commit 72dfdd7172
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -74,7 +74,7 @@
document.getElementById('hostname').innerHTML = (vmname) ;
if (auto === 'true' || auto == '1') {
auto = true;
connect();
setTimeout(connect, 3000);
}
function spice_error(e)
{
@@ -1076,12 +1076,12 @@
<tr class="vncpassword">
<td>_(VM Console Password)_:</td>
<td><input type="password" name="domain[password]" autocomplete='new-password' value="<?=$arrGPU['password']?>" title="_(password for VNC)_" placeholder="_(password for VNC)_ (_(optional)_)" /></td>
<td><input type="password" name="domain[password]" autocomplete='new-password' value="<?=$arrGPU['password']?>" title="_(password for VM Console)_" placeholder="_(password for VM Console)_ (_(optional)_)" /></td>
</tr>
<tr class="<?if ($arrGPU['id'] != 'virtual') echo 'was';?>advanced vnckeymap">
<td>_(VM Console Keyboard)_:</td>
<td>
<select name="gpu[<?=$i?>][keymap]" title="_(keyboard for VNC)_">
<select name="gpu[<?=$i?>][keymap]" title="_(keyboard for VM Console)_">
<?mk_dropdown_options($arrValidKeyMaps, $arrGPU['keymap']);?>
</select>
</td>