mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +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.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.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 -->
|
||||
<div id="dialog_confirmation_enable_maintenance" title="Confirmation" style="display: none">
|
||||
<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>
|
||||
</div>
|
||||
|
||||
@ -663,6 +663,7 @@ function afterLoadResourceJSP() {
|
||||
initDialog("dialog_add_pool");
|
||||
initDialog("dialog_add_secondarystorage");
|
||||
initDialog("dialog_add_vlan_for_zone");
|
||||
initDialog("dialog_confirmation_enable_maintenance");
|
||||
|
||||
// if hypervisor is KVM, limit the server option to NFS for now
|
||||
if (getHypervisorType() == 'kvm')
|
||||
@ -1208,8 +1209,8 @@ function doEnableMaintenanceMode($actionLink, $detailsTab, midmenuItemId){
|
||||
|
||||
$("#dialog_confirmation_enable_maintenance")
|
||||
.dialog("option", "buttons", {
|
||||
"Add": function() {
|
||||
$(this).dialog("close");
|
||||
"OK": function() {
|
||||
$(this).dialog("close");
|
||||
var id = jsonObj.id;
|
||||
var apiCommand = "command=prepareHostForMaintenance&id="+id;
|
||||
doActionToDetailsTab(id, $actionLink, apiCommand, midmenuItemId);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user