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/1074/head
Jairo Llopis
7 years ago
No known key found for this signature in database
GPG Key ID: 59564BF1E22F314F
8 changed files with 59 additions and 79 deletions
-
21web_editor_background_color/README.rst
-
5web_editor_background_color/__manifest__.py
-
BINweb_editor_background_color/static/description/mass_mailing_editor.png
-
19web_editor_background_color/static/src/css/background_color.less
-
45web_editor_background_color/static/src/js/background_color.js
-
13web_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