[IMP] theme_notes: adapt s_banner

Since the redesign of the original banner snippet, the customizations
made in theme_notes have had to be adapted.

task-3097005

Part-of: odoo/design-themes#687
This commit is contained in:
Brieuc-brd
2023-08-28 16:31:56 +02:00
committed by qsm-odoo
parent 1c1599bc7d
commit 318fd652f5
4 changed files with 10 additions and 8 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

+10
View File
@@ -7,6 +7,16 @@
<field name="name">website.s_banner_default_image</field>
<field name="url">/theme_notes/static/src/img/content/content_img_13.jpg</field>
</record>
<record id="s_banner_default_image_2" model="theme.ir.attachment">
<field name="key">website.s_banner_default_image_2</field>
<field name="name">website.s_banner_default_image_2</field>
<field name="url">/theme_notes/static/src/img/content/content_img_37.jpg</field>
</record>
<record id="s_banner_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_banner_default_image_3</field>
<field name="name">website.s_banner_default_image_3</field>
<field name="url">/theme_notes/static/src/img/content/content_img_38.jpg</field>
</record>
<record id="s_popup_default_image" model="theme.ir.attachment">
<field name="key">website.s_popup_default_image</field>
<field name="name">website.s_popup_default_image</field>
-8
View File
@@ -9,21 +9,13 @@
</xpath>
<!-- Filter & Shape -->
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_bg_filter bg-black-75"/>
<div class="o_we_shape o_web_editor_Floats_08" style="background-image: url('/web_editor/shape/web_editor/Floats/08.svg?c1=o-color-1&amp;c2=o-color-2&amp;c3=o-color-3&amp;c5=o-color-1&amp;flip=xy'); background-position: 100% 100%;"/>
</xpath>
<!-- Jumbotron -->
<xpath expr="//div[hasclass('jumbotron')]" position="attributes">
<attribute name="class" remove="o_cc o_cc1" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h1" position="replace" mode="inner">
Enjoy the atmosphere
</xpath>
<!-- Add space between title and paragraph -->
<xpath expr="//p[hasclass('lead')]" position="before">
<p><br/></p>
</xpath>
</template>
</odoo>