-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] web_widget_progressbar_gradient: Add inverse option
Allows to reverse the gradient rendering
- Loading branch information
1 parent
d09b4aa
commit 966916a
Showing
10 changed files
with
65 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 [email protected] | ||
- Jacques-Etienne Baudoux [email protected] | ||
- Souheil Bejaoui [email protected] | ||
|
||
Maintainers | ||
----------- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
- Denis Roussel <[email protected]> | ||
- Jacques-Etienne Baudoux <[email protected]> | ||
- Souheil Bejaoui <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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}"`` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-91 Bytes
(99%)
web_widget_progressbar_gradient/static/description/progressbar_gradient.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.94 KB
...widget_progressbar_gradient/static/description/progressbar_gradient_inverse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters