mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[REF] theme_*: change web_editor shape route to html_editor route
*: test_themes, theme_anelusia, theme_artists, theme_avantgarde, theme_aviato, theme_beauty, theme_bewise, theme_bistro, theme_bookstore, theme_buzzy, theme_clean, theme_cobalt, theme_enark, theme_graphene, theme_kea, theme_kiddo, theme_loftspace, theme_monglia, theme_nano, theme_notes, theme_odoo_experts, theme_orchid, theme_paptic, theme_real_estate, theme_treehouse, theme_vehicle, theme_yes, theme_zap Part-of: odoo/design-themes#1129 Related: odoo/odoo#222471 Related: odoo/enterprise#92087 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
This commit is contained in:
committed by
David Monjoie
parent
2ff08528c7
commit
a71f0184b8
@@ -9,7 +9,7 @@
|
||||
<attribute name="data-oe-shape-data">{'shape':'html_builder/Connections/20','colors':{'c5': 'o-color-3'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('container')]" position="before">
|
||||
<div class="o_we_shape o_html_builder_Connections_20" style="background-image: url('/web_editor/shape/html_builder/Connections/20.svg?c5=o-color-3');"/>
|
||||
<div class="o_we_shape o_html_builder_Connections_20" style="background-image: url('/html_editor/shape/html_builder/Connections/20.svg?c5=o-color-3');"/>
|
||||
</xpath>
|
||||
<!-- Row - remove grid mode -->
|
||||
<xpath expr="//div[hasclass('row')]" position="attributes">
|
||||
@@ -28,7 +28,7 @@
|
||||
<!-- Image -->
|
||||
<xpath expr="//div[hasclass('col-lg-5')]" position="after">
|
||||
<div class="col-lg-7 d-lg-block d-none o_snippet_mobile_invisible">
|
||||
<img src="/web_editor/shape/theme_cobalt/s_banner_2.svg?c1=o-color-1" class="img img-fluid mx-auto" style="width: 100%;" alt=""/>
|
||||
<img src="/html_editor/shape/theme_cobalt/s_banner_2.svg?c1=o-color-1" class="img img-fluid mx-auto" style="width: 100%;" alt=""/>
|
||||
</div>
|
||||
</xpath>
|
||||
<!-- Content -->
|
||||
@@ -55,7 +55,7 @@
|
||||
<attribute name="class" add="pt24 pb24" remove="pt16 pb16" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//img" position="replace">
|
||||
<img src="/web_editor/shape/theme_cobalt/s_image_text_2.svg?c1=o-color-1" class="img img-fluid mx-auto" style="width: 100%;" alt="Marketing"/>
|
||||
<img src="/html_editor/shape/theme_cobalt/s_image_text_2.svg?c1=o-color-1" class="img img-fluid mx-auto" style="width: 100%;" alt="Marketing"/>
|
||||
</xpath>
|
||||
<!-- Content -->
|
||||
<xpath expr="//h2" position="replace">
|
||||
@@ -80,7 +80,7 @@
|
||||
<h2>Unlock the possibilities of what we can offer you</h2>
|
||||
</xpath>
|
||||
<xpath expr="//img" position="replace">
|
||||
<img src="/web_editor/shape/theme_cobalt/s_text_image.svg?c1=o-color-1" class="img img-fluid mx-auto" style="width: 100%;" alt="Marketing"/>
|
||||
<img src="/html_editor/shape/theme_cobalt/s_text_image.svg?c1=o-color-1" class="img img-fluid mx-auto" style="width: 100%;" alt="Marketing"/>
|
||||
</xpath>
|
||||
<xpath expr="//p" position="replace"/>
|
||||
<xpath expr="//p" position="replace">
|
||||
@@ -348,7 +348,7 @@
|
||||
<attribute name="data-oe-shape-data">{'shape':'html_builder/Bold/01_001','colors':{'c5':'o-color-1'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('container')]" position="before">
|
||||
<div class="o_we_shape o_html_builder_Bold_01_001" style="background-image: url('/web_editor/shape/html_builder/Bold/01_001.svg?c5=o-color-1');"/>
|
||||
<div class="o_we_shape o_html_builder_Bold_01_001" style="background-image: url('/html_editor/shape/html_builder/Bold/01_001.svg?c5=o-color-1');"/>
|
||||
</xpath>
|
||||
<xpath expr="//span[hasclass('s_parallax_bg')]" position="replace"/>
|
||||
|
||||
@@ -460,7 +460,7 @@
|
||||
<attribute name="data-oe-shape-data">{'shape':'html_builder/Airy/10_001','colors':{'c5':'rgba(0,0,0,0.25)'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('container')]" position="before">
|
||||
<div class="o_we_shape o_html_builder_Airy_10_001" style="background-image: url('/web_editor/shape/html_builder/Airy/10_001.svg?c5=rgba(0,0,0,0.25)');"/>
|
||||
<div class="o_we_shape o_html_builder_Airy_10_001" style="background-image: url('/html_editor/shape/html_builder/Airy/10_001.svg?c5=rgba(0,0,0,0.25)');"/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('o_we_bg_filter')]" position="replace"/>
|
||||
</template>
|
||||
@@ -473,7 +473,7 @@
|
||||
<attribute name="data-oe-shape-data">{'shape':'html_builder/Connections/06','colors':{'c5':'o-color-3'},'flip':['y'],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('container')]" position="before">
|
||||
<div class="o_we_shape o_html_builder_Connections_06" style="background-image: url('/web_editor/shape/html_builder/Connections/06.svg?c5=o-color-3&flip=y'); background-position: 50% 0%;"/>
|
||||
<div class="o_we_shape o_html_builder_Connections_06" style="background-image: url('/html_editor/shape/html_builder/Connections/06.svg?c5=o-color-3&flip=y'); background-position: 50% 0%;"/>
|
||||
</xpath>
|
||||
|
||||
<!-- Numbers -->
|
||||
@@ -528,16 +528,16 @@
|
||||
|
||||
<!-- Images -->
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="src">/web_editor/shape/theme_cobalt/s_key_images_1.svg?c1=o-color-1</attribute>
|
||||
<attribute name="src">/html_editor/shape/theme_cobalt/s_key_images_1.svg?c1=o-color-1</attribute>
|
||||
</xpath>
|
||||
<xpath expr="(//img)[2]" position="attributes">
|
||||
<attribute name="src">/web_editor/shape/theme_cobalt/s_key_images_2.svg?c1=o-color-1</attribute>
|
||||
<attribute name="src">/html_editor/shape/theme_cobalt/s_key_images_2.svg?c1=o-color-1</attribute>
|
||||
</xpath>
|
||||
<xpath expr="(//img)[3]" position="attributes">
|
||||
<attribute name="src">/web_editor/shape/theme_cobalt/s_key_images_3.svg?c1=o-color-1</attribute>
|
||||
<attribute name="src">/html_editor/shape/theme_cobalt/s_key_images_3.svg?c1=o-color-1</attribute>
|
||||
</xpath>
|
||||
<xpath expr="(//img)[4]" position="attributes">
|
||||
<attribute name="src">/web_editor/shape/theme_cobalt/s_key_images_4.svg?c1=o-color-1</attribute>
|
||||
<attribute name="src">/html_editor/shape/theme_cobalt/s_key_images_4.svg?c1=o-color-1</attribute>
|
||||
</xpath>
|
||||
|
||||
<!-- Move texts before images -->
|
||||
@@ -588,7 +588,7 @@
|
||||
<attribute name="data-oe-shape-data">{'shape':'html_builder/Bold/14','colors':{'c5':'o-color-3','c1':'o-color-3'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('o_we_shape')]" position="replace">
|
||||
<div class="o_we_shape o_html_builder_Bold_14" style="background-image: url('/web_editor/shape/html_builder/Bold/14.svg?c5=o-color-3&c1=o-color-3');"/>
|
||||
<div class="o_we_shape o_html_builder_Bold_14" style="background-image: url('/html_editor/shape/html_builder/Bold/14.svg?c5=o-color-3&c1=o-color-3');"/>
|
||||
</xpath>
|
||||
</template>
|
||||
<!-- ======== CARD OFFSET ======== -->
|
||||
@@ -679,7 +679,7 @@
|
||||
<attribute name="data-oe-shape-data">{'shape':'html_builder/Connections/05','colors':{'c5':'o-color-4'},'flip':['y'],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('container')]" position="before">
|
||||
<div class="o_we_shape o_html_builder_Connections_05" style="background-image: url('/web_editor/shape/html_builder/Connections/05.svg?c5=o-color-4&flip=y'); background-position: 50% 0%;"/>
|
||||
<div class="o_we_shape o_html_builder_Connections_05" style="background-image: url('/html_editor/shape/html_builder/Connections/05.svg?c5=o-color-4&flip=y'); background-position: 50% 0%;"/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('col-lg-4')]" position="attributes">
|
||||
<attribute name="class" add="col-lg-3" remove="col-lg-4" separator=" "/>
|
||||
@@ -704,7 +704,7 @@
|
||||
<attribute name="data-oe-shape-data">{'shape':'html_builder/Connections/06','flip':['y'],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('container')]" position="before">
|
||||
<div class="o_we_shape o_html_builder_Connections_06" style="background-image: url('/web_editor/shape/html_builder/Connections/06.svg?c5=o-color-5&flip=y'); background-position: 50% 0%;"/>
|
||||
<div class="o_we_shape o_html_builder_Connections_06" style="background-image: url('/html_editor/shape/html_builder/Connections/06.svg?c5=o-color-5&flip=y'); background-position: 50% 0%;"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<attribute name="data-oe-shape-data">{"shape":"html_builder/Bold/01_001","colors":{"c5":"o-color-3"},"flip":["x"]}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//section/div" position="before">
|
||||
<div class="o_we_shape o_html_builder_Bold_01_001" style="background-image: url('/web_editor/shape/html_builder/Bold/01_001.svg?c5=o-color-3&flip=x'); background-position: 50% 0%;"/>
|
||||
<div class="o_we_shape o_html_builder_Bold_01_001" style="background-image: url('/html_editor/shape/html_builder/Bold/01_001.svg?c5=o-color-3&flip=x'); background-position: 50% 0%;"/>
|
||||
</xpath>
|
||||
<xpath expr="//h2" position="replace"/>
|
||||
<xpath expr="//p" position="replace"/>
|
||||
@@ -19,7 +19,7 @@
|
||||
<attribute name="data-oe-shape-data">{"shape":"html_builder/Bold/01_001","colors":{"c5":"o-color-3"},"flip":["x"]}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//section/div" position="before">
|
||||
<div class="o_we_shape o_html_builder_Bold_01_001" style="background-image: url('/web_editor/shape/html_builder/Bold/01_001.svg?c5=o-color-3&flip=x'); background-position: 50% 0%;"/>
|
||||
<div class="o_we_shape o_html_builder_Bold_01_001" style="background-image: url('/html_editor/shape/html_builder/Bold/01_001.svg?c5=o-color-3&flip=x'); background-position: 50% 0%;"/>
|
||||
</xpath>
|
||||
<xpath expr="//h2" position="replace"/>
|
||||
<xpath expr="//p" position="replace"/>
|
||||
@@ -32,7 +32,7 @@
|
||||
<attribute name="data-oe-shape-data">{"shape":"html_builder/Bold/01_001","colors":{"c5":"o-color-3"},"flip":["y"]}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//section/div" position="before">
|
||||
<div class="o_we_shape o_html_builder_Bold_01_001" style="background-image: url('/web_editor/shape/html_builder/Bold/01_001.svg?c5=o-color-3&flip=y'); background-position: 50% 100%;"></div>
|
||||
<div class="o_we_shape o_html_builder_Bold_01_001" style="background-image: url('/html_editor/shape/html_builder/Bold/01_001.svg?c5=o-color-3&flip=y'); background-position: 50% 100%;"></div>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
<attribute name="data-oe-shape-data">{"shape":"html_builder/Connections/05","colors":{"c5":"o-color-4"},"flip":[]}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('o_we_shape')]" position="replace">
|
||||
<div class="o_we_shape o_html_builder_Connections_05" style="background-image: url('/web_editor/shape/html_builder/Connections/05.svg?c5=o-color-4');"/>
|
||||
<div class="o_we_shape o_html_builder_Connections_05" style="background-image: url('/html_editor/shape/html_builder/Connections/05.svg?c5=o-color-4');"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
<attribute name="data-oe-shape-data">{"shape":"html_builder/Bold/01_001","colors":{"c5":"o-color-3"},"flip":["y"]}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//section/div" position="before">
|
||||
<div class="o_we_shape o_html_builder_Bold_01_001" style="background-image: url('/web_editor/shape/html_builder/Bold/01_001.svg?c5=o-color-3&flip=y'); background-position: 50% 100%;"></div>
|
||||
<div class="o_we_shape o_html_builder_Bold_01_001" style="background-image: url('/html_editor/shape/html_builder/Bold/01_001.svg?c5=o-color-3&flip=y'); background-position: 50% 100%;"></div>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
@@ -101,7 +101,7 @@
|
||||
<attribute name="data-oe-shape-data">{"shape":"html_builder/Connections/05","colors":{"c5":"o-color-4"},"flip":[]}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('o_we_shape')]" position="replace">
|
||||
<div class="o_we_shape o_html_builder_Connections_05" style="background-image: url('/web_editor/shape/html_builder/Connections/05.svg?c5=o-color-4');"/>
|
||||
<div class="o_we_shape o_html_builder_Connections_05" style="background-image: url('/html_editor/shape/html_builder/Connections/05.svg?c5=o-color-4');"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user