client tabledefs: add name & icon
This commit is contained in:
parent
405df9acfc
commit
5bbe91c3e9
2 changed files with 77 additions and 69 deletions
|
@ -2,7 +2,10 @@
|
|||
|
||||
import human_filesize from '../misc/human_filesize.mjs';
|
||||
|
||||
export default [
|
||||
export default {
|
||||
name: "Hardware: CPU",
|
||||
icon: [ "square-o", "microchip" ],
|
||||
items: [
|
||||
{
|
||||
name: "Model",
|
||||
type: "table",
|
||||
|
@ -41,4 +44,5 @@ export default [
|
|||
"L3": (table) => `${human_filesize(table.cache.l3)}`,
|
||||
}
|
||||
},
|
||||
];
|
||||
]
|
||||
};
|
||||
|
|
|
@ -2,7 +2,10 @@
|
|||
|
||||
import human_filesize from '../misc/human_filesize.mjs';
|
||||
|
||||
export default [
|
||||
export default {
|
||||
name: "CPU",
|
||||
icon: microchip,
|
||||
items: [
|
||||
{
|
||||
name: "Frequency (GHz)",
|
||||
type: "guage",
|
||||
|
@ -31,4 +34,5 @@ export default [
|
|||
guage: { min: 0, max: 100 },
|
||||
content: "main"
|
||||
}
|
||||
];
|
||||
]
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue