[IMP] theme_*: adapt s_website_form_cover snippet

*: theme_anelusia, theme_artists, theme_avantgarde, theme_aviato,
theme_beauty, theme_bewise, theme_bistro, theme_bookstore, theme_clean,
theme_cobalt, theme_enark, theme_graphene, theme_kea, theme_kiddo,
theme_monglia, theme_nano, theme_notes, theme_odoo_experts, theme_orchid
, theme_paptic, theme_real_estate, theme_treehouse, theme_vehicle,
theme_yes, theme_zap

This commit reviews the occurrences of `s_website_form_cover` across
design themes.

task-4138250

closes odoo/design-themes#1010

Part-of: task-4077427
Related: odoo/odoo#178102
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Chrysanthe (chgo)
2024-11-12 17:00:43 +01:00
committed by qsm-odoo
parent 99b5db0139
commit 3e1fe98a4e
33 changed files with 206 additions and 0 deletions
+1
View File
@@ -100,6 +100,7 @@
'views/snippets/s_unveil.xml',
'views/snippets/s_empowerment.xml',
'views/snippets/s_cta_mobile.xml',
'views/snippets/s_website_form_cover.xml',
'views/new_page_template.xml',
],
'images': [
+5
View File
@@ -425,5 +425,10 @@ Check in theme_monglia's primary_variables.scss, theme.scss and theme_common's m
<field name="name">website.s_website_form_overlay_default_image</field>
<field name="url">/theme_artists/static/src/img/snippets/s_cover.jpg</field>
</record>
<record id="s_website_form_cover_default_image" model="theme.ir.attachment">
<field name="key">website.s_website_form_cover_default_image</field>
<field name="name">website.s_website_form_cover_default_image</field>
<field name="url">/theme_artists/static/src/img/snippets/s_image_hexagonal_1.jpg</field>
</record>
</odoo>
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_website_form_cover" inherit_id="website.s_website_form_cover">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc5" separator=" "/>
</xpath>
<!-- Form -->
<xpath expr="(//div[hasclass('col-lg-6')])[2]" position="attributes">
<attribute name="class" add="o_cc o_cc5" separator=" "/>
</xpath>
</template>
</odoo>