From 1133c6019af765d4800e52d7ec7d59301240af0f Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Thu, 5 Sep 2024 01:56:49 +0200 Subject: [PATCH] [UI] Added general-purpose entity icon editor component. --- .../components/panels/Entities/IconEditor.vue | 260 ++++++++++++++++++ .../src/components/panels/Entities/Modal.vue | 122 ++------ 2 files changed, 276 insertions(+), 106 deletions(-) create mode 100644 platypush/backend/http/webapp/src/components/panels/Entities/IconEditor.vue diff --git a/platypush/backend/http/webapp/src/components/panels/Entities/IconEditor.vue b/platypush/backend/http/webapp/src/components/panels/Entities/IconEditor.vue new file mode 100644 index 0000000000..a547fb0e68 --- /dev/null +++ b/platypush/backend/http/webapp/src/components/panels/Entities/IconEditor.vue @@ -0,0 +1,260 @@ + + + + + diff --git a/platypush/backend/http/webapp/src/components/panels/Entities/Modal.vue b/platypush/backend/http/webapp/src/components/panels/Entities/Modal.vue index fd704d6933..94323f2444 100644 --- a/platypush/backend/http/webapp/src/components/panels/Entities/Modal.vue +++ b/platypush/backend/http/webapp/src/components/panels/Entities/Modal.vue @@ -20,40 +20,7 @@
-
- Icon - -
-
- - - - - - Supported: image URLs or - FontAwesome icon classes. - - - - -
-
- -
-
- Icon color -
-
- - -
+
@@ -206,14 +173,13 @@