[ADD] theme 14.0
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="_assets_primary_variables" inherit_id="website._assets_primary_variables" priority="1">
|
||||
<xpath expr="//link[last()]" position="after">
|
||||
<link rel="stylesheet" type="text/scss" href="/theme_bookstore/static/src/scss/primary_variables.scss"/>
|
||||
</xpath>
|
||||
</template>
|
||||
<template id="compatibility-saas-11-4-variables" name="Compatibility for saas-11.4 (variables)" inherit_id="theme_common.compatibility-saas-11-4-variables">
|
||||
<xpath expr="//link[last()]" position="before">
|
||||
<link rel="stylesheet" type="text/scss" href="/theme_bookstore/static/src/scss/compatibility-saas-11.4-variables.scss"/>
|
||||
</xpath>
|
||||
</template>
|
||||
<template id="_assets_frontend_helpers" inherit_id="website._assets_frontend_helpers" priority="1">
|
||||
<xpath expr="//link" position="before">
|
||||
<link rel="stylesheet" type="text/scss" href="/theme_bookstore/static/src/scss/bootstrap_overridden.scss"/>
|
||||
</xpath>
|
||||
</template>
|
||||
<template id="assets_editor" inherit_id="website.assets_editor">
|
||||
<xpath expr="//script[last()]" position="after">
|
||||
<script type="text/javascript" src="/theme_bookstore/static/src/js/tour.js"/>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
@@ -0,0 +1,179 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<!-- Not used anymore by the editor: files and records kept for back-compatibility.
|
||||
Check in theme_loftspace's primary_variables.scss and theme.scss -->
|
||||
<record id="image_content_02" model="theme.ir.attachment">
|
||||
<field name="key">theme_common.image_content_02</field>
|
||||
<field name="name">theme_common.image_content_02</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/content/content_img_02.jpg</field>
|
||||
</record>
|
||||
<record id="image_content_03" model="theme.ir.attachment">
|
||||
<field name="key">theme_common.image_content_03</field>
|
||||
<field name="name">theme_common.image_content_03</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/content/content_img_03.jpg</field>
|
||||
</record>
|
||||
<record id="image_content_07" model="theme.ir.attachment">
|
||||
<field name="key">theme_common.image_content_07</field>
|
||||
<field name="name">theme_common.image_content_07</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/content/content_img_07.jpg</field>
|
||||
</record>
|
||||
<record id="image_content_09" model="theme.ir.attachment">
|
||||
<field name="key">theme_common.image_content_09</field>
|
||||
<field name="name">theme_common.image_content_09</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/content/content_img_09.jpg</field>
|
||||
</record>
|
||||
<record id="image_content_10" model="theme.ir.attachment">
|
||||
<field name="key">theme_common.image_content_10</field>
|
||||
<field name="name">theme_common.image_content_10</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/content/content_img_10.jpg</field>
|
||||
</record>
|
||||
<record id="image_content_11" model="theme.ir.attachment">
|
||||
<field name="key">theme_common.image_content_11</field>
|
||||
<field name="name">theme_common.image_content_11</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/content/content_img_11.jpg</field>
|
||||
</record>
|
||||
<record id="image_content_12" model="theme.ir.attachment">
|
||||
<field name="key">theme_common.image_content_12</field>
|
||||
<field name="name">theme_common.image_content_12</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/content/content_img_12.jpg</field>
|
||||
</record>
|
||||
|
||||
<!-- SNIPPETS -->
|
||||
<record id="s_banner_default_image" model="theme.ir.attachment">
|
||||
<field name="key">website.s_banner_default_image</field>
|
||||
<field name="name">website.s_banner_default_image</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_banner.jpg</field>
|
||||
</record>
|
||||
<record id="s_popup_default_image" model="theme.ir.attachment">
|
||||
<field name="key">website.s_popup_default_image</field>
|
||||
<field name="name">website.s_popup_default_image</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_popup.jpg</field>
|
||||
</record>
|
||||
<record id="s_cover_default_image" model="theme.ir.attachment">
|
||||
<field name="key">website.s_cover_default_image</field>
|
||||
<field name="name">website.s_cover_default_image</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_cover.jpg</field>
|
||||
</record>
|
||||
<record id="s_text_image_default_image" model="theme.ir.attachment">
|
||||
<field name="key">website.s_text_image_default_image</field>
|
||||
<field name="name">website.s_text_image_default_image</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_text_image.jpg</field>
|
||||
</record>
|
||||
<record id="s_image_text_default_image" model="theme.ir.attachment">
|
||||
<field name="key">website.s_image_text_default_image</field>
|
||||
<field name="name">website.s_image_text_default_image</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_image_text.jpg</field>
|
||||
</record>
|
||||
<record id="s_picture_default_image" model="theme.ir.attachment">
|
||||
<field name="key">website.s_picture_default_image</field>
|
||||
<field name="name">website.s_picture_default_image</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_picture.jpg</field>
|
||||
</record>
|
||||
<record id="library_image_11" model="theme.ir.attachment">
|
||||
<field name="key">website.library_image_11</field>
|
||||
<field name="name">website.library_image_11</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/library_image_11.jpg</field>
|
||||
</record>
|
||||
<record id="library_image_13" model="theme.ir.attachment">
|
||||
<field name="key">website.library_image_13</field>
|
||||
<field name="name">website.library_image_13</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/library_image_13.jpg</field>
|
||||
</record>
|
||||
<record id="library_image_07" model="theme.ir.attachment">
|
||||
<field name="key">website.library_image_07</field>
|
||||
<field name="name">website.library_image_07</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/library_image_07.jpg</field>
|
||||
</record>
|
||||
<record id="s_masonry_block_default_image_1" model="theme.ir.attachment">
|
||||
<field name="key">website.s_masonry_block_default_image_1</field>
|
||||
<field name="name">website.s_masonry_block_default_image_1</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_masonry_block.jpg</field>
|
||||
</record>
|
||||
<record id="s_carousel_default_image_1" model="theme.ir.attachment">
|
||||
<field name="key">website.s_carousel_default_image_1</field>
|
||||
<field name="name">website.s_carousel_default_image_1</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_carousel_1.jpg</field>
|
||||
</record>
|
||||
<record id="s_carousel_default_image_2" model="theme.ir.attachment">
|
||||
<field name="key">website.s_carousel_default_image_2</field>
|
||||
<field name="name">website.s_carousel_default_image_2</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_carousel_2.jpg</field>
|
||||
</record>
|
||||
<record id="s_carousel_default_image_3" model="theme.ir.attachment">
|
||||
<field name="key">website.s_carousel_default_image_3</field>
|
||||
<field name="name">website.s_carousel_default_image_3</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_carousel_3.jpg</field>
|
||||
</record>
|
||||
<record id="s_media_list_default_image_1" model="theme.ir.attachment">
|
||||
<field name="key">website.s_media_list_default_image_1</field>
|
||||
<field name="name">website.s_media_list_default_image_1</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_media_list_1.jpg</field>
|
||||
</record>
|
||||
<record id="s_media_list_default_image_2" model="theme.ir.attachment">
|
||||
<field name="key">website.s_media_list_default_image_2</field>
|
||||
<field name="name">website.s_media_list_default_image_2</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_media_list_2.jpg</field>
|
||||
</record>
|
||||
<record id="s_media_list_default_image_3" model="theme.ir.attachment">
|
||||
<field name="key">website.s_media_list_default_image_3</field>
|
||||
<field name="name">website.s_media_list_default_image_3</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_media_list_3.jpg</field>
|
||||
</record>
|
||||
<record id="s_parallax_default_image" model="theme.ir.attachment">
|
||||
<field name="key">website.s_parallax_default_image</field>
|
||||
<field name="name">website.s_parallax_default_image</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_parallax.jpg</field>
|
||||
</record>
|
||||
<record id="s_product_catalog_default_image" model="theme.ir.attachment">
|
||||
<field name="key">website.s_product_catalog_default_image</field>
|
||||
<field name="name">website.s_product_catalog_default_image</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_product_catalog.jpg</field>
|
||||
</record>
|
||||
<record id="s_product_list_default_image_1" model="theme.ir.attachment">
|
||||
<field name="key">website.s_product_list_default_image_1</field>
|
||||
<field name="name">website.s_product_list_default_image_1</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_product_1.jpg</field>
|
||||
</record>
|
||||
<record id="s_product_list_default_image_2" model="theme.ir.attachment">
|
||||
<field name="key">website.s_product_list_default_image_2</field>
|
||||
<field name="name">website.s_product_list_default_image_2</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_product_2.jpg</field>
|
||||
</record>
|
||||
<record id="s_product_list_default_image_3" model="theme.ir.attachment">
|
||||
<field name="key">website.s_product_list_default_image_3</field>
|
||||
<field name="name">website.s_product_list_default_image_3</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_product_3.jpg</field>
|
||||
</record>
|
||||
<record id="s_product_list_default_image_4" model="theme.ir.attachment">
|
||||
<field name="key">website.s_product_list_default_image_4</field>
|
||||
<field name="name">website.s_product_list_default_image_4</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_product_4.jpg</field>
|
||||
</record>
|
||||
<record id="s_product_list_default_image_5" model="theme.ir.attachment">
|
||||
<field name="key">website.s_product_list_default_image_5</field>
|
||||
<field name="name">website.s_product_list_default_image_5</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_product_5.jpg</field>
|
||||
</record>
|
||||
<record id="s_product_list_default_image_6" model="theme.ir.attachment">
|
||||
<field name="key">website.s_product_list_default_image_6</field>
|
||||
<field name="name">website.s_product_list_default_image_6</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_product_6.jpg</field>
|
||||
</record>
|
||||
<record id="s_quotes_carousel_demo_image_1" model="theme.ir.attachment">
|
||||
<field name="key">website.s_quotes_carousel_demo_image_1</field>
|
||||
<field name="name">website.s_quotes_carousel_demo_image_1</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_quotes_carousel_1.jpg</field>
|
||||
</record>
|
||||
<record id="s_quotes_carousel_demo_image_2" model="theme.ir.attachment">
|
||||
<field name="key">website.s_quotes_carousel_demo_image_2</field>
|
||||
<field name="name">website.s_quotes_carousel_demo_image_2</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_quotes_carousel_2.jpg</field>
|
||||
</record>
|
||||
<record id="s_newsletter_block" model="theme.ir.attachment">
|
||||
<field name="key">website.library_image_17</field>
|
||||
<field name="name">website.library_image_17</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_newsletter.jpg</field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
||||
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_half_screen_height o_cc1 pt64 pb48" remove="o_cc3 pt48 pb24" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Paragraph 1 -->
|
||||
<xpath expr="//div[hasclass('col-lg-9')]" position="replace">
|
||||
<div class="pb16 col-lg-12 text-center">
|
||||
<h3>Browse through our <b>complete library</b>.</h3>
|
||||
</div>
|
||||
</xpath>
|
||||
<!-- Paragraph 2 -->
|
||||
<xpath expr="//div[hasclass('col-lg-3')]" position="replace">
|
||||
<div class="col-lg-12 pt8">
|
||||
<p style="text-align: center;">
|
||||
<a href="/contactus" class="btn btn-secondary btn-lg mb-2">Browse collection</a>
|
||||
</p>
|
||||
</div>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="s_picture" inherit_id="website.s_picture">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc5" remove="bg-200" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h2" position="replace">
|
||||
<h2 style="text-align: center;">
|
||||
<font style="font-size: 62px;">Limited editions</font>
|
||||
</h2>
|
||||
</xpath>
|
||||
<!-- Paragraphs -->
|
||||
<xpath expr="//p[1]" position="replace">
|
||||
<p class="text-center">Explore our top-end Collector's Editions.<br/>
|
||||
Signed and limited tributes to some of the most outstanding writers of all time. </p>
|
||||
</xpath>
|
||||
<!-- Caption -->
|
||||
<xpath expr="//figcaption" position="replace">
|
||||
<figcaption class="figure-caption text-muted py-3">Don't rely on a book's cover</figcaption>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
@@ -0,0 +1,56 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="s_product_list" inherit_id="website.s_product_list">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc5 pb40" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Container -->
|
||||
<xpath expr="//div[hasclass('container-fluid')]" position="replace">
|
||||
<div class="container">
|
||||
<!-- Row 1 -->
|
||||
<div class="row">
|
||||
<!-- Item 1 -->
|
||||
<div class="h-100 pb16 col-lg-6">
|
||||
<a href="#">
|
||||
<img src="/web/image/website.s_product_list_default_image_2" alt="" class="img img-fluid w-100 p-5" style="max-height: 100%;"/>
|
||||
</a>
|
||||
<div class="s_product_list_item_link">
|
||||
<a href="#" class="btn btn-outline-primary">View item</a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Item 2 -->
|
||||
<div class="h-100 pb16 col-lg-6">
|
||||
<a href="#">
|
||||
<img src="/web/image/website.s_product_list_default_image_5" alt="" class="img img-fluid w-100 p-5" style="max-height: 100%;"/>
|
||||
</a>
|
||||
<div class="s_product_list_item_link">
|
||||
<a href="#" class="btn btn-outline-primary">View item</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Row 2 -->
|
||||
<div class="row">
|
||||
<!-- Item 3 -->
|
||||
<div class="h-100 pb16 col-lg-6">
|
||||
<a href="#">
|
||||
<img src="/web/image/website.s_product_list_default_image_4" alt="" class="img img-fluid w-100 p-5" style="max-height: 100%;"/>
|
||||
</a>
|
||||
<div class="s_product_list_item_link">
|
||||
<a href="#" class="btn btn-outline-primary">View item</a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Item 4 -->
|
||||
<div class="h-100 pb16 col-lg-6">
|
||||
<a href="#">
|
||||
<img src="/web/image/website.s_product_list_default_image_6" alt="" class="img img-fluid w-100 p-5" style="max-height: 100%;"/>
|
||||
</a>
|
||||
<div class="s_product_list_item_link">
|
||||
<a href="#" class="btn btn-outline-primary">View item</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="s_text_image" inherit_id="website.s_text_image">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc5" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Paragraph -->
|
||||
<xpath expr="(//div[hasclass('col-lg-6')])[1]" position="replace">
|
||||
<div class="col-lg-6 pt16 pb16">
|
||||
<h2>Probably your next favorite book</h2>
|
||||
<p><br/></p>
|
||||
<p>Discover all the publications. There is probably your next favorite book amoung them.</p>
|
||||
<p><br/></p>
|
||||
<p><a href="#" class="btn btn-primary mb-2">Learn more</a></p>
|
||||
</div>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
@@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="s_three_columns" inherit_id="website.s_three_columns">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc1" remove="bg-200" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Column 1 -->
|
||||
<xpath expr="//div[hasclass('card')]" position="attributes">
|
||||
<attribute name="class" add="border rounded shadow" separator=" "/>
|
||||
<attribute name="style" add="border-width: 10px !important; border-color: rgb(36, 35, 39) !important; border-radius: 0px !important; box-shadow: rgb(36, 35, 39) 0px 0px 25px 0px !important;" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('card-body')]" position="replace">
|
||||
<div class="card-body">
|
||||
<h3 class="card-title">A Belgian Story</h3>
|
||||
<p class="card-text">Discover the history of Belgium in this well-documented book with many illustrations and testimonials.</p>
|
||||
</div>
|
||||
</xpath>
|
||||
<!-- Column 2 -->
|
||||
<xpath expr="(//div[hasclass('card')])[2]" position="attributes">
|
||||
<attribute name="class" add="border rounded shadow" separator=" "/>
|
||||
<attribute name="style" add="border-width: 10px !important; border-color: rgb(36, 35, 39) !important; border-radius: 0px !important; box-shadow: rgb(36, 35, 39) 0px 0px 25px 0px !important;" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('card-body')])[2]" position="replace">
|
||||
<div class="card-body">
|
||||
<h3 class="card-title">At the Mars conquest</h3>
|
||||
<p class="card-text">Learn about the difficulties encountered by NASA engineers in sending the first men to Mars.</p>
|
||||
</div>
|
||||
</xpath>
|
||||
<!-- Column 3 -->
|
||||
<xpath expr="(//div[hasclass('card')])[3]" position="attributes">
|
||||
<attribute name="class" add="border rounded shadow" separator=" "/>
|
||||
<attribute name="style" add="border-width: 10px !important; border-color: rgb(36, 35, 39) !important; border-radius: 0px !important; box-shadow: rgb(36, 35, 39) 0px 0px 25px 0px !important;" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('card-body')])[3]" position="replace">
|
||||
<div class="card-body">
|
||||
<h3 class="card-title">Re-edition</h3>
|
||||
<p class="card-text">The first re-edition of this Latin dictionary, from 1460. Printed originally on the Gutenberg press.</p>
|
||||
</div>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="s_title" inherit_id="website.s_title">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="pt64 pb64 o_half_screen_height parallax s_parallax_is_fixed bg-black-50" remove="pt32 pb32" separator=" "/>
|
||||
<attribute name="data-scroll-background-ratio">1</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('container')]" position="before">
|
||||
<span class="s_parallax_bg oe_img_bg" style="background-image: url('/web/image/website.s_banner_default_image'); background-position: 50% 50%;"></span>
|
||||
<div class="o_we_bg_filter bg-black-50"/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h1" position="replace">
|
||||
<h1 style="text-align: center;">
|
||||
<font style="font-size: 62px;"><b>Reading means borrowing.</b></font>
|
||||
</h1>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user