Browse Source
[MIG][web_editor_background_color] Migrate to v10
[MIG][web_editor_background_color] Migrate to v10
Now it fits into upstream's color picker, just adding a new tab at the end. All known issues have been addressed.pull/665/head
Jairo Llopis
8 years ago
8 changed files with 59 additions and 79 deletions
-
23web_editor_background_color/README.rst
-
5web_editor_background_color/__manifest__.py
-
BINweb_editor_background_color/static/description/mass_mailing_editor.png
-
23web_editor_background_color/static/src/css/background_color.less
-
45web_editor_background_color/static/src/js/background_color.js
-
15web_editor_background_color/static/src/xml/colorpicker.xml
-
2web_editor_background_color/templates/assets.xml
-
25web_editor_background_color/views/snippets.xml
Before Width: 618 | Height: 282 | Size: 43 KiB After Width: 559 | Height: 329 | Size: 43 KiB |
@ -1,25 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- Copyright 2017 Jairo Llopis <jairo.llopis@tecnativa.com> |
|||
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). --> |
|||
|
|||
<odoo> |
|||
|
|||
<template id="snippet_options" |
|||
inherit_id="web_editor.snippet_options"> |
|||
|
|||
<xpath expr="."> |
|||
<!-- The same option that already exists in website editor, but |
|||
enabled for mass mailing editor --> |
|||
<div data-js='colorpicker' |
|||
data-selector=".bg-color, #editable_area > div, a.o_default_snippet_text"> |
|||
<li class="dropdown-submenu"> |
|||
<a tabindex="-1" href="#">Color</a> |
|||
<ul class="dropdown-menu"> |
|||
<li></li> |
|||
</ul> |
|||
</li> |
|||
</div> |
|||
</xpath> |
|||
</template> |
|||
|
|||
</odoo> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue