Skip to content
Snippets Groups Projects
Commit 54b22541 authored by qsm-odoo's avatar qsm-odoo
Browse files

[IMP] mass_mailing: use standard background colorpicker

parent 61e48b09
No related branches found
No related tags found
No related merge requests found
......@@ -40,85 +40,12 @@
<li data-background=""><a>No background image</a></li>
</div> -->
<div data-js='colorpicker'
<div data-js="colorpicker"
data-selector="div.snippet_row td">
<li class="dropdown-submenu">
<a tabindex="-1" href="#"><i class="fa fa-eyedropper"/>Background Colors</a>
<a tabindex="-1" href="#"><i class="fa fa-eyedropper"/>Background Color</a>
<ul class="dropdown-menu">
<li class="dropdown-submenu">
<a href="#">Theme Colors</a>
<ul class="dropdown-menu">
<table class="colorpicker">
<tr>
<td>
<button title="" data-original-title="" class="bg-alpha" data-value="bg-alpha" data-event="backColor" data-color="alpha">Alpha</button>
</td>
</tr>
<tr>
<td>
<button title="" data-original-title="" class="bg-beta" data-value="bg-beta" data-event="backColor" data-color="beta">Beta</button>
</td>
</tr>
<tr>
<td>
<button title="" data-original-title="" class="bg-gamma" data-value="bg-gamma" data-event="backColor" data-color="gamma">Gamma</button>
</td>
</tr>
<tr>
<td>
<button title="" data-original-title="" class="bg-delta" data-value="bg-delta" data-event="backColor" data-color="delta">Delta</button>
</td>
</tr>
<tr>
<td>
<button title="" data-original-title="" class="bg-epsilon" data-value="bg-epsilon" data-event="backColor" data-color="epsilon">Epsilon</button>
</td>
</tr>
</table>
</ul>
</li>
<li class="dropdown-submenu">
<a href="#">Black and White</a>
<ul class="dropdown-menu">
<table class="colorpicker">
<tr>
<td>
<button data-color="white" data-event="backColor" data-value="bg-white" class="bg-white" data-original-title="" title="">White</button>
</td>
</tr>
<tr>
<td>
<button data-color="gray-lighter" data-event="backColor" data-value="bg-gray-lighter" class="bg-gray-lighter" data-original-title="" title="">Gray Lighter</button>
</td>
</tr>
<tr>
<td>
<button data-color="gray-light" data-event="backColor" data-value="bg-gray-light" class="bg-gray-light" data-original-title="" title="">Gray Light</button>
</td>
</tr>
<tr>
<td>
<button data-color="gray" data-event="backColor" data-value="bg-gray" class="bg-gray" data-original-title="" title="">Gray</button>
</td>
</tr>
<tr>
<td>
<button data-color="gray-dark" data-event="backColor" data-value="bg-gray-dark" class="bg-gray-dark" data-original-title="" title="">Gray Dark</button>
</td>
</tr>
<tr>
<td>
<button data-color="gray-darker" data-event="backColor" data-value="bg-gray-darker" class="bg-gray-darker" data-original-title="" title="">Gray Darker</button>
</td>
</tr>
<tr>
<td>
<button data-color="black" data-event="backColor" data-value="bg-black" class="bg-black" data-original-title="" title="">Black</button>
</td>
</tr>
</table>
</ul>
</li>
<li></li>
</ul>
</li>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment