From 966916a408514bef719558200991978976fd344c Mon Sep 17 00:00:00 2001 From: Denis Roussel Date: Thu, 14 Nov 2024 17:49:12 +0100 Subject: [PATCH] [IMP] web_widget_progressbar_gradient: Add inverse option Allows to reverse the gradient rendering --- web_widget_progressbar_gradient/README.rst | 10 ++++++++ .../readme/CONTRIBUTORS.md | 1 + .../readme/DESCRIPTION.md | 6 +++++ .../readme/USAGE.md | 2 ++ .../static/description/index.html | 10 ++++++++ .../description/progressbar_gradient.png | Bin 9152 -> 9061 bytes .../progressbar_gradient_inverse.png | Bin 0 -> 9152 bytes .../static/src/js/progressbar.esm.js | 24 ++++++++++++++++++ .../static/src/scss/progressbar.scss | 13 +++++++++- .../static/src/xml/progressbar.xml | 7 ----- 10 files changed, 65 insertions(+), 8 deletions(-) create mode 100644 web_widget_progressbar_gradient/static/description/progressbar_gradient_inverse.png diff --git a/web_widget_progressbar_gradient/README.rst b/web_widget_progressbar_gradient/README.rst index a16c1ed17b11..fd73c1051dc8 100644 --- a/web_widget_progressbar_gradient/README.rst +++ b/web_widget_progressbar_gradient/README.rst @@ -32,9 +32,16 @@ This module allows to display progress bars with colorized gradient bar. The color will increase following value from green passing per yellow and finishing to red. +- Normal rendering: + |Progressbar Gradient| +- Reverse rendering: + +|Progressbar Inverse Gradient| + .. |Progressbar Gradient| image:: https://raw.githubusercontent.com/OCA/web/16.0/web_widget_progressbar_gradient/static/description/progressbar_gradient.png +.. |Progressbar Inverse Gradient| image:: https://raw.githubusercontent.com/OCA/web/16.0/web_widget_progressbar_gradient/static/description/progressbar_gradient_inverse.png **Table of contents** @@ -46,6 +53,8 @@ Usage - When declaring a progressbar field, use the 'progressbar_color' widget. +- Add the inverse option to reverse the colors on the progress bar + field: ``options="{'inverse': true}"`` Known issues / Roadmap ====================== @@ -76,6 +85,7 @@ Contributors - Denis Roussel denis.roussel@acsone.eu - Jacques-Etienne Baudoux je@bcim.be +- Souheil Bejaoui souheil.bejaoui@acsone.eu Maintainers ----------- diff --git a/web_widget_progressbar_gradient/readme/CONTRIBUTORS.md b/web_widget_progressbar_gradient/readme/CONTRIBUTORS.md index 48218ea22679..2c5aaa0206f7 100644 --- a/web_widget_progressbar_gradient/readme/CONTRIBUTORS.md +++ b/web_widget_progressbar_gradient/readme/CONTRIBUTORS.md @@ -1,2 +1,3 @@ - Denis Roussel - Jacques-Etienne Baudoux +- Souheil Bejaoui diff --git a/web_widget_progressbar_gradient/readme/DESCRIPTION.md b/web_widget_progressbar_gradient/readme/DESCRIPTION.md index 874a82bf24bc..02a379a11ed2 100644 --- a/web_widget_progressbar_gradient/readme/DESCRIPTION.md +++ b/web_widget_progressbar_gradient/readme/DESCRIPTION.md @@ -2,4 +2,10 @@ This module allows to display progress bars with colorized gradient bar. The color will increase following value from green passing per yellow and finishing to red. +- Normal rendering: + ![Progressbar Gradient](../static/description/progressbar_gradient.png) + +- Reverse rendering: + +![Progressbar Inverse Gradient](../static/description/progressbar_gradient_inverse.png) diff --git a/web_widget_progressbar_gradient/readme/USAGE.md b/web_widget_progressbar_gradient/readme/USAGE.md index e81aa072c86d..a3cd945eea10 100644 --- a/web_widget_progressbar_gradient/readme/USAGE.md +++ b/web_widget_progressbar_gradient/readme/USAGE.md @@ -1 +1,3 @@ - When declaring a progressbar field, use the 'progressbar_color' widget. +- Add the inverse option to reverse the colors on the progress bar field: + ``options="{'inverse': true}"`` diff --git a/web_widget_progressbar_gradient/static/description/index.html b/web_widget_progressbar_gradient/static/description/index.html index 0291c107651b..a855bd23c460 100644 --- a/web_widget_progressbar_gradient/static/description/index.html +++ b/web_widget_progressbar_gradient/static/description/index.html @@ -373,7 +373,14 @@

Web Widget Progressbar Gradient

This module allows to display progress bars with colorized gradient bar. The color will increase following value from green passing per yellow and finishing to red.

+
    +
  • Normal rendering:
  • +

Progressbar Gradient

+
    +
  • Reverse rendering:
  • +
+

Progressbar Inverse Gradient

Table of contents

    @@ -393,6 +400,8 @@

    Usage

    • When declaring a progressbar field, use the ‘progressbar_color’ widget.
    • +
    • Add the inverse option to reverse the colors on the progress bar +field: options="{'inverse': true}"
@@ -423,6 +432,7 @@

Contributors

diff --git a/web_widget_progressbar_gradient/static/description/progressbar_gradient.png b/web_widget_progressbar_gradient/static/description/progressbar_gradient.png index 8df8e74d6aaff32702d8599d84b53835c05fc26f..3ef7bbbb584a7195a5deb32c87a67ede6bab5481 100644 GIT binary patch literal 9061 zcmbVyXIN9+wl0c*O7DUQ(n7BRq$2_X5_<1dL+_nX1OX8N>7AhT4u)Pung~gd-jSBj zTR^0rxbNNP-hG~Lf9Ib2W2}{D{g`WJ&N;?-%Zky`P$s@le;)@2hgelbQ3rd6;^5p8 zx{HtfWfSQB9ecayu43$kgG18$CvK(kkUYe}d5oi~D6i+Avzr^_t+(EBDwi!N!4PG0 zn}Yi^d_J6l_a6V#^h2tn+1?lK*3C7Iw;f3cs7m!-;ML#tBv&jaCm+Gbd;P4QEqLka z5}<;fC%x%TR#>Fgv%5KLPgyvUU%|;xSGK=~cQS|9gei~KjxL%-_O5o&nH)Xo``5cy z!`Jb?7r$Jj!t=vO$~hj_TPi}rh5srf@yE{A$}WquqDSt$XQVC*ydTHHd3ekF2H9uN z?0dH*g2qO9+v;>0&|6m}(In;XA~h#9FTcG}uuv-pS&uCKojb=ippmC76ZxF7{x{CZ zQw0Uwk)3!Kb%imUo%k!njic{Ci2B&Y=5Cf@TS$9QX!5Y0y}U@=?;WcFlIb7EeUfbp zB)%mF#}T!*ewR>cj0c+YD5=0y0O+c|KX z<24~^)-y<}{LD$H*_?0Ns^t{(xt#ApFA)MvfY$Jn%G>qz=Vbcedq*uRK(7RK{trAdcU*u^y70&%tSz{&ALHiAXAS^#u6Zjwn3H76;7Eiomu_{HO9|&8gO?IRc%nY za2n{sOM9Pj$gf#ZXvarU=)#OIOh|+joDiS>calVRLSjtQqN()0x9XZKPg?My6_uz@nC1Ccj zZZA2&X+14TV29@1HW!&l|2A0h2}v6G`%yLLDh?hg(#po~ZbEbP=ulr+T=>fUudKtj z)V2384f^kpUe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pf|DuI*yD2fY1L!CHwAgw8XjUX0NP#D86HCfBY8Gql3hxt8=C z+uC31z9Mjc_*6e!XolkHj^OwI=%}$<-hZ8zqOz=C@?`IZ*r6ZO^Dc8R-2xtJX=7@K z43KN%WZq8U$9~k4+M6^h7B7L>)%onedvWkQO{J>~l5|GZa;UzL{Ph=92c_cA$eA=N z%L1;PYdxl1?xiViKR7Lpj#oGv!*lne#Ra6#7xYDlYSfA_D9)=yR}d@J|6Vk~T{zH& zhj+vB*I9u7|Cl29aJ%q{SN^%o2iXs)6-BuG6Wsbp#t=u+n}$v=s^krFJ3A+PiUXY2 zB>U}m3?&7v?!u4rUyM-MS@n9I#CzT!6^Ow~`-JW@qc)Of@_SqNnFJ z3;(@4PWo-v#(9fK%Y&MqLR;iEtnEjS$T?`UBxyh@eQf3^+okwM?S&gfbGkuSO@nS{ zK4J{K(~I64oApeL#JAY~@u}YAS^-UD7QYvHJHz`uuZiOcJj-)&=OzN4k3cg`qvjSu zP2AkE#~g$8(su~|P+^2mOWaY{6yf*(@d@h8@ua!|-ezoNKt);IsCA?DS0XjLjitDk7giLw)9*|an}H|$q9TXA)-vDWJKJ&VC&@FE9I1axuw z9j}?HA|R@sZ*0QNr#iU~d$ik~zjOWEqqgy1{Wyr$9e!BX zbb-gF$@RTubrTJe6Q|x8L&ozljyOX26CF7UhO+6eYN}1Hl_|%jayZpo{mMg8f~P|Q z;y}&2-}Sd&cF%|zyy8j(oz zrr)@Doh&9O3!^S{Az#XDR@j`;H65iwoHKvC2#M;lQf5;F;$CYQm(cU+ghXwj67S+# z6L;5(5{YDk?%+WI-4)dQ)V?4cO(Z-NkL7%Sk@%q F{{W9GSPTFF diff --git a/web_widget_progressbar_gradient/static/description/progressbar_gradient_inverse.png b/web_widget_progressbar_gradient/static/description/progressbar_gradient_inverse.png new file mode 100644 index 0000000000000000000000000000000000000000..8df8e74d6aaff32702d8599d84b53835c05fc26f GIT binary patch literal 9152 zcmb_?XIN9)x-J%qARtnuN)eQ%b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XjLjitDk7giLw)9*|an}H|$q9TXA)-vDWJKJ&VC&@FE9I1axuw z9j}?HA|R@sZ*0QNr#iU~d$ik~zjOWEqqgy1{Wyr$9e!BX zbb-gF$@RTubrTJe6Q|x8L&ozljyOX26CF7UhO+6eYN}1Hl_|%jayZpo{mMg8f~P|Q z;y}&2-}Sd&cF%|zyy8j(oz zrr)@Doh&9O3!^S{Az#XDR@j`;H65iwoHKvC2#M;lQf5;F;$CYQm(cU+ghXwj67S+# z6L;5(5{YDk?%+WI-4)dQ)V?4cO(Z-NkL7%Sk@%q F{{W9GSPTFF literal 0 HcmV?d00001 diff --git a/web_widget_progressbar_gradient/static/src/js/progressbar.esm.js b/web_widget_progressbar_gradient/static/src/js/progressbar.esm.js index 19eedd0852ff..f75a80794efd 100644 --- a/web_widget_progressbar_gradient/static/src/js/progressbar.esm.js +++ b/web_widget_progressbar_gradient/static/src/js/progressbar.esm.js @@ -5,11 +5,35 @@ import {ProgressBarField} from "@web/views/fields/progress_bar/progress_bar_field"; import {registry} from "@web/core/registry"; +const {onMounted} = owl; export class ProgressBarFieldGradient extends ProgressBarField { setup() { super.setup(); + onMounted(() => this._mounted()); + } + + _mounted() { + // Set the gradient css and inverse if set + for (const child of this.__owl__.bdom.el.children) { + if (child.classList.contains("o_progress")) { + child.children[0].classList.add("o_progressbar_gradient"); + if (this.props.inverse) { + child.children[0].classList.add("o_inverse"); + } + } + } } } +ProgressBarFieldGradient.extractProps = ({attrs}) => { + return { + inverse: attrs.options.inverse, + }; +}; ProgressBarFieldGradient.template = "web_widget_progressbar_color.ProgressBarFieldGradient"; +ProgressBarFieldGradient.props = { + ...ProgressBarField.props, + inverse: {type: Boolean, optional: true}, +}; + registry.category("fields").add("progressbar_gradient", ProgressBarFieldGradient); diff --git a/web_widget_progressbar_gradient/static/src/scss/progressbar.scss b/web_widget_progressbar_gradient/static/src/scss/progressbar.scss index fc865523a29a..b3795b14e5ce 100644 --- a/web_widget_progressbar_gradient/static/src/scss/progressbar.scss +++ b/web_widget_progressbar_gradient/static/src/scss/progressbar.scss @@ -8,7 +8,8 @@ div:has(div.o_progressbar_gradient) .o_progressbar .o_progress { -webkit-mask: linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0); } -.o_progressbar .o_progress .o_progressbar_gradient::before { + +.o_progressbar .o_progress .o_progressbar_gradient.o_inverse::before { content: ""; position: absolute; top: 0; @@ -17,3 +18,13 @@ div:has(div.o_progressbar_gradient) .o_progressbar .o_progress { bottom: 0; background-image: linear-gradient(to right, #198754, #ffc107, #dc3545); } + +.o_progressbar .o_progress .o_progressbar_gradient::before { + content: ""; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-image: linear-gradient(to right, #dc3545, #ffc107, #198754); +} diff --git a/web_widget_progressbar_gradient/static/src/xml/progressbar.xml b/web_widget_progressbar_gradient/static/src/xml/progressbar.xml index d762571cc4e2..eed36cc6fdbe 100644 --- a/web_widget_progressbar_gradient/static/src/xml/progressbar.xml +++ b/web_widget_progressbar_gradient/static/src/xml/progressbar.xml @@ -9,12 +9,5 @@ t-inherit-mode="primary" owl="1" > - - -