diff --git a/platypush/backend/http/webapp/src/Events.vue b/platypush/backend/http/webapp/src/Events.vue index 47deb49c0a..afbbfba0db 100644 --- a/platypush/backend/http/webapp/src/Events.vue +++ b/platypush/backend/http/webapp/src/Events.vue @@ -58,7 +58,10 @@ export default { handlers.push(...this.handlers[event.args.type]) } - for (const [handler] of handlers) { + for (let handler of handlers) { + if (handler instanceof Array) + handler = handler[0] + handler(event.args) } }, diff --git a/platypush/backend/http/webapp/src/style/themes/light.scss b/platypush/backend/http/webapp/src/style/themes/light.scss index 3ae3929f23..12e86b0a22 100644 --- a/platypush/backend/http/webapp/src/style/themes/light.scss +++ b/platypush/backend/http/webapp/src/style/themes/light.scss @@ -20,4 +20,16 @@ $notification-error-icon-color: #8b0000 !default; $loading-bg: #909090; //// Dashboard -$dashboard-bg: url('/img/dashboard-bg-light.jpg') +$dashboard-bg: url('/img/dashboard-bg-light.jpg'); + +//// Borders +$default-border: 1px solid #e1e4e8 !default; +$default-border-2: 1px solid #dddddd !default; +$default-border-3: 1px solid #cccccc !default; + +//// Hover +$default-hover-fg: #35b870 !default; +$default-hover-fg-2: #38cf80 !default; + +//// General-purpose colors +$selected-bg: #c8ffd0 !default; diff --git a/platypush/backend/http/webapp/src/views/Dashboard.vue b/platypush/backend/http/webapp/src/views/Dashboard.vue index fa308cdb36..61f24bffc3 100644 --- a/platypush/backend/http/webapp/src/views/Dashboard.vue +++ b/platypush/backend/http/webapp/src/views/Dashboard.vue @@ -1,10 +1,12 @@