You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

18 lines
877 B

<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<t t-name="FieldColor">
<span class="oe_form_field oe_colorpicker_root oe_form_field_color" t-att-style="widget.node.attrs.style"/>
</t>
<t t-name="web.colorpicker">
<span>
<t t-set="placeholder" t-value="widget.getParent().node and widget.getParent().node.attrs.placeholder"/>
<input type="text" class="oe_colorpicker_container" disabled="disabled" style="display: none;"/>
<input type="text"
t-att-name="widget.name"
t-att-placeholder="placeholder"
class="oe_colorpicker_master"
/><img class="oe_input_icon oe_colorpicker_trigger" t-att-src='_s + "/web/static/src/img/icons/color-picker.png"'
title="Select color value" width="16" height="16" border="0"/>
</span>
</t>
</templates>