mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
new UI - confirm action before enable maintenance on host.
This commit is contained in:
parent
a9c82e2bd5
commit
faeff7707f
@ -121,5 +121,5 @@ please.confirm.you.want.to.enable.account = Please confirm you want to enable ac
|
|||||||
please.select.an.available.zone.to.associate.your.new.ip.with..acquiring.additional.ip.may.cost.you.an.additional.dollars.per.month. = Please select an availability zone to associate your new IP with. Acquiring additional IP may cost you an additional dollars per month.
|
please.select.an.available.zone.to.associate.your.new.ip.with..acquiring.additional.ip.may.cost.you.an.additional.dollars.per.month. = Please select an availability zone to associate your new IP with. Acquiring additional IP may cost you an additional dollars per month.
|
||||||
please.confirm.you.want.to.release.this.IP.address = Please confirm you want to release this IP address
|
please.confirm.you.want.to.release.this.IP.address = Please confirm you want to release this IP address
|
||||||
please.restart.your.management.server.for.your.new.settings.to.take.effect = Please RESTART your management server for your new settings to take effect
|
please.restart.your.management.server.for.your.new.settings.to.take.effect = Please RESTART your management server for your new settings to take effect
|
||||||
Please.confirm.you.want.to.enable.maintenance.for.the.host..Enabling.maintenance.mode.will.cause.a.live.migration.of.all.running.instances.on.this.host.to.any.available.host..An.alert.will.be.sent.to.the.admin.when.this.process.has.been.completed. = Please confirm you want to enable maintenance for the host. Enabling maintenance mode will cause a live migration of all running instances on this host to any available host. An alert will be sent to the admin when this process has been completed.
|
enabling.maintenance.mode.will.cause.a.live.migration.of.all.running.instances.on.this.host.to.any.available.host = Enabling maintenance mode will cause a live migration of all running instances on this host to any available host.
|
||||||
|
|
||||||
|
|||||||
@ -1086,6 +1086,6 @@
|
|||||||
<!-- dialogs -->
|
<!-- dialogs -->
|
||||||
<div id="dialog_confirmation_enable_maintenance" title="Confirmation" style="display: none">
|
<div id="dialog_confirmation_enable_maintenance" title="Confirmation" style="display: none">
|
||||||
<p>
|
<p>
|
||||||
<%=t.t("Please.confirm.you.want.to.enable.maintenance.for.the.host..Enabling.maintenance.mode.will.cause.a.live.migration.of.all.running.instances.on.this.host.to.any.available.host..An.alert.will.be.sent.to.the.admin.when.this.process.has.been.completed.")%>
|
<%=t.t("enabling.maintenance.mode.will.cause.a.live.migration.of.all.running.instances.on.this.host.to.any.available.host")%>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -663,6 +663,7 @@ function afterLoadResourceJSP() {
|
|||||||
initDialog("dialog_add_pool");
|
initDialog("dialog_add_pool");
|
||||||
initDialog("dialog_add_secondarystorage");
|
initDialog("dialog_add_secondarystorage");
|
||||||
initDialog("dialog_add_vlan_for_zone");
|
initDialog("dialog_add_vlan_for_zone");
|
||||||
|
initDialog("dialog_confirmation_enable_maintenance");
|
||||||
|
|
||||||
// if hypervisor is KVM, limit the server option to NFS for now
|
// if hypervisor is KVM, limit the server option to NFS for now
|
||||||
if (getHypervisorType() == 'kvm')
|
if (getHypervisorType() == 'kvm')
|
||||||
@ -1208,8 +1209,8 @@ function doEnableMaintenanceMode($actionLink, $detailsTab, midmenuItemId){
|
|||||||
|
|
||||||
$("#dialog_confirmation_enable_maintenance")
|
$("#dialog_confirmation_enable_maintenance")
|
||||||
.dialog("option", "buttons", {
|
.dialog("option", "buttons", {
|
||||||
"Add": function() {
|
"OK": function() {
|
||||||
$(this).dialog("close");
|
$(this).dialog("close");
|
||||||
var id = jsonObj.id;
|
var id = jsonObj.id;
|
||||||
var apiCommand = "command=prepareHostForMaintenance&id="+id;
|
var apiCommand = "command=prepareHostForMaintenance&id="+id;
|
||||||
doActionToDetailsTab(id, $actionLink, apiCommand, midmenuItemId);
|
doActionToDetailsTab(id, $actionLink, apiCommand, midmenuItemId);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user