[ADD] theme 10.0
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="theme_kiddo_website_options_pattern" inherit_id="website.snippet_options">
|
||||
<!-- Background image -->
|
||||
<xpath expr="//div[@data-js='background']//ul" position="replace">
|
||||
<ul class="dropdown-menu">
|
||||
<li data-background=""><a href="#">None</a></li>
|
||||
<li class="divider"></li>
|
||||
<li data-choose_image="choose_image"><a href="#"><b>Set Custom Image...</b></a></li>
|
||||
<li class="divider"></li>
|
||||
<li class="col-2" data-background="/web/image/theme_common.image_content_11"><a style="background-image:url(/web/image/theme_common.image_content_11/140x140)"/></li>
|
||||
<li class="col-2" data-background="/web/image/theme_common.image_content_09"><a style="background-image:url(/web/image/theme_common.image_content_09/140x140)"/></li>
|
||||
<li class="col-2" data-background="/web/image/theme_common.image_content_10"><a style="background-image:url(/web/image/theme_common.image_content_10/140x140)"/></li>
|
||||
<li class="col-2" data-background="/web/image/theme_common.image_content_12"><a style="background-image:url(/web/image/theme_common.image_content_12/140x140)"/></li>
|
||||
</ul>
|
||||
</xpath>
|
||||
|
||||
<xpath expr="//div[@data-js='background']" position="attributes">
|
||||
<attribute name="data-selector" remove="section" add="section:not(.s_color_blocks_4):not(.s_color_blocks_2)"/>
|
||||
</xpath>
|
||||
|
||||
<xpath expr="//div[@data-js='colorpicker']" position="attributes">
|
||||
<attribute name="data-selector" remove="section:not(.parallax)" add="section:not(.parallax):not(.s_color_blocks_4):not(.s_color_blocks_2):not('s_cubes')"/>
|
||||
</xpath>
|
||||
|
||||
</template>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user