[ADD] theme_aviato: add new theme aviato

task-2589967

Part-of: odoo/design-themes#500
This commit is contained in:
xlu-odoo
2021-05-28 08:06:34 +00:00
committed by qsm-odoo
parent 041922b9ee
commit 18d1f0a532
68 changed files with 745 additions and 0 deletions
+1
View File
@@ -16,6 +16,7 @@
'theme_anelusia',
'theme_artists',
'theme_avantgarde',
'theme_aviato',
'theme_beauty',
'theme_bewise',
'theme_bistro',
+27
View File
@@ -0,0 +1,27 @@
Odoo Proprietary License v1.0
This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).
You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).
It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.
The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
+3
View File
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import models
+43
View File
@@ -0,0 +1,43 @@
{
'name': 'Aviato Theme',
'description': 'Aviato Theme - Responsive Bootstrap Theme for Odoo CMS',
'category': 'Theme/Creative',
'summary': 'Travel, Excursion, Plane, Tour, Agency ',
'sequence': 130,
'version': '1.0.0',
'author': 'Odoo S.A.',
'depends': ['theme_common'],
'data': [
'data/ir_asset.xml',
'views/images_library.xml',
'views/snippets/s_cover.xml',
'views/snippets/s_features.xml',
'views/snippets/s_image_text.xml',
'views/snippets/s_text_image.xml',
'views/snippets/s_three_columns.xml',
'views/snippets/s_picture.xml',
'views/snippets/s_popup.xml',
'views/snippets/s_title.xml',
'views/snippets/s_quotes_carousel.xml',
],
'images': [
'static/description/aviato_cover.jpg',
'static/description/aviato_screenshot.jpg',
],
'images_preview_theme': {
'website.s_cover_default_image': '/theme_aviato/static/src/img/content/s_cover.jpg',
'website.s_three_columns_default_image_1': '/theme_aviato/static/src/img/content/s_three_columns_1.jpg',
'website.s_three_columns_default_image_2': '/theme_aviato/static/src/img/content/s_three_columns_2.jpg',
'website.s_three_columns_default_image_3': '/theme_aviato/static/src/img/content/s_three_columns_3.jpg',
'website.s_picture_default_image': '/theme_aviato/static/src/img/content/s_picture.jpg',
},
'license': 'LGPL-3',
'live_test_url': 'https://theme-aviato.odoo.com',
'assets': {
'website.assets_editor': [
'theme_aviato/static/src/js/tour.js',
],
}
}
+19
View File
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="theme_aviato.primary_variables_scss" model="theme.ir.asset">
<field name="key">theme_aviato.primary_variables_scss</field>
<field name="name">Primary variables SCSS</field>
<field name="bundle">web._assets_primary_variables</field>
<field name="path">theme_aviato/static/src/scss/primary_variables.scss</field>
</record>
<record id="theme_aviato.bootstrap_overridden_scss" model="theme.ir.asset">
<field name="key">theme_aviato.bootstrap_overridden_scss</field>
<field name="name">Bootstrap overridden SCSS</field>
<field name="bundle">web._assets_frontend_helpers</field>
<field name="directive">prepend</field>
<field name="path">theme_aviato/static/src/scss/bootstrap_overridden.scss</field>
</record>
</odoo>
+3
View File
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import theme_aviato
+10
View File
@@ -0,0 +1,10 @@
from odoo import models
class ThemeAviato(models.AbstractModel):
_inherit = 'theme.utils'
def _theme_aviato_post_copy(self, mod):
self.disable_view('website.footer_custom')
self.enable_view('website.template_footer_contact')
self.enable_view('website.template_footer_slideout')
Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

@@ -0,0 +1 @@
<section></section>
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 61 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 12 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 20 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 KiB

+47
View File
@@ -0,0 +1,47 @@
/** @odoo-module */
import wTourUtils from 'website.tour_utils';
const core = require("web.core");
const _t = core._t;
const snippets = [
{
id: 's_cover',
name: 'Cover',
},
{
id: 's_text_image',
name: 'Text - Image',
},
{
id: 's_image_text',
name: 'Image - Text',
},
{
id: 's_title',
name: 'Title',
},
{
id: 's_three_columns',
name: 'Columns',
},
{
id: 's_picture',
name: 'Picture',
},
];
wTourUtils.registerThemeHomepageTour("aviato_tour", [
wTourUtils.dragNDrop(snippets[0]),
wTourUtils.clickOnText(snippets[0], 'h1', 'top'),
wTourUtils.goBackToBlocks(),
wTourUtils.dragNDrop(snippets[1]),
wTourUtils.dragNDrop(snippets[2]),
wTourUtils.dragNDrop(snippets[3]),
wTourUtils.dragNDrop(snippets[4]),
wTourUtils.dragNDrop(snippets[5]),
wTourUtils.clickOnSnippet(snippets[5], 'top'),
wTourUtils.changeOption('BackgroundShape', 'we-toggler', _t('Background Shape')),
wTourUtils.selectNested('we-select-page', 'BackgroundShape', ':not(.o_we_pager_controls)', _t('Background Shape')),
]);
+47
View File
@@ -0,0 +1,47 @@
//------------------------------------------------------------------------------//
// Bootstrap
//------------------------------------------------------------------------------//
// The yiq lightness value that determines when the lightness of color changes from "dark" to "light". Acceptable values are between 0 and 255.
$yiq-contrasted-threshold: 200 !default;
// Options
//
// Quickly modify global styling by enabling or disabling optional features.
$enable-shadows: true;
// Spacing
//
// Control the default styling of most Bootstrap elements by modifying these
// variables. Mostly focused on spacing.
// You can add more entries to the $spacers map, should you need more variation.
$spacer: 1.25rem !default;
// Components
//
// Define common padding and border radius sizes and more.
$border-radius: .375rem !default;
$border-radius-lg: .5rem !default;
$border-radius-sm: .25rem !default;
// Buttons + Forms
//
// Shared variables that are reassigned to `$input-` and `$btn-` specific variables.
$input-btn-focus-width: 0 !default;
$input-focus-border-color: o-color('primary') !default;
$btn-box-shadow: none !default;
$input-color: o-color('o-cc1-text') !default;
$input-placeholder-color: o-color('500') !default;
// Cards
$card-spacer-y: 1rem !default;
$card-spacer-x: 1.75rem !default;
$card-border-width: 0 !default;
$card-border-radius: $border-radius-lg !default;
@@ -0,0 +1,98 @@
//------------------------------------------------------------------------------
// Fonts
//------------------------------------------------------------------------------
$o-theme-h1-font-size-multiplier: (62 / 16);
$o-theme-h2-font-size-multiplier: (48 / 16);
$o-theme-h3-font-size-multiplier: (36 / 16);
$o-theme-h4-font-size-multiplier: (28 / 16);
$o-theme-h5-font-size-multiplier: (24 / 16);
$o-theme-h6-font-size-multiplier: (20 / 16);
//------------------------------------------------------------------------------
// Presets
//------------------------------------------------------------------------------
$o-website-values-palettes: (
(
'color-palettes-name': 'treehouse-5',
// Header
'logo-height': 3rem,
'fixed-logo-height': 2rem,
// Font
'font': 'Open Sans',
'headings-font': 'Libre Baskerville',
'navbar-font': 'Open Sans',
'buttons-font': 'Open Sans',
// Buttons
'btn-padding-y': .45rem,
'btn-padding-x': 1.35rem,
'btn-padding-y-sm': .3rem,
'btn-padding-x-sm': .9rem,
'btn-padding-y-lg': .6rem,
'btn-padding-x-lg': 1.8rem,
'btn-border-radius': 10rem,
'btn-border-radius-sm': 10rem,
'btn-border-radius-lg': 10rem,
'btn-ripple': true,
'input-padding-y': .45rem,
'input-padding-y-sm': .3rem,
'input-padding-y-lg': .6rem,
// Footer
'footer-template': 'contact',
'footer-effect': 'slideout_slide_hover',
),
);
//------------------------------------------------------------------------------
// Fonts
//------------------------------------------------------------------------------
$o-theme-font-configs: (
'Roboto': (
'family': ('Roboto', sans-serif),
'url': 'Roboto:300,300i,400,400i,500,500i',
),
'Libre Baskerville': (
'family': ('Libre Baskerville', cursive),
'url': 'Libre+Baskerville:400,400i,700',
),
'Lato': (
'family': ('Lato', sans-serif),
'url': 'Lato:300,300i,400,400i,700,700i',
),
'Advent Pro': (
'family': ('Advent Pro', sans-serif),
'url': 'Advent+Pro:300,300i,400,400i,600,600i',
'base': (
'font-size-base': 1.125rem,
),
),
'Oswald': (
'family': ('Oswald', sans-serif),
'url': 'Oswald:200,200i,400,400i,500,500i',
'base': (
'font-size-base': 1.25rem,
),
),
'Oxygen': (
'family': ('Oxygen', sans-serif),
'url': 'Oxygen:300,300i,400,400i,700,700i',
),
'Open Sans': (
'family': ('Open Sans', sans-serif),
'url': 'Open+Sans:300,300i,400,400i,600,600i',
),
);
//------------------------------------------------------------------------------
// Fonts
//------------------------------------------------------------------------------
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Wavy/21', (2: 1));
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Bold/07_001', (2: 3));
+189
View File
@@ -0,0 +1,189 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Cover -->
<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_aviato/static/src/img/content/s_cover.jpg</field>
</record>
<!-- Banner -->
<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_aviato/static/src/img/content/s_banner.jpg</field>
</record>
<!-- Three Columns -->
<record id="s_three_columns_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_three_columns_default_image_1</field>
<field name="name">website.s_three_columns_default_image_1</field>
<field name="url">/theme_aviato/static/src/img/content/s_three_columns_1.jpg</field>
</record>
<record id="s_three_columns_default_image_2" model="theme.ir.attachment">
<field name="key">website.s_three_columns_default_image_2</field>
<field name="name">website.s_three_columns_default_image_2</field>
<field name="url">/theme_aviato/static/src/img/content/s_three_columns_2.jpg</field>
</record>
<record id="s_three_columns_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_three_columns_default_image_3</field>
<field name="name">website.s_three_columns_default_image_3</field>
<field name="url">/theme_aviato/static/src/img/content/s_three_columns_3.jpg</field>
</record>
<!-- Picture -->
<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_aviato/static/src/img/content/s_picture.jpg</field>
</record>
<!-- Popup -->
<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_aviato/static/src/img/content/s_popup.jpg</field>
</record>
<!-- Masonry -->
<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_aviato/static/src/img/content/s_masonry_block.jpg</field>
</record>
<!-- Carousel -->
<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_aviato/static/src/img/content/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_aviato/static/src/img/content/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_aviato/static/src/img/content/s_carousel_3.jpg</field>
</record>
<!-- Media List -->
<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_aviato/static/src/img/content/media_02.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_aviato/static/src/img/content/media_02.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_aviato/static/src/img/content/media_02.jpg</field>
</record>
<!-- Company Team -->
<record id="s_company_team_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_company_team_image_1</field>
<field name="name">website.s_company_team_image_1</field>
<field name="url">/theme_aviato/static/src/img/content/s_team_1.jpg</field>
</record>
<record id="s_company_team_default_image_2" model="theme.ir.attachment">
<field name="key">website.s_company_team_image_2</field>
<field name="name">website.s_company_team_image_2</field>
<field name="url">/theme_aviato/static/src/img/content/s_team_2.jpg</field>
</record>
<record id="s_company_team_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_company_team_image_3</field>
<field name="name">website.s_company_team_image_3</field>
<field name="url">/theme_aviato/static/src/img/content/s_team_3.jpg</field>
</record>
<record id="s_company_team_default_image_4" model="theme.ir.attachment">
<field name="key">website.s_company_team_image_4</field>
<field name="name">website.s_company_team_default_image_4</field>
<field name="url">/theme_aviato/static/src/img/content/s_team_4.jpg</field>
</record>
<!-- Quotes Carousel -->
<record id="s_quotes_carousel_default_image_0" model="theme.ir.attachment">
<field name="key">website.s_quotes_carousel_demo_image_0</field>
<field name="name">website.s_quotes_carousel_demo_image_0</field>
<field name="url">/theme_aviato/static/src/img/content/s_quote_bg_1.jpg</field>
</record>
<record id="s_quotes_carousel_default_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_aviato/static/src/img/content/s_quote_bg_2.jpg</field>
</record>
<record id="s_quotes_carousel_default_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_aviato/static/src/img/content/s_quote_bg_3.jpg</field>
</record>
<record id="s_quotes_carousel_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_quotes_carousel_demo_image_3</field>
<field name="name">website.s_quotes_carousel_demo_image_3</field>
<field name="url">/theme_aviato/static/src/img/content/s_quote_1.jpg</field>
</record>
<record id="s_quotes_carousel_default_image_4" model="theme.ir.attachment">
<field name="key">website.s_quotes_carousel_demo_image_4</field>
<field name="name">website.s_quotes_carousel_demo_image_4</field>
<field name="url">/theme_aviato/static/src/img/content/s_quote_2.jpg</field>
</record>
<record id="s_quotes_carousel_default_image_5" model="theme.ir.attachment">
<field name="key">website.s_quotes_carousel_demo_image_5</field>
<field name="name">website.s_quotes_carousel_demo_image_5</field>
<field name="url">/theme_aviato/static/src/img/content/s_quote_3.jpg</field>
</record>
<!-- Image Wall -->
<record id="library_image_03" model="theme.ir.attachment">
<field name="key">website.library_image_03</field>
<field name="name">website.library_image_03</field>
<field name="url">/theme_aviato/static/src/img/content/s_wall_01.jpg</field>
</record>
<record id="library_image_10" model="theme.ir.attachment">
<field name="key">website.library_image_10</field>
<field name="name">website.library_image_10</field>
<field name="url">/theme_aviato/static/src/img/content/s_wall_02.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_aviato/static/src/img/content/s_wall_03.jpg</field>
</record>
<record id="library_image_05" model="theme.ir.attachment">
<field name="key">website.library_image_05</field>
<field name="name">website.library_image_05</field>
<field name="url">/theme_aviato/static/src/img/content/s_wall_04.jpg</field>
</record>
<record id="library_image_14" model="theme.ir.attachment">
<field name="key">website.library_image_14</field>
<field name="name">website.library_image_14</field>
<field name="url">/theme_aviato/static/src/img/content/s_wall_05.jpg</field>
</record>
<record id="library_image_16" model="theme.ir.attachment">
<field name="key">website.library_image_16</field>
<field name="name">website.library_image_16</field>
<field name="url">/theme_aviato/static/src/img/content/s_wall_06.jpg</field>
</record>
<!-- Image Slider -->
<record id="library_image_08" model="theme.ir.attachment">
<field name="key">website.library_image_08</field>
<field name="name">website.library_image_08</field>
<field name="url">/theme_aviato/static/src/img/content/s_wall_05.jpg</field>
</record>
<record id="library_image_02" model="theme.ir.attachment">
<field name="key">website.library_image_02</field>
<field name="name">website.library_image_02</field>
<field name="url">/theme_aviato/static/src/img/content/s_wall_04.jpg</field>
</record>
</odoo>
+32
View File
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_cover" inherit_id="website.s_cover">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt192 pb192" remove="pt96 pb96 s_parallax_is_fixed" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/21","flip":["y"]}</attribute>
</xpath>
<xpath expr="//span[hasclass('s_parallax_bg')]" position="replace">
<span class="s_parallax_bg oe_img_bg" style="background-image: url('/web/image/website.s_cover_default_image'); background-position: 50% 50%;"/>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Wavy_21 o_we_flip_y"/>
</xpath>
<!-- Title -->
<xpath expr="//h1" position="replace" mode="inner">
Travel to any corner <br/>of the world
</xpath>
<!-- Paragraphs -->
<xpath expr="//p" position="replace" mode="inner">
<b>A travel agent helps you to plan your <br/> trip from start to finish.</b>
<br/>
</xpath>
<!-- Button -->
<xpath expr="//a" position="replace" mode="inner">
Plan your trip with us
</xpath>
</template>
</odoo>
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_features" inherit_id="website.s_features">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt48 pb56" remove="pt32 pb32" separator=" "/>
</xpath>
<!-- Titles -->
<xpath expr="//div[hasclass('row')]/div[1]/h3" position="replace" mode="inner">
Hotel Booking
</xpath>
<xpath expr="//div[hasclass('row')]/div[2]/h3" position="replace" mode="inner">
Flight Booking
</xpath>
<xpath expr="//div[hasclass('row')]/div[3]/h3" position="replace" mode="inner">
Ticket Booking
</xpath>
<!-- Icons -->
<xpath expr="//div[hasclass('row')]/div[1]/i" position="attributes">
<attribute name="class" add="shadow fa-hotel" remove="fa-gear" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('row')]/div[2]/i" position="attributes">
<attribute name="class" add="shadow fa-plane" remove="fa-photo" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('row')]/div[3]/i" position="attributes">
<attribute name="class" add="shadow fa-ticket" remove="fa-leaf" separator=" "/>
</xpath>
</template>
</odoo>
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_text" inherit_id="website.s_image_text">
<!-- Section -->
<xpath expr="//div[hasclass('container')]" position="attributes">
<attribute name="class" add="container-fluid" remove="container" separator=" "/>
</xpath>
<xpath expr="//section" position="attributes">
<attribute name="class" add="pb72" remove="pb32" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="class" add="w-75" separator=" "/>
<attribute name="src">/web_editor/shape/theme_aviato/s_image_text.svg?c1=o-color-1</attribute>
</xpath>
<!-- layout -->
<xpath expr="//div[hasclass('row')]/div[2]" position="attributes">
<attribute name="class" add="col-lg-4" remove="col-lg-6" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h2" position="replace" mode="inner">
Itinerary Planning
</xpath>
<!-- Paragraph -->
<xpath expr="//p[1]" position="replace" mode="inner">
Our vision is to make travel planning stress free and make travel more fun. No matter the type of trip you have in mind, we have the resources and expertise necessary to create the perfect trip
</xpath>
<xpath expr="//p[2]" position="replace">
<p><br/></p>
</xpath>
<xpath expr="//p[3]" position="replace"/>
</template>
</odoo>
+24
View File
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_picture" inherit_id="website.s_picture">
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt72 overflow-hidden o_cc3 bg-o-color-3" remove="pt48 o_cc2" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Bold/01","flip":[]}</attribute>
</xpath>
<xpath expr="//section/div" position="before">
<div class="o_we_shape o_web_editor_Bold_07_001"/>
</xpath>
<xpath expr="//h2" position="replace" mode="inner">
Our travel agencies
</xpath>
<xpath expr="//img" position="attributes">
<attribute name="class" remove="img-thumbnail" separator=" "/>
<attribute name="style">width: 100%;</attribute>
</xpath>
<xpath expr="//figcaption" position="replace">
<figcaption class="text-400"><em>Odoo Travel New York</em></figcaption>
</xpath>
</template>
</odoo>
+16
View File
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_popup" inherit_id="website.s_popup">
<xpath expr="//h2" position="replace" mode="inner">
Win 200$
</xpath>
<xpath expr="//p" position="replace" mode="inner">
Check out now and get $200 off your first booking.
</xpath>
<xpath expr="//a" position="replace" mode="inner">
Travel Now
</xpath>
</template>
</odoo>
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
<!-- Quote 1 -->
<xpath expr="(//div[hasclass('s_blockquote_content')])[1]/p" position="replace" mode="inner">
It's difficult to describe how awesome the trip was. I feel like my life has changed forever. It would take too long to describe day by day the sights, sounds, architecture, art, food, history, and people that we came across. Ireland was fantastic.
</xpath>
<xpath expr="(//span[hasclass('s_blockquote_author')])[1]" position="replace" mode="inner">
<b>Linda and Paulo</b> • From Italy
</xpath>
<!-- Quote 2 -->
<xpath expr="(//div[hasclass('s_blockquote_content')])[2]/p" position="replace" mode="inner">
As always, Odoo Travel has delivered a truly wonderful travel experience for us. Norway was a great travel destination. The parts of the country we visited were beautiful, people were friendly, everything we ate was delicious, and there were many fun things to see and do.
</xpath>
<xpath expr="(//span[hasclass('s_blockquote_author')])[2]" position="replace" mode="inner">
<b>Jacques and Marie</b> • From France
</xpath>
<!-- Quote 3 -->
<xpath expr="(//div[hasclass('s_blockquote_content')])[3]/p" position="replace" mode="inner">
We would like to thank Odoo Travel for organising wonderful tour for us in Delhi, Agra and Rajasthan. Everything was very well organised. Thank you very much for everything!
</xpath>
<xpath expr="(//span[hasclass('s_blockquote_author')])[3]" position="replace" mode="inner">
<b>Rose and Peter</b> • From United Kingdom
</xpath>
</template>
</odoo>
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_text_image" inherit_id="website.s_text_image">
<!-- Container -->
<xpath expr="//div[hasclass('container')]" position="attributes">
<attribute name="class" add="container-fluid" remove="container" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h2" position="replace" mode="inner">
What we can do, <b>for you</b>
</xpath>
<!-- Paragraph -->
<xpath expr="//p[1]" position="replace" mode="inner">
Our team travels widely the globe to bring our clients first-hand knowledge of upcoming destinations, new "hot" hotels and ships, local restaurants, neighborhood hangouts, bars, pubs, the best. beaches and places to visit and not to see.
</xpath>
<xpath expr="//p[2]" position="replace">
<p><br/></p>
</xpath>
<xpath expr="//p[3]" position="replace"/>
<!-- layout -->
<xpath expr="//div[hasclass('row')]/div[1]" position="attributes">
<attribute name="class" add="col-lg-4 offset-lg-2" remove="col-lg-6" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="class" add="w-75" separator=" "/>
<attribute name="src">/web_editor/shape/theme_aviato/s_text_image.svg?c1=o-color-1</attribute>
</xpath>
</template>
</odoo>
@@ -0,0 +1,38 @@
<?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="pt16 pb56 o_cc3" remove="pt32 pb32 o_cc2" separator=" "/>
</xpath>
<!-- Column #01 -->
<xpath expr="//div[hasclass('row')]/div[1]/div" position="replace">
<img class="position-relative d-block img-fluid figure-img rounded shadow-lg w-100" style="height:50vh; object-fit:cover; z-index:2;" src="/web/image/website.s_three_columns_default_image_1" alt="s_three_columns_1"/>
<div class="card-wrapper shadow-lg position-relative p-4 bg-white rounded-3 mt-n4" style="z-index:1;">
<h4 class="card-title mt-4">Paris</h4>
<p>Paris' monument-lined boulevards, museums, classical bistros and boutiques are enhanced by a new wave of multimedia galleries, creative wine bars..</p>
<a href="#" class="btn btn-primary mb-2">Book now</a>
</div>
</xpath>
<!-- Column #02 -->
<xpath expr="//div[hasclass('row')]/div[2]/div" position="replace">
<img class="position-relative d-block img-fluid figure-img rounded shadow-lg w-100" style="height:50vh; object-fit:cover; z-index:2;" src="/web/image/website.s_three_columns_default_image_2" alt="s_three_columns_2"/>
<div class="card-wrapper shadow-lg position-relative p-4 bg-white rounded-3 mt-n4" style="z-index:1;">
<h4 class="card-title mt-4">Rome</h4>
<p>A heady mix of haunting ruins, awe-inspiring art and vibrant street life, Italys hot-blooded capital is one of the worlds most romantic and charismatic cities.</p>
<a href="#" class="btn btn-primary mb-2">Book now</a>
</div>
</xpath>
<!-- Column #03 -->
<xpath expr="//div[hasclass('row')]/div[3]/div" position="replace">
<img class="position-relative d-block img-fluid figure-img rounded shadow-lg w-100" style="height:50vh; object-fit:cover; z-index:2;" src="/web/image/website.s_three_columns_default_image_3" alt="s_three_columns_3"/>
<div class="card-wrapper shadow-lg position-relative p-4 bg-white rounded-3 mt-n4" style="z-index:1;">
<h4 class="card-title mt-4">Prague</h4>
<p>Prague is the equal of Paris in terms of beauty. Its history goes back a millennium. And the beer? The best in Europe. Prague is the perfect city to walk around.</p>
<a href="#" class="btn btn-primary mb-2">Book now</a>
</div>
</xpath>
</template>
</odoo>
+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_title" inherit_id="website.s_title">
<!-- Title -->
<xpath expr="//h1" position="replace" mode="inner">
Top Destinations
</xpath>
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc3" separator=" "/>
</xpath>
</template>
</odoo>