Files
design-themes/theme_bookstore/views/new_page_template.xml
T

161 lines
6.6 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- About -->
<template id="new_page_template_sections_about_personal" inherit_id="website.new_page_template_sections_about_personal">
<xpath expr="//t[@t-snippet-call='website.new_page_template_about_personal_s_call_to_action_about']" position="attributes">
<attribute name="t-snippet-call">website.new_page_template_about_personal_s_call_to_action</attribute>
</xpath>
</template>
<!-- Landing -->
<template id="new_page_template_sections_landing_1" inherit_id="website.new_page_template_sections_landing_1">
<xpath expr="//t[@t-snippet-call='website.new_page_template_landing_1_s_call_to_action_digital']" position="attributes">
<attribute name="t-snippet-call">website.new_page_template_landing_1_s_call_to_action</attribute>
</xpath>
</template>
<template id="new_page_template_sections_landing_2" inherit_id="website.new_page_template_sections_landing_2">
<xpath expr="//t[@t-snippet-call='website.new_page_template_landing_2_s_call_to_action']" position="attributes">
<attribute name="t-snippet-call">website.new_page_template_landing_s_call_to_action</attribute>
</xpath>
</template>
<template id="new_page_template_sections_landing_3" inherit_id="website.new_page_template_sections_landing_3">
<xpath expr="//t[@t-snippet-call='website.new_page_template_landing_3_s_call_to_action']" position="attributes">
<attribute name="t-snippet-call">website.new_page_template_landing_s_call_to_action</attribute>
</xpath>
</template>
<!-- Services -->
<template id="new_page_template_sections_services_2" inherit_id="website.new_page_template_sections_services_2">
<xpath expr="//t[@t-snippet-call='website.new_page_template_services_2_s_call_to_action_digital']" position="attributes">
<attribute name="t-snippet-call">website.new_page_template_services_2_s_call_to_action</attribute>
</xpath>
</template>
<!-- General customizations -->
<template id="new_page_template_s_media_list" inherit_id="website.new_page_template_s_media_list">
<!-- Remove shape option -->
<xpath expr="//section" position="attributes">
<attribute name="data-oe-shape-data"/>
</xpath>
<!-- Remove shape -->
<xpath expr="//div[hasclass('o_we_shape')]" position="replace"/>
</template>
<!-- Snippet customization Basic Pages -->
<template id="new_page_template_basic_2_s_text_block_h1" inherit_id="website.new_page_template_basic_2_s_text_block_h1">
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc5" remove="o_cc2" separator=" "/>
</xpath>
</template>
<!-- Snippet customization About Pages -->
<template id="new_page_template_about_s_cover" inherit_id="website.new_page_template_about_s_cover">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_half_screen_height" remove="o_full_screen_height" separator=" "/>
</xpath>
</template>
<template id="new_page_template_about_s_text_block_h1" inherit_id="website.new_page_template_about_s_text_block_h1">
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc2" separator=" "/>
</xpath>
</template>
<template id="new_page_template_about_full_1_s_text_block_h1" inherit_id="website.new_page_template_about_full_1_s_text_block_h1">
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc2" separator=" "/>
</xpath>
</template>
<template id="new_page_template_about_full_s_numbers" inherit_id="website.new_page_template_about_full_s_numbers">
<!-- Shape option -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc2" remove="o_cc3" separator=" "/>
</xpath>
</template>
<template id="new_page_template_about_map_s_numbers" inherit_id="website.new_page_template_about_map_s_numbers">
<!-- Shape option -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc2" remove="o_cc3" separator=" "/>
</xpath>
</template>
<template id="new_page_template_about_personal_s_numbers" inherit_id="website.new_page_template_about_personal_s_numbers">
<!-- Remove shape option -->
<xpath expr="//section" position="attributes">
<attribute name="data-oe-shape-data"/>
</xpath>
<!-- Remove shape -->
<xpath expr="//div[hasclass('o_we_shape')]" position="replace"/>
</template>
<template id="new_page_template_about_map_s_text_block_h1" inherit_id="website.new_page_template_about_map_s_text_block_h1">
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc2" separator=" "/>
</xpath>
</template>
<!-- Snippet customization Landing Pages -->
<template id="new_page_template_landing_2_s_cover" inherit_id="website.new_page_template_landing_2_s_cover">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_half_screen_height" remove="o_full_screen_height" separator=" "/>
</xpath>
</template>
<template id="new_page_template_landing_2_s_text_block_h2" inherit_id="website.new_page_template_landing_2_s_text_block_h2">
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc2" separator=" "/>
</xpath>
</template>
<template id="new_page_template_landing_3_s_text_block_h2" inherit_id="website.new_page_template_landing_3_s_text_block_h2">
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc2" separator=" "/>
</xpath>
</template>
<!-- Snippet customization Gallery Pages -->
<template id="new_page_template_gallery_s_cover" inherit_id="website.new_page_template_gallery_s_cover">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_half_screen_height" remove="o_full_screen_height" separator=" "/>
</xpath>
</template>
<!-- Snippet customization Services Pages -->
<template id="new_page_template_services_1_s_text_block_h1" inherit_id="website.new_page_template_services_1_s_text_block_h1">
<xpath expr="//section" position="attributes">
<attribute name="class" add="pb40" remove="pb0" separator=" "/>
</xpath>
</template>
<!-- Snippet customization Pricing Pages -->
<template id="new_page_template_pricing_s_cover" inherit_id="website.new_page_template_pricing_s_cover">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_half_screen_height" remove="o_full_screen_height" separator=" "/>
</xpath>
</template>
<!-- Snippet customization Team Pages -->
</odoo>