Skip to content

Commit 5d9ae31

Browse files
authored
UI: Admin, account and project dashboard improvements (#7956)
This PR aims at improving the CloudStack dashboard and introduces the following: Admin dashboard: six cards that are responsive to screen sizes and show zone specific compute, storage and network allocation, as well as instance/hosts stats, alerts and events. Now, by default, the admin dashboard shows aggegate data from all zones, with option for admin to select individual zone to see individual zone stats Account/project dashboard: six cards that are responsive to screen sizes and show account or project specific resource lists/counts, and limits shown in three cards as (a) compute (with running stopped instances), (b) storage and (c) network allocation, an admin-defined links/docs card (via config.json) and events cards. Admin is allowed to configure project limits on project dashboards. A global create button on the top global header/user-menu to allow for quick actions such as to deploy a VM, CKS cluster and create a volume (more actions can be added as desired via code changes) etc. Doc PR - apache/cloudstack-documentation#349 --------- Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent 82b9818 commit 5d9ae31

34 files changed

+1360
-1015
lines changed

ui/package-lock.json

Lines changed: 188 additions & 500 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ui/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@
3434
"test:unit": "vue-cli-service test:unit"
3535
},
3636
"dependencies": {
37-
"@fortawesome/fontawesome-svg-core": "^1.3.0",
38-
"@fortawesome/free-brands-svg-icons": "^5.15.2",
39-
"@fortawesome/free-solid-svg-icons": "^5.15.2",
40-
"@fortawesome/vue-fontawesome": "^3.0.0-4",
37+
"@fortawesome/fontawesome-svg-core": "^6.4.2",
38+
"@fortawesome/free-brands-svg-icons": "^6.4.2",
39+
"@fortawesome/free-solid-svg-icons": "^6.4.2",
40+
"@fortawesome/vue-fontawesome": "^3.0.3",
4141
"@vue-js-cron/ant": "^1.1.3",
4242
"@vue-js-cron/core": "^3.7.1",
43-
"ant-design-vue": "^3.2.9",
43+
"ant-design-vue": "^3.2.20",
4444
"antd": "^4.21.4",
4545
"antd-theme-webpack-plugin": "^1.3.9",
4646
"axios": "^0.21.1",

ui/public/config.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,36 @@
5959
"jp": "label.japanese.keyboard",
6060
"sc": "label.simplified.chinese.keyboard"
6161
},
62+
"userCard": {
63+
"title": "label.help",
64+
"icon": "question-circle-outlined",
65+
"links": [
66+
{
67+
"title": "Documentation",
68+
"text": "CloudStack documentation website",
69+
"link": "https://docs.cloudstack.apache.org/en/latest/",
70+
"icon": "read-outlined"
71+
},
72+
{
73+
"title": "API Documentation",
74+
"text": "Refer to API documentation",
75+
"link": "https://cloudstack.apache.org/api.html",
76+
"icon": "api-outlined"
77+
},
78+
{
79+
"title": "Email Support",
80+
"text": "Join CloudStack users mailing list to seek and provide support",
81+
"link": "mailto:users-subscribe@cloudstack.apache.org",
82+
"icon": "mail-outlined"
83+
},
84+
{
85+
"title": "Report Issue",
86+
"text": "Submit a bug or improvement request",
87+
"link": "https://github.com/apache/cloudstack/issues/new",
88+
"icon": "bug-outlined"
89+
}
90+
]
91+
},
6292
"plugins": [],
6393
"basicZoneEnabled": true,
6494
"multipleServer": false,

ui/public/locales/en.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,7 @@
538538
"label.cpuused": "CPU utilized",
539539
"label.cpuusedghz": "CPU used",
540540
"label.create": "Create",
541+
"label.create.instance": "Create cloud server",
541542
"label.create.account": "Create account",
542543
"label.create.backup": "Start backup",
543544
"label.create.network": "Create new network",
@@ -2193,6 +2194,7 @@
21932194
"label.volumetotal": "Volume",
21942195
"label.volumetype": "Volume Type",
21952196
"label.vpc": "VPC",
2197+
"label.vpcs": "VPCs",
21962198
"label.vpc.id": "VPC ID",
21972199
"label.vpc.offerings": "VPC offerings",
21982200
"label.vpc.virtual.router": "VPC virtual router",

ui/src/assets/icons/debian.svg

Lines changed: 0 additions & 153 deletions
This file was deleted.

0 commit comments

Comments
 (0)