diff --git a/client/WEB-INF/classes/resources/messages.properties b/client/WEB-INF/classes/resources/messages.properties index 776e0e508c7..e238576281e 100644 --- a/client/WEB-INF/classes/resources/messages.properties +++ b/client/WEB-INF/classes/resources/messages.properties @@ -58,6 +58,7 @@ label.first.name=First Name label.last.name=Last Name label.timezone=Timezone label.instance.limits=Instance Limits +label.instance=Instance label.ip.limits=Public IP Limits label.volume.limits=Volume Limits label.snapshot.limits=Snapshot Limits @@ -67,7 +68,7 @@ label.sent=Sent label.user=User label.domain.admin=Domain Admin label.admin=Admin -label.by.role=by role +label.by.role=By Role label.type=Type label.type.id=Type ID label.description=Description @@ -89,6 +90,58 @@ label.path=Path label.target.iqn=Target IQN label.lun=LUN label.tags=Tags +label.system.capacity=System Wide Capacity +label.public.ips=Public IP Addresses +label.allocated=Allocated +label.private.ips=Private IP Addresses +label.memory.allocated=Memory Allocated +label.cpu.allocated=CPU Allocated +label.primary.allocated=Primary Storage Allocated +label.used=Used +label.primary.used=Primary Storage Used +label.secondary.used=Secondary Storage Used +label.general.alerts=General Alerts +label.no.alerts=No Recent Alerts +label.host.alerts=Host Alerts +label.disk.volume=Disk Volume +label.snapshots=Snapshots +label.accounts=Accounts +label.recent.errors=Recent Errors +label.no.errors=No Recent Errors +label.resources=Resources +label.running.vms=Running VMs +label.stopped.vms=Stopped VMs +label.total.vms=Total VMs +label.available.public.ips=Available Public IP Addresses +label.owned.public.ips=Owned Public IP Addresses +label.my.account=My Account +label.account.id=Account ID +label.account=Account +label.display.text=Display Text +label.disk.size=Disk Size +label.add.disk.offering=Add Disk Offering +label.custom.disk.size=Custom Disk Size +label.no=No +label.yes=Yes +label.public=Public +label.admin.accounts=Admin Accounts +label.resource.limits=Resource Limits +label.instances=Instances +label.add.domain=Add Domain +label.parent.domain=Parent Domain +label.volumes=Volumes +label.initiated.by=Initiated By +label.owner.account=Owner Account +label.level=Level +label.date=Date +label.by.type=By Type +label.by.level=By Level +label.info=Info +label.warn=Warn +label.error=Error +label.value=Value +label.edit=Edit + label.lang.english=English label.lang.chinese=Chinese @@ -149,6 +202,8 @@ message.new.user=Specify the following to add a new user to the account message.edit.confirm=Please confirm your changes before clicking 'Save' message.add.host=Please specify the following parameters to add a new host message.add.primary=Please specify the following parameters to add a new primary storage +message.add.disk.offering=Please specify the following parameters to add a new disk offering +message.restart.mgmt.server=Please restart your management server(s) for your new settings to take effect. #Errors error.login=Your username/password does not match our records. diff --git a/ui/index.jsp b/ui/index.jsp index 2bc8973b7b7..2b1dae97b5e 100644 --- a/ui/index.jsp +++ b/ui/index.jsp @@ -532,7 +532,7 @@
- + diff --git a/ui/jsp/dashboard.jsp b/ui/jsp/dashboard.jsp index 2167a6f03d3..0a1b2dddf1e 100644 --- a/ui/jsp/dashboard.jsp +++ b/ui/jsp/dashboard.jsp @@ -1,17 +1,15 @@ -<%@ page import="java.util.*" %> - -<%@ page import="com.cloud.utils.*" %> - -<% - Locale browserLocale = request.getLocale(); - CloudResourceBundle t = CloudResourceBundle.getBundle("resources/resource", browserLocale); -%> +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> + + + +

- Dashboard +

@@ -22,23 +20,23 @@

- Loading … +

- System Wide Capacity
+
+ : + :
@@ -48,10 +46,10 @@

- Public IP Addresses

+

- Allocated: N/A + : N/A

@@ -69,10 +67,10 @@

- Private IP Addresses

+

- Allocated: N/A + : N/A

@@ -90,10 +88,10 @@

- Memory Allocated

+

- Allocated: N/A + : N/A

@@ -111,10 +109,10 @@

- CPU Allocated

+

- Allocated: N/A + : N/A

@@ -132,10 +130,10 @@

- Primary Storage Allocated

+

- Allocated: N/A + : N/A

@@ -153,10 +151,10 @@

- Primary Storage Used

+

- Used: N/A + : N/A

@@ -174,10 +172,10 @@

- Secondary Storage Used

+

- Used: N/A + : N/A

@@ -197,7 +195,7 @@
- General Alerts
+
@@ -208,7 +206,7 @@
- No Recent Alerts +
@@ -217,7 +215,7 @@
- Hosts Alerts
+
@@ -230,7 +228,7 @@
- No Recent Alerts +
@@ -244,7 +242,7 @@

- Loading … +

@@ -254,7 +252,7 @@

- Instance

+
@@ -270,7 +268,7 @@

- Disk Volume

+
@@ -286,7 +284,7 @@

- Snapshots

+
@@ -302,7 +300,7 @@

- Accounts

+
@@ -319,14 +317,14 @@
- Recent Errors
+
- No Recent Alerts +
@@ -341,7 +339,7 @@
- Resources
+
@@ -355,7 +353,7 @@

- Running VMs:

+ :
@@ -373,7 +371,7 @@

- Stopped VMs:

+ :
@@ -391,7 +389,7 @@

- Total VMs:

+ :
@@ -406,13 +404,13 @@
- Public IPs
+
- Available Public IPs: + :
@@ -424,7 +422,7 @@
- Owned Public IPs: + :
@@ -439,14 +437,14 @@
- Recent Errors
+
- No Recent Alerts +
@@ -459,13 +457,13 @@
- My Account
+
- Account ID
+
@@ -476,7 +474,7 @@
- Account
+
@@ -487,7 +485,7 @@
- Type
+
@@ -498,7 +496,7 @@
- Domain
+
diff --git a/ui/jsp/diskoffering.jsp b/ui/jsp/diskoffering.jsp index da67ffa38f6..abe6a918942 100644 --- a/ui/jsp/diskoffering.jsp +++ b/ui/jsp/diskoffering.jsp @@ -1,13 +1,9 @@ -<%@ page import="java.util.*" %> - -<%@ page import="com.cloud.utils.*" %> - -<% - Locale browserLocale = request.getLocale(); - CloudResourceBundle t = CloudResourceBundle.getBundle("resources/resource", browserLocale); -%> - - +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> + + + +
@@ -15,7 +11,7 @@

- Disk Offering +

@@ -25,7 +21,7 @@
- <%=t.t("details")%>
+
@@ -43,7 +39,7 @@ @@ -52,13 +48,13 @@

- Waiting …

+

- <%=t.t("ID")%>:
+ :
@@ -68,7 +64,7 @@
- <%=t.t("name")%>:
+ :
@@ -80,7 +76,7 @@
- <%=t.t("display.text")%>:
+ :
@@ -92,7 +88,7 @@
- <%=t.t("disk.size")%>:
+ :
@@ -102,7 +98,7 @@
- <%=t.t("tags")%>:
+ :
@@ -114,7 +110,7 @@
- <%=t.t("domain")%>:
+ :
@@ -123,18 +119,6 @@
-
@@ -151,7 +135,7 @@
Add Disk Offering
@@ -160,7 +144,7 @@
- <%=t.t("Resource.Limits")%>
+
@@ -45,7 +42,7 @@ @@ -54,14 +51,14 @@

- Waiting …

+

- <%=t.t("ID")%>:
+ :
@@ -71,7 +68,7 @@
- <%=t.t("Name")%>:
+ :
@@ -83,7 +80,7 @@
- <%=t.t("Accounts")%>:
+ :
@@ -93,7 +90,7 @@
- <%=t.t("Instances")%>:
+ :
@@ -103,7 +100,7 @@
- <%=t.t("Volume")%>:
+ :
@@ -123,7 +120,7 @@
@@ -136,7 +133,7 @@
@@ -146,7 +143,7 @@ @@ -155,14 +152,14 @@

- Waiting …

+

- <%=t.t("Instance.Limit")%>:
+ :
@@ -174,7 +171,7 @@
- <%=t.t("Public.IP.Limit")%>:
+ :
@@ -186,7 +183,7 @@
- <%=t.t("Disk.Volume.Limit")%>:
+ :
@@ -198,7 +195,7 @@
- <%=t.t("Snapshot.Limit")%>:
+ :
@@ -210,7 +207,7 @@
- <%=t.t("Template.Limit")%>:
+ :
@@ -236,7 +233,7 @@
Add Domain
@@ -253,7 +250,7 @@
- <%=t.t("ID")%>:
+ :
@@ -263,7 +260,7 @@
- <%=t.t("Role")%>:
+ :
@@ -273,7 +270,7 @@
- <%=t.t("Account")%>:
+ :
@@ -283,7 +280,7 @@
- <%=t.t("Domain")%>:
+ :
@@ -293,7 +290,7 @@
- <%=t.t("VMs")%>:
+ :
@@ -303,7 +300,7 @@
- <%=t.t("IPs")%>:
+ :
@@ -313,7 +310,7 @@
- <%=t.t("Bytes.Received")%>:
+ :
@@ -323,7 +320,7 @@
- <%=t.t("Bytes.Sent")%>:
+ :
@@ -333,7 +330,7 @@
- <%=t.t("State")%>:
+ :
@@ -350,12 +347,12 @@
  1. - +
  2. - +
  3. diff --git a/ui/jsp/event.jsp b/ui/jsp/event.jsp index a8c19003533..6b2935b3d49 100644 --- a/ui/jsp/event.jsp +++ b/ui/jsp/event.jsp @@ -1,11 +1,9 @@ -<%@ page import="java.util.*" %> -<%@ page import="com.cloud.utils.*" %> - -<% - Locale browserLocale = request.getLocale(); - CloudResourceBundle t = CloudResourceBundle.getBundle("resources/resource", browserLocale); -%> - +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> + + + +
    @@ -13,7 +11,7 @@
    -

    Event +

    @@ -23,7 +21,7 @@
    - <%=t.t("Details")%>
    +
@@ -39,7 +37,7 @@
- <%=t.t("id")%>:
+ :
@@ -49,7 +47,7 @@
- <%=t.t("Initiated.By")%>:
+ :
@@ -59,7 +57,7 @@
- <%=t.t("Owner.Account")%>:
+ :
@@ -69,7 +67,7 @@
- <%=t.t("Type")%>:
+ :
@@ -79,7 +77,7 @@
- <%=t.t("Level")%>:
+ :
@@ -89,7 +87,7 @@
- <%=t.t("Description")%>:
+ :
@@ -99,7 +97,7 @@
- <%=t.t("State")%>:
+ :
@@ -109,7 +107,7 @@
- <%=t.t("Date")%>:
+ :
@@ -130,7 +128,7 @@
  1. - - - - + + + +
@@ -25,7 +21,7 @@
- <%=t.t("details")%>
+
-
Name
+
-
Value
+
-
Description
+
@@ -64,8 +60,8 @@
- - + +
@@ -118,6 +114,6 @@