Commit Graph

42 Commits

Author SHA1 Message Date
zhangjingwei
ca964e3305 fix: update quota overview styles
update card styles of the quota overview

Change-Id: I6f78fb2aac0eed1c2082a31a767a1b15bdd577c6
2024-03-06 10:42:49 +08:00
zhangjingwei
e018659955 feat: support a custom UI theme
support a custom UI theme

Change-Id: Ic2f25fcc4620b06710c3ff1f26f84aba43881762
2024-01-03 11:45:28 +08:00
Jingwei.Zhang
e0e0a49e8e fix: fix virtual resources data display
fix the virtual resources used display in the administrator overview page

Change-Id: I83fab09327942dd454d6c36c2d570ebfd27a7a6e
2023-07-13 14:02:01 +08:00
Jingwei.Zhang
861876cddf fix: fix the virtual resource in administrator
Fix the virtual resource used background in the administrator overview page

Change-Id: I56211de76792bf4eabba1a38ed3cc5ae05532579
2023-06-09 09:08:23 +08:00
Jingwei.Zhang
ec59419f4f feat: update color variables
Use color variables to set color in less and jsx, this makes it easy to change the theme for all pages.

Change-Id: I9b82c4624826854d40d11da4e6ce4a9137b86085
2023-05-25 16:44:59 +08:00
zhangke
021bde48ef fix: fix the error of compute service state
Fix the error of compute service state on Platform Overview page

Closes-Bug: #2004462
Change-Id: I6ae88611f4431da4e63ed1c65c37b5fd04568373
2023-02-01 16:32:36 +08:00
xusongfu
7a4d17ee19 feature: Support quota in magnum service
1.Show quota info when create cluster
2.Support quota setting of magnum cluster when manage project quota

Change-Id: I90d1bc3c2bcb2aa95d728c245dd1b742d3fe6ae1
2022-12-06 16:07:48 +08:00
Jingwei.Zhang
d0abd857a4 refactor: render project info by func
Refactor the render project code: render it by the existed function, and remove the useless style code, which is used by the removed button in patch[1]

[1] Ib0e1ed51010c68dac64159a6154e65399f46a14d

Change-Id: I7255770608f7883ce317a5d2e9d8895323f5dc2e
2022-08-18 16:28:41 +08:00
Jingwei.Zhang
832cce176c refactor: remove the basic role display from the overview page
1. remove the basic role display from the overview page: because the api removed the base role information[1]
2. fix the title i18n

[1] I461ae3f8979377ae22ec851bf3315e509b22cfbd

Change-Id: Ib0e1ed51010c68dac64159a6154e65399f46a14d
2022-08-18 09:50:15 +08:00
xusongfu
e16951bde0 feat: support trove quota
1. support trove quota in manage project quota
2. support trove quota in overview page

Change-Id: Iac2ea282744239fc043df2bdc456b7daba05de9b
2022-08-08 17:57:26 +08:00
Jingwei.Zhang
612152cdbb fix: update 'gigabytes' to 'capacity' in the titile
1. Update 'gigabytes' to 'capacity' in the title
2. Add the blank before '(GiB)' and '(MiB)'
3. Update related i18n

Change-Id: I46de9793f9fb32a8f33915775bdfd5d486a84253
2022-08-08 10:55:23 +08:00
Jingwei.Zhang
a6820a4ca8 fix: fix the server group member label in quota
1. Fix the server group member label in the quota overview
2. Fix the server group member label in the quota manange form
3. Update the label style in the quota manage form to better display the
resource label
4. Fix the 'of' word in some titles

Change-Id: I000c783f05ddadf5a6649d56c19263ee4af81e82
2022-08-05 08:40:19 +08:00
Jingwei.Zhang
1ded7c2312 feat: update administrator overview page
Update title in the platform info card and resources use card

Change-Id: I703874c120189432dd3bb395923e346193cb298d
2022-08-02 15:44:01 +08:00
Jingwei.Zhang
3f9ca389b8 fix: fix the plural form of the menu words && tab title words
1. Fix the plural form of the menu words
2. Fix the plural form of the tab title
3. Fix the related e2e case

Change-Id: Id37115d9efac341413b401d12049cf0d621e0385
2022-08-01 13:01:15 +08:00
Jingwei.Zhang
fb83a57550 fix: update volume snaphost/backup display
1. Update 'snaphost' to 'volume snaphost', 'backup' to 'volume backup'
2. Update e2e case

Change-Id: I74dee2e2da7cbaac4ba7607c83848b28cfb81cde
2022-07-28 15:48:16 +08:00
xusongfu
3666358c95 feat: support zun quota in manage project quota and overview
1. Support manage zun quota
2. Show zun quota in overview

Change-Id: I18fa243ca4133be1a4592189ef287db44f4cc66d
2022-07-13 16:54:46 +08:00
Jingwei.Zhang
b22a959e49 feat: support quota info when create key pair
1. Support quota info when create key pair
2. Disable click submit button when user's key pairs exceed project key pair quota
3. Update Ring component to add tooltip when quota is unlimit, better impression quantity information
4. Update Ring component to support left quota < 0 situation
5. Add quota tip in create key pair form for better understander the
quota of key pair

Change-Id: I31282db5a9a3c35c4e3f904df96689b52149b2ec
2022-06-24 17:25:56 +08:00
Jingwei.Zhang
55e0abab85 fix: fix key pair used count in console overview page
1. Fix key pair used count in console overview page: use the key pair count of current user
2. Add tip to key pair quota title
3. Optimize tooltip when hover progress bar instead of title

Change-Id: I66aed4a6a10685be41fb3d7ef282ca02b4b2f831
2022-06-24 15:37:53 +08:00
Jingwei.Zhang
b1591a9a56 feat: update quota display
1. Update quota display: from one row two resources to onw row only one resource
2. Update quota card style

Change-Id: If978a54c53eaad442bc165832cf3fd6e90719080
2022-06-22 09:36:51 +08:00
Jingwei.Zhang
32cb739fd6 fix: fix overview page style when no-cinder
1. Fix cards styles in no-cinder overview page
2. Fix resource card style in no-cinder administra overview page
3. Fix overview cards border-radius, shadow, margin

Change-Id: Ifc44a923300074c07c6ff2eff449b1cfe0d003b1
2022-06-21 11:15:14 +08:00
xusongfu
99d839a24f fix: Fix virtual resource about compute
Use Nova service api to get the correct count of compute

Change-Id: I6a2bd8797e219d31f899f86e338acb5c56fd2707
2022-06-07 14:59:38 +08:00
Jingwei.Zhang
eec23aebf0 fix: Add unit to memory quota
1. Add GiB unit to memory quota
2. Fix database && container volume size unit to GiB

Change-Id: I553a20e9fa620f2cda3509b52d801894d230040c
2022-05-27 16:18:58 +08:00
Jingwei.Zhang
eae1e27256 fix: Fix GB/MB unit to GiB/MiB
1. Fix size unit to GiB/MiB for
volume/snapshot/backup/image/flavor/monitor
2. Update i18n for Zun

Change-Id: I97bc881b438c9922a2123c36b7e8ea40e5307fd2
2022-05-25 14:48:02 +08:00
Eunyoung Kim
409b0223c0 fix: Fix Typo - Append closing parenthesis
Fix append closing parenthesis in Memory usage Num Card
in the overview page in the administrator

Change-Id: I524259791064b7dd7c067c1ad7fa4192548440a9
2022-05-23 02:14:43 +00:00
yangao
3defbe8330 fix: Decorator style for refactored components
Decorator style for refactored components

Change-Id: Ib85517474ace19967b4901e388800c1258f246be
2022-05-17 14:48:38 +08:00
Jingwei.Zhang
0c09862b35 feat: Support manila share
1. Add manila share page in console and administrator
2. Add console create share
3. Add console edit share
4. Add delete share in console and administrator
5. Add share quota info in console overview page
6. Add share quota info in administrator project detail page
7. Add share metadata tab in share detail page
8. Add create share metadata in console
9. Add edit share metadata in console
10. Add delete share metadata in console and administrator
11. Add manage share metadata action in console
12. Add access rule tab in share detail page
13. Add crate access rule in console
14. Add delete acees rule in console and administrator
15. Add manage access rule metadata in console
16. Add manage access rule action in console

Change-Id: I8c80c80340e214827bcde0d62dc0521e4b2b1ea9
2022-05-07 16:26:21 +08:00
Zuul
c8eb7086ad Merge "refactor: Update style" 2022-03-26 09:36:40 +00:00
xusongfu
7ac40b2650 fix: Support no-cinder
1. Update base client to support service disable
2. Remove volume in create instance if no-cinder
3. Remove cinder services in overview page if no-cinder
4. Remove some storage services if no-cinder
5. Remove volume in monitor centers if no-cinder

Change-Id: Ib6f8f3ed86098b4097b0428b48f0b136bf5ee349
Closes-Bug: #1939984
2022-03-25 12:57:28 +08:00
Jingwei.Zhang
ce0042945f refactor: Update style
1. Support style check: stylelint
2. Add stylelint check in lint-staged husky
2. Update styles

Change-Id: Id793b0936e4c3ea27ddef0df794d5b711880599f
2022-03-02 11:04:01 +08:00
Jingwei.Zhang
f81ac5651a fix: Fix word spell
1. Add eslint plugin spellcheck to check word spell
2. Fix word spell

Change-Id: I73d39cf797ef5bdf993b0154816134a1e93f2ed4
2022-01-18 11:25:58 +08:00
Jingwei.Zhang
3109d9bc98 refactor: Refactor manage project quota
Refactor manage project quota

Change-Id: Id81e42080fe9ad296be68a4dedeb24bb24daf9c5
2021-09-23 15:37:14 +08:00
Jingwei.Zhang
ae266d3d74 refactor: Refactor project detail quota codes
1. Refactor project quota in project detail page
2. Add keypair quota display in overview/project detail quota page

Change-Id: I40e5925909d767a87eadd09cfb9c11ea1624cead
2021-09-22 16:39:59 +08:00
Jingwei.Zhang
e182d62b34 refactor: Refactor console overview codes
Refactor console overview codes

Change-Id: I1c64a6def03979d08316d485751acca6dc6341c2
2021-09-18 17:22:54 +08:00
Jingwei.Zhang
cc7222106f feat: Refactor admin overview codes
Refactor overview admin codes

Change-Id: I33dfd8a96ff17b9dac33d53e60dc19a498af4a91
2021-09-18 10:32:56 +08:00
Jingwei.Zhang
318f7b195d fix: Remove useless component && update path && update image
1. Remove useless component: NotFound, EmptyTable
2. Update asset path according to alias in webpack
3. Update page path according to alias in webpack
4. Remove useless image
5. Update image name

Change-Id: I0c8fc48733d0a0f9df80e8cc37db63fdebaa166b
2021-09-15 11:56:56 +08:00
zhangjingwei
bc9b43e08c fix: Fix table height with hint
Fix table height with hint

Change-Id: I89f9db8d93590922ab02f6ad025c9a253bc56034
2021-09-02 16:42:37 +08:00
Jingwei.Zhang
73e352c4d5 feat: Update import && export
1. Update import with @ to relative path
2. Update decorator export

Change-Id: Ib199a7c5eb54e1f30377af0349bca5959a1e54cc
2021-08-31 17:47:01 +08:00
Jingwei.Zhang
c960f06c1a feat: Support client module
1. Add client module to request openstack api
2. Remove window.request, stores use client to request api
3. Remove window.globals, use globalRootStore to deal with user info

Change-Id: I5657cfd8cf142dbacce8716991f805bbbb4a9222
2021-08-24 15:58:45 +08:00
Jingwei.Zhang
ae3b0fa579 fix: Fix pass props from layout
1. Fix pass props from layout
2. Fix space to tab in Makefile

Change-Id: I6de5a95360b2cbe4ad35162a6f83decd2ba506c1
2021-08-24 11:30:09 +08:00
xusongfu
42a5e8331d fix: Fix white screen problem
Change layouts stack to avoid the white screen problem when route change

Change-Id: Ie14b4cde7f0e4ac347b1fc108c648fef91b8e0c9
2021-08-23 17:09:38 +08:00
zhuyue
df3d0617c7 fix: Fix some style
1. fix overview style
2. change menu position
3. fix metadata detail json css

Change-Id: I656fee63a4d54d3f17ed58617749aa79fa6ab6ec
2021-08-20 07:54:42 +00:00
Hanxiang Gao
4eb68e7fb2 feat: Add initial code of skyline-console
Add initial code of skyline-console

Change-Id: Icba2152a014761f53789357b5085d0779cd0e2a4
2021-06-01 23:29:30 +08:00