mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_graphene: adapt s_banner
Since the redesign of the original banner snippet, the customizations made in theme_graphene 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: 56 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 6.6 KiB |
@@ -30,13 +30,6 @@
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- ======== BANNER ======== -->
|
||||
<template id="s_banner" inherit_id="website.s_banner" name="Graphene s_banner">
|
||||
<xpath expr="//a[hasclass('btn')]" position="attributes">
|
||||
<attribute name="class" add="btn-lg" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- ======== TEXT-IMAGE ======== -->
|
||||
<template id="s_text_image" inherit_id="website.s_text_image" name="Graphene s_text_image">
|
||||
<xpath expr="//section" position="attributes">
|
||||
|
||||
@@ -126,6 +126,16 @@ Check in images.scss, primary_variables.scss, main.scss and theme_common's mixin
|
||||
<field name="name">website.s_banner_default_image</field>
|
||||
<field name="url">/theme_graphene/static/src/img/pictures/content_01.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_graphene/static/src/img/pictures/content_24.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_graphene/static/src/img/pictures/content_25.jpg</field>
|
||||
</record>
|
||||
|
||||
<!-- Pop Up -->
|
||||
<record id="s_popup_default_image" model="theme.ir.attachment">
|
||||
|
||||
Reference in New Issue
Block a user