From ca57d3d7b3b7bc18eb69dd7922721473880ce9f5 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sat, 9 Dec 2023 20:33:11 +0100 Subject: [PATCH] [#340] Initial implementation of the alarm entities UI. --- .../backend/http/webapp/src/assets/icons.json | 3 + .../src/components/panels/Entities/Alarm.vue | 206 ++++++++++++++++++ .../src/components/panels/Entities/meta.json | 8 + 3 files changed, 217 insertions(+) create mode 100644 platypush/backend/http/webapp/src/components/panels/Entities/Alarm.vue diff --git a/platypush/backend/http/webapp/src/assets/icons.json b/platypush/backend/http/webapp/src/assets/icons.json index 97cb2fc50..ac1f07edd 100644 --- a/platypush/backend/http/webapp/src/assets/icons.json +++ b/platypush/backend/http/webapp/src/assets/icons.json @@ -1,4 +1,7 @@ { + "alarm": { + "class": "fas fa-stopwatch" + }, "arduino": { "class": "fas fa-microchip" }, diff --git a/platypush/backend/http/webapp/src/components/panels/Entities/Alarm.vue b/platypush/backend/http/webapp/src/components/panels/Entities/Alarm.vue new file mode 100644 index 000000000..1fadaf8da --- /dev/null +++ b/platypush/backend/http/webapp/src/components/panels/Entities/Alarm.vue @@ -0,0 +1,206 @@ + + + + + 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 5b69b966e..e7f5362b6 100644 --- a/platypush/backend/http/webapp/src/components/panels/Entities/meta.json +++ b/platypush/backend/http/webapp/src/components/panels/Entities/meta.json @@ -1,4 +1,12 @@ { + "alarm": { + "name": "Alarm", + "name_plural": "Alarms", + "icon": { + "class": "fas fa-stopwatch" + } + }, + "assistant": { "name": "Assistant", "name_plural": "Assistants",