Add icon to explain in more detail the system stats / storage info (#6358)

* Add info icon with additional info for each process.

* Specify single CPU core

* Include storage in tooltips
This commit is contained in:
Nicolas Mowen
2023-05-04 17:01:27 -06:00
committed by GitHub
parent 02f577347d
commit ef50af03f2
3 changed files with 110 additions and 9 deletions

20
web/src/icons/About.jsx Normal file
View File

@@ -0,0 +1,20 @@
import { h } from 'preact';
import { memo } from 'preact/compat';
export function About({ className = '' }) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
fill="currentColor"
viewBox="0 0 24 24"
strokeWidth={1.5}
stroke="currentColor"
className={`${className}`}
>
<path d="M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z" />
</svg>
);
}
export default memo(About);