From 02fbb737b96ab8e35123219db5cdcc008729953b Mon Sep 17 00:00:00 2001 From: Patrick Hoste Date: Fri, 12 Jul 2019 11:15:36 +0200 Subject: [ADD] web: add a new ribbon widget (POC) Purpose ======= The ribbon widget adds a ribbon on the top right of a form to make some status more visible. You have to specify the text attribute to show the text on the ribbon. You can also specify a bg_color attribute to color the background with a bootstrap background color class. Note: This is an ugly draft of the final widget, that is supposed to land in master in a few days. As this PR brings a lot of functional changes in several files, it has become quite difficult to maintain it over the days. The final responsive version will come with: https://www.odoo.com/web#id=2032621&action=333&active_id=965&model=project.task&view_type=form&menu_id=4720 --- addons/web/static/src/xml/ribbon.xml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 addons/web/static/src/xml/ribbon.xml (limited to 'addons/web/static/src/xml') diff --git a/addons/web/static/src/xml/ribbon.xml b/addons/web/static/src/xml/ribbon.xml new file mode 100644 index 00000000000..f8d3efdbb72 --- /dev/null +++ b/addons/web/static/src/xml/ribbon.xml @@ -0,0 +1,8 @@ + + \ No newline at end of file -- cgit v1.2.3