feat: update administrator overview page
Update title in the platform info card and resources use card Change-Id: I703874c120189432dd3bb395923e346193cb298d
This commit is contained in:
parent
e5a54c31e7
commit
1ded7c2312
@ -275,7 +275,7 @@
|
|||||||
"CPU Policy": "CPU Policy",
|
"CPU Policy": "CPU Policy",
|
||||||
"CPU Thread Policy": "CPU Thread Policy",
|
"CPU Thread Policy": "CPU Thread Policy",
|
||||||
"CPU Usage(%)": "CPU Usage(%)",
|
"CPU Usage(%)": "CPU Usage(%)",
|
||||||
"CPU usage Num (Core)": "CPU usage Num (Core)",
|
"CPU Usages (Core)": "CPU Usages (Core)",
|
||||||
"CPU value is { cpu }, NUMA CPU value is { totalCpu }, need to be equal. ": "CPU value is { cpu }, NUMA CPU value is { totalCpu }, need to be equal. ",
|
"CPU value is { cpu }, NUMA CPU value is { totalCpu }, need to be equal. ": "CPU value is { cpu }, NUMA CPU value is { totalCpu }, need to be equal. ",
|
||||||
"CPU(Core)": "CPU(Core)",
|
"CPU(Core)": "CPU(Core)",
|
||||||
"CPUs": "CPUs",
|
"CPUs": "CPUs",
|
||||||
@ -1422,7 +1422,7 @@
|
|||||||
"Memory Page": "Memory Page",
|
"Memory Page": "Memory Page",
|
||||||
"Memory Page Size": "Memory Page Size",
|
"Memory Page Size": "Memory Page Size",
|
||||||
"Memory Usage": "Memory Usage",
|
"Memory Usage": "Memory Usage",
|
||||||
"Memory usage Num (GiB)": "Memory usage Num (GiB)",
|
"Memory Usages (GiB)": "Memory Usages (GiB)",
|
||||||
"Mesos": "Mesos",
|
"Mesos": "Mesos",
|
||||||
"Message": "Message",
|
"Message": "Message",
|
||||||
"Message Details": "Message Details",
|
"Message Details": "Message Details",
|
||||||
@ -1537,7 +1537,6 @@
|
|||||||
"Node ID/Name": "Node ID/Name",
|
"Node ID/Name": "Node ID/Name",
|
||||||
"Node Info": "Node Info",
|
"Node Info": "Node Info",
|
||||||
"Node Name": "Node Name",
|
"Node Name": "Node Name",
|
||||||
"Node Num": "Node Num",
|
|
||||||
"Node Spec": "Node Spec",
|
"Node Spec": "Node Spec",
|
||||||
"Node Spec *": "Node Spec *",
|
"Node Spec *": "Node Spec *",
|
||||||
"Nodes": "Nodes",
|
"Nodes": "Nodes",
|
||||||
@ -2448,7 +2447,6 @@
|
|||||||
"Use an Existing Network": "Use an Existing Network",
|
"Use an Existing Network": "Use an Existing Network",
|
||||||
"Used": "Used",
|
"Used": "Used",
|
||||||
"Used IPs": "Used IPs",
|
"Used IPs": "Used IPs",
|
||||||
"Used Resource": "Used Resource",
|
|
||||||
"Used by tunnel(s): {names}. ID(s): {ids}": "Used by tunnel(s): {names}. ID(s): {ids}",
|
"Used by tunnel(s): {names}. ID(s): {ids}": "Used by tunnel(s): {names}. ID(s): {ids}",
|
||||||
"User": "User",
|
"User": "User",
|
||||||
"User Account": "User Account",
|
"User Account": "User Account",
|
||||||
@ -2513,8 +2511,8 @@
|
|||||||
"Virtual Adapters": "Virtual Adapters",
|
"Virtual Adapters": "Virtual Adapters",
|
||||||
"Virtual LAN": "Virtual LAN",
|
"Virtual LAN": "Virtual LAN",
|
||||||
"Virtual LANs": "Virtual LANs",
|
"Virtual LANs": "Virtual LANs",
|
||||||
"Virtual Resource Num": "Virtual Resource Num",
|
|
||||||
"Virtual Resource Overview": "Virtual Resource Overview",
|
"Virtual Resource Overview": "Virtual Resource Overview",
|
||||||
|
"Virtual Resources Used": "Virtual Resources Used",
|
||||||
"Virtual adapter mainly used for binding instance and other operations, occupying the quota of the port.": "Virtual adapter mainly used for binding instance and other operations, occupying the quota of the port.",
|
"Virtual adapter mainly used for binding instance and other operations, occupying the quota of the port.": "Virtual adapter mainly used for binding instance and other operations, occupying the quota of the port.",
|
||||||
"VirtualAdapter Mac": "VirtualAdapter Mac",
|
"VirtualAdapter Mac": "VirtualAdapter Mac",
|
||||||
"Visibility": "Visibility",
|
"Visibility": "Visibility",
|
||||||
|
@ -275,7 +275,7 @@
|
|||||||
"CPU Policy": "CPU策略",
|
"CPU Policy": "CPU策略",
|
||||||
"CPU Thread Policy": "CPU线程策略",
|
"CPU Thread Policy": "CPU线程策略",
|
||||||
"CPU Usage(%)": "CPU使用率(%)",
|
"CPU Usage(%)": "CPU使用率(%)",
|
||||||
"CPU usage Num (Core)": "CPU使用量 (核)",
|
"CPU Usages (Core)": "CPU用量 (核)",
|
||||||
"CPU value is { cpu }, NUMA CPU value is { totalCpu }, need to be equal. ": "CPU核数是 { cpu },NUMA节点的CPU核数是{ totalCpu },需要一致。",
|
"CPU value is { cpu }, NUMA CPU value is { totalCpu }, need to be equal. ": "CPU核数是 { cpu },NUMA节点的CPU核数是{ totalCpu },需要一致。",
|
||||||
"CPU(Core)": "CPU(核数)",
|
"CPU(Core)": "CPU(核数)",
|
||||||
"CPUs": "CPU",
|
"CPUs": "CPU",
|
||||||
@ -1422,7 +1422,7 @@
|
|||||||
"Memory Page": "内存页",
|
"Memory Page": "内存页",
|
||||||
"Memory Page Size": "内存页大小",
|
"Memory Page Size": "内存页大小",
|
||||||
"Memory Usage": "内存使用量",
|
"Memory Usage": "内存使用量",
|
||||||
"Memory usage Num (GiB)": "内存用量 (GiB)",
|
"Memory Usages (GiB)": "内存用量 (GiB)",
|
||||||
"Mesos": "Mesos",
|
"Mesos": "Mesos",
|
||||||
"Message": "消息",
|
"Message": "消息",
|
||||||
"Message Details": "消息详情",
|
"Message Details": "消息详情",
|
||||||
@ -1537,7 +1537,6 @@
|
|||||||
"Node ID/Name": "节点ID/名称",
|
"Node ID/Name": "节点ID/名称",
|
||||||
"Node Info": "节点信息",
|
"Node Info": "节点信息",
|
||||||
"Node Name": "节点名称",
|
"Node Name": "节点名称",
|
||||||
"Node Num": "节点总数",
|
|
||||||
"Node Spec": "节点规格",
|
"Node Spec": "节点规格",
|
||||||
"Node Spec *": "节点规格 *",
|
"Node Spec *": "节点规格 *",
|
||||||
"Nodes": "节点",
|
"Nodes": "节点",
|
||||||
@ -2448,7 +2447,6 @@
|
|||||||
"Use an Existing Network": "使用现有网络",
|
"Use an Existing Network": "使用现有网络",
|
||||||
"Used": "已使用",
|
"Used": "已使用",
|
||||||
"Used IPs": "已用IP",
|
"Used IPs": "已用IP",
|
||||||
"Used Resource": "已用",
|
|
||||||
"Used by tunnel(s): {names}. ID(s): {ids}": "被隧道使用中:{names}。 ID:{ids}",
|
"Used by tunnel(s): {names}. ID(s): {ids}": "被隧道使用中:{names}。 ID:{ids}",
|
||||||
"User": "用户",
|
"User": "用户",
|
||||||
"User Account": "用户账户",
|
"User Account": "用户账户",
|
||||||
@ -2513,8 +2511,8 @@
|
|||||||
"Virtual Adapters": "虚拟网卡",
|
"Virtual Adapters": "虚拟网卡",
|
||||||
"Virtual LAN": "虚拟网卡",
|
"Virtual LAN": "虚拟网卡",
|
||||||
"Virtual LANs": "块虚拟网卡",
|
"Virtual LANs": "块虚拟网卡",
|
||||||
"Virtual Resource Num": "虚拟资源用量",
|
|
||||||
"Virtual Resource Overview": "虚拟资源总览",
|
"Virtual Resource Overview": "虚拟资源总览",
|
||||||
|
"Virtual Resources Used": "虚拟资源用量",
|
||||||
"Virtual adapter mainly used for binding instance and other operations, occupying the quota of the port.": "虚拟网卡,主要用于绑定云主机等操作,占用端口的配额。",
|
"Virtual adapter mainly used for binding instance and other operations, occupying the quota of the port.": "虚拟网卡,主要用于绑定云主机等操作,占用端口的配额。",
|
||||||
"VirtualAdapter Mac": "虚拟网卡的MAC",
|
"VirtualAdapter Mac": "虚拟网卡的MAC",
|
||||||
"Visibility": "可见性",
|
"Visibility": "可见性",
|
||||||
|
@ -27,21 +27,21 @@ import styles from '../style.less';
|
|||||||
export const actions = [
|
export const actions = [
|
||||||
{
|
{
|
||||||
key: 'projectNum',
|
key: 'projectNum',
|
||||||
label: t('Project Num'),
|
label: t('Projects'),
|
||||||
avatar: <AppstoreAddOutlined />,
|
avatar: <AppstoreAddOutlined />,
|
||||||
color: '#000000',
|
color: '#000000',
|
||||||
to: '/identity/project-admin',
|
to: '/identity/project-admin',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'userNum',
|
key: 'userNum',
|
||||||
label: t('User Num'),
|
label: t('Users'),
|
||||||
avatar: <UserOutlined />,
|
avatar: <UserOutlined />,
|
||||||
color: '#000000',
|
color: '#000000',
|
||||||
to: '/identity/user-admin',
|
to: '/identity/user-admin',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'nodeNum',
|
key: 'nodeNum',
|
||||||
label: t('Node Num'),
|
label: t('Nodes'),
|
||||||
avatar: <DatabaseOutlined />,
|
avatar: <DatabaseOutlined />,
|
||||||
color: '#000000',
|
color: '#000000',
|
||||||
to: '/compute/hypervisors-admin?tab=ComputeHost',
|
to: '/compute/hypervisors-admin?tab=ComputeHost',
|
||||||
|
@ -21,12 +21,12 @@ export const resourceCircle = [
|
|||||||
{
|
{
|
||||||
resource: 'vcpus',
|
resource: 'vcpus',
|
||||||
used: 'vcpus_used',
|
used: 'vcpus_used',
|
||||||
label: t('CPU usage Num (Core)'),
|
label: t('CPU Usages (Core)'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
resource: 'memory_mb',
|
resource: 'memory_mb',
|
||||||
used: 'memory_mb_used',
|
used: 'memory_mb_used',
|
||||||
label: t('Memory usage Num (GiB)'),
|
label: t('Memory Usages (GiB)'),
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -88,7 +88,7 @@ export class ResourceCircle extends Component {
|
|||||||
backgroundColor: circleColor,
|
backgroundColor: circleColor,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
{`${t('Used Resource')}: ${used}`}
|
{`${t('Used')}: ${used}`}
|
||||||
</Col>
|
</Col>
|
||||||
<Col span={12} style={{ textAlign: 'left', paddingLeft: 20 }}>
|
<Col span={12} style={{ textAlign: 'left', paddingLeft: 20 }}>
|
||||||
<Avatar
|
<Avatar
|
||||||
@ -113,7 +113,7 @@ export class ResourceCircle extends Component {
|
|||||||
<Card
|
<Card
|
||||||
loading={isLoading}
|
loading={isLoading}
|
||||||
className={styles.chart}
|
className={styles.chart}
|
||||||
title={t('Virtual Resource Num')}
|
title={t('Virtual Resources Used')}
|
||||||
bordered={false}
|
bordered={false}
|
||||||
>
|
>
|
||||||
<Descriptions column={1}>
|
<Descriptions column={1}>
|
||||||
|
Loading…
Reference in New Issue
Block a user