From 958e7fe8df0e1cd6b3e7edc77eb40ca7da19c5d8 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Fri, 21 Jan 2011 16:29:37 -0800 Subject: [PATCH] bug 7116: host page, zone page - clean up the confirmation dialogs to use a single dialog (i.e. "dialog_confirmation"). --- .../classes/resources/resource.properties | 4 - ui/jsp/host.jsp | 21 -- ui/jsp/zone.jsp | 6 - ui/scripts/cloud.core.host.js | 195 ++---------------- ui/scripts/cloud.core.zone.js | 6 +- 5 files changed, 16 insertions(+), 216 deletions(-) diff --git a/client/WEB-INF/classes/resources/resource.properties b/client/WEB-INF/classes/resources/resource.properties index 3c78227e0c4..660ce2f5217 100644 --- a/client/WEB-INF/classes/resources/resource.properties +++ b/client/WEB-INF/classes/resources/resource.properties @@ -118,10 +118,6 @@ please.confirm.you.want.to.lock.account.that.will.prevent.account.access.to.the. please.confirm.you.want.to.enable.account = Please confirm you want to enable account. 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.restart.your.management.server.for.your.new.settings.to.take.effect = Please RESTART your management server for your new settings to take effect -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. -please.confirm.you.want.to.cancel.maintenance.for.the.host = Please confirm you want to cancel maintenance for the host -please.confirm.you.want.to.force.a.reconnection.for.the.host = Please confirm you want to force a reconnection for the host -please.confirm.you.want.to.remove.the.host.from.the.management.server = Please confirm you want to remove the host from the management server 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. = 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. please.confirm.you.want.to.delete.the.primary.storage = Please confirm you want to delete the primary storage please.confirm.you.want.to.delete.the.secondary.storage = Please confirm you want to delete the secondary storage diff --git a/ui/jsp/host.jsp b/ui/jsp/host.jsp index f309db6a09c..9c5847b1a0f 100644 --- a/ui/jsp/host.jsp +++ b/ui/jsp/host.jsp @@ -918,27 +918,6 @@ - - - - - - -