diff options
Diffstat (limited to 'addons/website/static/src/xml/website.editor.xml')
| -rw-r--r-- | addons/website/static/src/xml/website.editor.xml | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml index d02d82eb5aa..2f8473d90c3 100644 --- a/addons/website/static/src/xml/website.editor.xml +++ b/addons/website/static/src/xml/website.editor.xml @@ -49,10 +49,28 @@ </div> </t> <t t-name="website.theme_customize_widget_color"> - <div t-attf-class="bg-#{color} o_theme_customize_color o_theme_customize_color_#{color}" + <div t-attf-class="o_theme_customize_color o_theme_customize_color_#{color}" t-att-data-color="color" t-att-data-color-type="colorType"/> </t> + <t t-name="website.theme_customize_widget_input"> + <div t-attf-class="o_theme_customize_input o_theme_customize_input_#{value}" + t-att-data-value="value" + t-att-data-unit="unit"> + <i class="fa fa-edit"/> + <span/> + </div> + </t> + <t t-name="website.theme_customize_active_input"> + <div class="input-group input-group-sm align-items-center o_theme_customize_active_input"> + <input type="text" class="form-control" t-att-value="widget.value"/> + <div class="input-group-append"> + <div t-if="widget.unit" class="input-group-text"><t t-esc="widget.unit"/></div> + <button type="button" class="btn btn-primary fa fa-check" title="Save"/> + <button type="button" class="btn btn-secondary fa fa-undo" title="Reset"/> + </div> + </div> + </t> <t t-extend="wysiwyg.widgets.link"> <t t-jquery="#o_link_dialog_url_input" t-operation="after"> |
