mirror of https://github.com/apache/cloudstack.git
new UI - disk offering page - add "Customizable during VM creation" row.
This commit is contained in:
parent
baa28d2022
commit
821dd88729
|
|
@ -144,4 +144,6 @@ please.confirm.you.want.to.reboot.router = Please confirm you want to reboot rou
|
|||
|
||||
please.confirm.you.want.to.start.systemVM = Please confirm you want to start system VM
|
||||
please.confirm.you.want.to.stop.systemVM = Please confirm you want to stop system VM
|
||||
please.confirm.you.want.to.reboot.systemVM = Please confirm you want to reboot system VM
|
||||
please.confirm.you.want.to.reboot.systemVM = Please confirm you want to reboot system VM
|
||||
|
||||
customizable.during.VM.creation = Customizable during VM creation
|
||||
|
|
@ -118,7 +118,21 @@
|
|||
<div class="row_celltitles" id="domain">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="grid_rows odd">
|
||||
<div class="grid_row_cell" style="width: 20%;">
|
||||
<div class="row_celltitles">
|
||||
<%=t.t("customizable.during.VM.creation")%>:</div>
|
||||
</div>
|
||||
<div class="grid_row_cell" style="width: 79%;">
|
||||
<div class="row_celltitles" id="isCustomized">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="grid_botactionpanel">
|
||||
<div class="gridbot_buttons" id="save_button" style="display:none;">Save</div>
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ function afterLoadDiskOfferingJSP() {
|
|||
array1.push("&tags="+todb(tags));
|
||||
|
||||
$.ajax({
|
||||
data: createURL("command=createDiskOffering&isMirrored=false&response=json" + array1.join("")),
|
||||
data: createURL("command=createDiskOffering&isMirrored=false" + array1.join("")),
|
||||
dataType: "json",
|
||||
success: function(json) {
|
||||
var item = json.creatediskofferingresponse;
|
||||
|
|
@ -199,6 +199,9 @@ function diskOfferingJsonToDetailsTab() {
|
|||
|
||||
$thisTab.find("#disksize").text(convertBytes(jsonObj.disksize));
|
||||
$thisTab.find("#tags").text(fromdb(jsonObj.tags));
|
||||
|
||||
setBooleanReadField(jsonObj.isCustomized, $thisTab.find("#isCustomized"));
|
||||
|
||||
$thisTab.find("#domain").text(fromdb(jsonObj.domain));
|
||||
|
||||
//actions ***
|
||||
|
|
|
|||
Loading…
Reference in New Issue