Skip to content

Commit 656c933

Browse files
author
Jessica Wang
committed
new UI - system VM page - add view console template.
1 parent 04cfb46 commit 656c933

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

‎ui/new/jsp/resource.jsp‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1156,6 +1156,15 @@
11561156
</div>
11571157
<!-- secondary storage tab template (end) -->
11581158

1159+
<!-- view console template (begin) -->
1160+
<div id="view_console_template" style="display:none">
1161+
<div class="vm_consolebox" id="box0">
1162+
</div>
1163+
<div class="vm_consolebox" id="box1" style="display: none">
1164+
</div>
1165+
</div>
1166+
<!-- view console template (end) -->
1167+
11591168
<!-- dialogs -->
11601169
<div id="dialog_confirmation_enable_maintenance" title="Confirmation" style="display: none">
11611170
<p>
@@ -1181,7 +1190,7 @@
11811190
</p>
11821191
</div>
11831192

1184-
<!-- Update OS Pref Dialog -->
1193+
<!-- Update OS Preference Dialog -->
11851194
<div id="dialog_update_os" title="Update OS Preference" style="display:none">
11861195
<p>
11871196
<%=t.t("Please.choose.a.OS.preference.for.this.host..Virtual.machines.will.always.be.allocated.to.hosts.with.an.OS.preference.that.matches.with.the.OS.type.of.the.template.chosen.for.the.virtual.machine.before.choosing.other.hosts.")%>

‎ui/new/scripts/cloud.core2.resource.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ function systemvmJsonToDetailsTab(jsonObj) {
670670
var $detailsTab = $("#systemvm_page").find("#tab_content_details");
671671
$detailsTab.data("jsonObj", jsonObj);
672672

673-
//resetViewConsoleAction(jsonObj, $detailsTab);
673+
resetViewConsoleAction(jsonObj, $detailsTab);
674674
setVmStateInRightPanel(jsonObj.state, $detailsTab.find("#state"));
675675
$detailsTab.find("#ipAddress").text(jsonObj.publicip);
676676

0 commit comments

Comments
 (0)