Upgrade charts to ChartJS 3 and improve UI for them
This commit is contained in:
parent
980f828edd
commit
182507ff0e
8 changed files with 269 additions and 179 deletions
|
@ -85,9 +85,9 @@ const ServerDetailsBlock = ({ className }: { className?: string }) => {
|
|||
</StatBlock>
|
||||
<StatBlock
|
||||
icon={faMicrochip}
|
||||
title={'CPU'}
|
||||
title={'CPU Load'}
|
||||
color={getBackgroundColor(stats.cpu, limits.cpu)}
|
||||
description={limits.memory
|
||||
description={limits.cpu
|
||||
? `This server is allowed to use up to ${limits.cpu}% of the host's available CPU resources.`
|
||||
: 'No CPU limit has been configured for this server.'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue