From 186a21f7153fba1e632140b997f744da25c0057f Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sat, 15 Apr 2023 01:22:36 +0200 Subject: [PATCH] Added CpuInfo entity frontend components. --- .../backend/http/webapp/src/assets/icons.json | 3 + .../components/panels/Entities/CpuInfo.vue | 218 ++++++++++++++++++ .../src/components/panels/Entities/meta.json | 8 + 3 files changed, 229 insertions(+) create mode 100644 platypush/backend/http/webapp/src/components/panels/Entities/CpuInfo.vue diff --git a/platypush/backend/http/webapp/src/assets/icons.json b/platypush/backend/http/webapp/src/assets/icons.json index 70bf4457cb..5f53508872 100644 --- a/platypush/backend/http/webapp/src/assets/icons.json +++ b/platypush/backend/http/webapp/src/assets/icons.json @@ -113,6 +113,9 @@ "sound": { "class": "fa fa-microphone" }, + "system": { + "class": "fas fa-microchip" + }, "tts": { "class": "far fa-comment" }, diff --git a/platypush/backend/http/webapp/src/components/panels/Entities/CpuInfo.vue b/platypush/backend/http/webapp/src/components/panels/Entities/CpuInfo.vue new file mode 100644 index 0000000000..e641ed6b87 --- /dev/null +++ b/platypush/backend/http/webapp/src/components/panels/Entities/CpuInfo.vue @@ -0,0 +1,218 @@ + + + + + diff --git a/platypush/backend/http/webapp/src/components/panels/Entities/meta.json b/platypush/backend/http/webapp/src/components/panels/Entities/meta.json index 9df02b289c..93de899fb2 100644 --- a/platypush/backend/http/webapp/src/components/panels/Entities/meta.json +++ b/platypush/backend/http/webapp/src/components/panels/Entities/meta.json @@ -15,6 +15,14 @@ } }, + "cpu_info": { + "name": "System", + "name_plural": "System", + "icon": { + "class": "fas fa-microchip" + } + }, + "current_sensor": { "name": "Sensor", "name_plural": "Sensors",