mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
Binary file not shown.
|
After Width: | Height: | Size: 87 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 8.3 KiB |
@@ -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>
|
||||
|
||||
@@ -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&c2=o-color-2&c3=o-color-3&c5=o-color-1&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>
|
||||
|
||||
Reference in New Issue
Block a user