mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: adapt themes with new s_quadrant snippet
*: anelusia, artists, avantgarde, aviato, beauty, bewise, bistro, bookstore, buzzy, clean, cobalt, enark, graphene, kea, kiddo, loftspace, monglia, nano, notes, paptic, real_estate, treehouse, vehicle, yes, zap This commit adapts the design of `s_quadrant` for multiple themes, based on the new Odoo 18 snippet redesign. task-4105045 closes odoo/design-themes#874 Part-of: task-4077427 Related: odoo/odoo#177058 Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
This commit is contained in:
committed by
Benjamin Vray
parent
e7a6c43233
commit
26dbfa11d2
@@ -379,6 +379,28 @@
|
||||
<field name="url">/theme_bistro/static/src/img/backgrounds/s_pricelist_boxed_default_background.jpg</field>
|
||||
</record>
|
||||
|
||||
<!-- Quadrant -->
|
||||
<record id="s_quadrant_default_image_1" model="theme.ir.attachment">
|
||||
<field name="key">website.s_quadrant_default_image_1</field>
|
||||
<field name="name">website.s_quadrant_default_image_1</field>
|
||||
<field name="url">/theme_bistro/static/src/img/backgrounds/10.jpg</field>
|
||||
</record>
|
||||
<record id="s_quadrant_default_image_2" model="theme.ir.attachment">
|
||||
<field name="key">website.s_quadrant_default_image_2</field>
|
||||
<field name="name">website.s_quadrant_default_image_2</field>
|
||||
<field name="url">/theme_bistro/static/src/img/backgrounds/16.jpg</field>
|
||||
</record>
|
||||
<record id="s_quadrant_default_image_3" model="theme.ir.attachment">
|
||||
<field name="key">website.s_quadrant_default_image_3</field>
|
||||
<field name="name">website.s_quadrant_default_image_3</field>
|
||||
<field name="url">/theme_bistro/static/src/img/backgrounds/08.jpg</field>
|
||||
</record>
|
||||
<record id="s_quadrant_default_image_4" model="theme.ir.attachment">
|
||||
<field name="key">website.s_quadrant_default_image_4</field>
|
||||
<field name="name">website.s_quadrant_default_image_4</field>
|
||||
<field name="url">/theme_bistro/static/src/img/content/picture.jpg</field>
|
||||
</record>
|
||||
|
||||
<!-- Image Hexagonal -->
|
||||
<record id="s_image_hexagonal_default_image_1" model="theme.ir.attachment">
|
||||
<field name="key">website.s_image_hexagonal_default_image_1</field>
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_quadrant" inherit_id="website.s_quadrant">
|
||||
<!-- Title -->
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Taste & Enjoy
|
||||
</xpath>
|
||||
<!-- Paragraph -->
|
||||
<xpath expr="//p[hasclass('lead')]" position="replace" mode="inner">
|
||||
Experience the finest in dining with our carefully curated menus. Whether you’re at a bistro, bar, or cafe, our culinary offerings are sure to delight.<br/><br/> Taste the difference in every dish.
|
||||
</xpath>
|
||||
<!-- Button -->
|
||||
<xpath expr="//a[hasclass('btn')]/t" position="replace" mode="inner">
|
||||
Reserve a Table
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user