From 84a76d2c766a883c51c666ac5ad03259da29c9ce Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Sun, 30 Jan 2022 13:36:37 +0100 Subject: [PATCH] ListWorkflow: styles for list (like in twig) --- .../Resources/public/chill/chillmain.scss | 1 + .../module/entity-workflow-pick/index.js | 1 - .../EntityWorkflow/ListWorkflow.vue | 140 ++++++++++++++---- .../EntityWorkflow/ListWorkflowModal.vue | 10 +- 4 files changed, 119 insertions(+), 33 deletions(-) diff --git a/src/Bundle/ChillMainBundle/Resources/public/chill/chillmain.scss b/src/Bundle/ChillMainBundle/Resources/public/chill/chillmain.scss index 39f8b3f8a..eac04acc2 100644 --- a/src/Bundle/ChillMainBundle/Resources/public/chill/chillmain.scss +++ b/src/Bundle/ChillMainBundle/Resources/public/chill/chillmain.scss @@ -474,6 +474,7 @@ div.workflow { // Override bootstrap popover styles div.popover { box-shadow: 0 0 10px -5px $dark; + z-index: 9999; .popover-arrow {} .popover-header {} .popover-body {} diff --git a/src/Bundle/ChillMainBundle/Resources/public/module/entity-workflow-pick/index.js b/src/Bundle/ChillMainBundle/Resources/public/module/entity-workflow-pick/index.js index 1572c9c9a..980f52fa8 100644 --- a/src/Bundle/ChillMainBundle/Resources/public/module/entity-workflow-pick/index.js +++ b/src/Bundle/ChillMainBundle/Resources/public/module/entity-workflow-pick/index.js @@ -7,7 +7,6 @@ const i18n = _createI18n({}); // list workflow document.querySelectorAll('[data-list-workflows]') .forEach(function (el) { - console.log('allowCreate', el.dataset.allowCreate); const app = { components: { ListWorkflowModalVue, diff --git a/src/Bundle/ChillMainBundle/Resources/public/vuejs/_components/EntityWorkflow/ListWorkflow.vue b/src/Bundle/ChillMainBundle/Resources/public/vuejs/_components/EntityWorkflow/ListWorkflow.vue index a59d83d79..7ed91dede 100644 --- a/src/Bundle/ChillMainBundle/Resources/public/vuejs/_components/EntityWorkflow/ListWorkflow.vue +++ b/src/Bundle/ChillMainBundle/Resources/public/vuejs/_components/EntityWorkflow/ListWorkflow.vue @@ -1,37 +1,86 @@