mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_paptic: adapt s_banner
Since the redesign of the original banner snippet, the customizations made in theme_paptic have had to be adapted. task-3097005 Part-of: odoo/design-themes#687
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 20 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 76 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
@@ -316,14 +316,6 @@
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc5" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Jumbotron -->
|
||||
<xpath expr="//div[hasclass('jumbotron')]" position="attributes">
|
||||
<attribute name="class" remove="o_cc o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Button -->
|
||||
<xpath expr="//a[hasclass('btn')]" position="attributes">
|
||||
<attribute name="class" add="btn-secondary" remove="btn-primary" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- ==== Numbers ===== -->
|
||||
|
||||
@@ -7,6 +7,16 @@
|
||||
<field name="name">website.s_banner_default_image</field>
|
||||
<field name="url">/theme_paptic/static/src/img/pictures/s_banner.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_paptic/static/src/img/pictures/s_banner_2.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_paptic/static/src/img/pictures/s_banner_3.jpg</field>
|
||||
</record>
|
||||
|
||||
<!-- Columns -->
|
||||
<record id="library_image_11" model="theme.ir.attachment">
|
||||
|
||||
Reference in New Issue
Block a user