[IMP] theme_monglia: update the theme
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.
task-2619534
X-original-commit: a27996e809
Part-of: odoo/design-themes#501
@@ -17,6 +17,22 @@
|
|||||||
'static/description/monglia_description.png',
|
'static/description/monglia_description.png',
|
||||||
'static/description/monglia_screenshot.jpeg',
|
'static/description/monglia_screenshot.jpeg',
|
||||||
],
|
],
|
||||||
|
'images_preview_theme': {
|
||||||
|
'website.s_cover_default_image': '/theme_monglia/static/src/img/snippets/s_cover.jpg',
|
||||||
|
'website.s_media_list_default_image_1': '/theme_monglia/static/src/img/snippets/s_media_list_1.jpg',
|
||||||
|
'website.s_media_list_default_image_2': '/theme_monglia/static/src/img/snippets/s_media_list_2.jpg',
|
||||||
|
'website.s_media_list_default_image_3': '/theme_monglia/static/src/img/snippets/s_media_list_3.jpg',
|
||||||
|
'website.s_text_image_default_image': '/theme_monglia/static/src/img/snippets/s_text_image.jpg',
|
||||||
|
'website.s_three_columns_default_image_1': '/theme_monglia/static/src/img/snippets/library_image_11.jpg',
|
||||||
|
'website.s_three_columns_default_image_2': '/theme_monglia/static/src/img/snippets/library_image_13.jpg',
|
||||||
|
'website.s_three_columns_default_image_3': '/theme_monglia/static/src/img/snippets/library_image_07.jpg',
|
||||||
|
'website.library_image_03': '/theme_monglia/static/src/img/snippets/library_image_03.jpg',
|
||||||
|
'website.library_image_10': '/theme_monglia/static/src/img/snippets/library_image_10.jpg',
|
||||||
|
'website.library_image_13': '/theme_monglia/static/src/img/snippets/library_image_23.jpg',
|
||||||
|
'website.library_image_02': '/theme_monglia/static/src/img/snippets/library_image_05.jpg',
|
||||||
|
'website.library_image_14': '/theme_monglia/static/src/img/snippets/library_image_14.jpg',
|
||||||
|
'website.library_image_16': '/theme_monglia/static/src/img/snippets/library_image_16.jpg',
|
||||||
|
},
|
||||||
'license': 'LGPL-3',
|
'license': 'LGPL-3',
|
||||||
'live_test_url': 'https://theme-monglia.odoo.com',
|
'live_test_url': 'https://theme-monglia.odoo.com',
|
||||||
'assets': {
|
'assets': {
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<odoo>
|
<odoo>
|
||||||
<data>
|
|
||||||
|
|
||||||
<record id="theme_monglia.s_banner_parallax_000_variables_scss" model="theme.ir.asset">
|
<record id="theme_monglia.s_banner_parallax_000_variables_scss" model="theme.ir.asset">
|
||||||
<field name="key">theme_monglia.s_banner_parallax_000_variables_scss</field>
|
<field name="key">theme_monglia.s_banner_parallax_000_variables_scss</field>
|
||||||
@@ -56,5 +55,4 @@
|
|||||||
<field name="active" eval="False"/>
|
<field name="active" eval="False"/>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
</data>
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
@@ -8,9 +8,5 @@ class ThemeMonglia(models.AbstractModel):
|
|||||||
# For compatibility
|
# For compatibility
|
||||||
# self.enable_asset('theme_common.compatibility_saas_10_1')
|
# self.enable_asset('theme_common.compatibility_saas_10_1')
|
||||||
|
|
||||||
self.disable_view('website.template_header_default')
|
|
||||||
self.enable_view('website.template_header_hamburger')
|
|
||||||
self.enable_header_off_canvas()
|
|
||||||
|
|
||||||
self.disable_view('website.footer_custom')
|
self.disable_view('website.footer_custom')
|
||||||
self.enable_view('website.template_footer_minimalist')
|
self.enable_view('website.template_footer_minimalist')
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 269 KiB After Width: | Height: | Size: 301 KiB |
|
Before Width: | Height: | Size: 127 KiB After Width: | Height: | Size: 84 KiB |
|
After Width: | Height: | Size: 60 KiB |
|
After Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 45 KiB |
|
After Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 65 KiB After Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 79 KiB |
|
After Width: | Height: | Size: 62 KiB |
|
After Width: | Height: | Size: 62 KiB |
|
After Width: | Height: | Size: 45 KiB |
@@ -1,11 +1,6 @@
|
|||||||
odoo.define("theme_monglia.tour.monglia", function (require) {
|
/** @odoo-module */
|
||||||
"use strict";
|
|
||||||
|
|
||||||
const core = require("web.core");
|
import wTourUtils from 'website.tour_utils';
|
||||||
const _t = core._t;
|
|
||||||
|
|
||||||
const wTourUtils = require("website.tour_utils");
|
|
||||||
var tour = require("web_tour.tour");
|
|
||||||
|
|
||||||
const snippets = [
|
const snippets = [
|
||||||
{
|
{
|
||||||
@@ -16,45 +11,41 @@ const snippets = [
|
|||||||
id: 's_title',
|
id: 's_title',
|
||||||
name: 'Title',
|
name: 'Title',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: 's_text_block',
|
||||||
|
name: 'Text',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 's_three_columns',
|
||||||
|
name: 'Columns',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 's_image_wall',
|
||||||
|
name: 'Images Wall',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 's_title',
|
||||||
|
name: 'Title',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: 's_media_list',
|
id: 's_media_list',
|
||||||
name: 'Media List',
|
name: 'Media List',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
id: 's_carousel',
|
|
||||||
name: 'Carousel',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: 's_call_to_action',
|
|
||||||
name: 'Call to Action',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id: 's_text_image',
|
id: 's_text_image',
|
||||||
name: 'Text - Image',
|
name: 'Text - Image',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
id: 's_image_text',
|
|
||||||
name: 'Image - Text',
|
|
||||||
},
|
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
wTourUtils.registerThemeHomepageTour("monglia_tour", [
|
wTourUtils.registerThemeHomepageTour("monglia_tour", [
|
||||||
wTourUtils.dragNDrop(snippets[0]),
|
wTourUtils.dragNDrop(snippets[0]),
|
||||||
wTourUtils.clickOnText(snippets[0], 'h1', 'top'),
|
wTourUtils.clickOnText(snippets[0], 'h1', 'top'),
|
||||||
wTourUtils.goBackToBlocks(),
|
wTourUtils.goBackToBlocks(),
|
||||||
|
|
||||||
wTourUtils.dragNDrop(snippets[1]),
|
wTourUtils.dragNDrop(snippets[1]),
|
||||||
wTourUtils.dragNDrop(snippets[2]),
|
wTourUtils.dragNDrop(snippets[2]),
|
||||||
wTourUtils.dragNDrop(snippets[3]),
|
wTourUtils.dragNDrop(snippets[3]),
|
||||||
|
|
||||||
wTourUtils.dragNDrop(snippets[4]),
|
wTourUtils.dragNDrop(snippets[4]),
|
||||||
wTourUtils.clickOnSnippet(snippets[4], 'top'),
|
|
||||||
wTourUtils.changeBackgroundColor('left'),
|
|
||||||
wTourUtils.selectColorPalette(),
|
|
||||||
wTourUtils.goBackToBlocks('left'),
|
|
||||||
|
|
||||||
wTourUtils.dragNDrop(snippets[5]),
|
wTourUtils.dragNDrop(snippets[5]),
|
||||||
wTourUtils.dragNDrop(snippets[6]),
|
wTourUtils.dragNDrop(snippets[6]),
|
||||||
|
wTourUtils.dragNDrop(snippets[7]),
|
||||||
]);
|
]);
|
||||||
});
|
|
||||||
|
|||||||
@@ -55,10 +55,10 @@ $o-theme-color-palettes: map-merge($o-theme-color-palettes,
|
|||||||
// Fonts
|
// Fonts
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
$o-theme-h1-font-size-multiplier: (36 / 14);
|
$o-theme-h1-font-size-multiplier: (48 / 14);
|
||||||
$o-theme-h2-font-size-multiplier: (30 / 14);
|
$o-theme-h2-font-size-multiplier: (36 / 14);
|
||||||
$o-theme-h3-font-size-multiplier: (24 / 14);
|
$o-theme-h3-font-size-multiplier: (30 / 14);
|
||||||
$o-theme-h4-font-size-multiplier: (18 / 14);
|
$o-theme-h4-font-size-multiplier: (24 / 14);
|
||||||
$o-theme-h5-font-size-multiplier: 1;
|
$o-theme-h5-font-size-multiplier: 1;
|
||||||
$o-theme-h6-font-size-multiplier: (12 / 14);
|
$o-theme-h6-font-size-multiplier: (12 / 14);
|
||||||
|
|
||||||
@@ -137,23 +137,18 @@ $o-website-values-palettes: (
|
|||||||
(
|
(
|
||||||
'color-palettes-name': 'monglia-1',
|
'color-palettes-name': 'monglia-1',
|
||||||
|
|
||||||
'header-font-size': (18 / 16) * 1rem,
|
'header-font-size': (20 / 16) * 1rem,
|
||||||
'font': 'Roboto',
|
'font': 'Roboto',
|
||||||
'headings-font': 'Darker Grotesque',
|
'headings-font': 'Darker Grotesque',
|
||||||
'navbar-font': 'Darker Grotesque',
|
'navbar-font': 'Darker Grotesque',
|
||||||
'buttons-font': 'Darker Grotesque',
|
'buttons-font': 'Roboto',
|
||||||
'header-template': 'hamburger',
|
|
||||||
'hamburger-type': 'off-canvas',
|
|
||||||
'hamburger-position': 'left',
|
|
||||||
'footer-template': 'minimalist',
|
'footer-template': 'minimalist',
|
||||||
|
|
||||||
'btn-border-radius': 0,
|
'btn-border-radius': 0,
|
||||||
'btn-border-radius-sm': 0,
|
'btn-border-radius-sm': 0,
|
||||||
'btn-border-radius-lg': 0,
|
'btn-border-radius-lg': 0,
|
||||||
'btn-font-size': 1.2rem,
|
|
||||||
'btn-padding-y': .474rem,
|
'btn-padding-y': .474rem,
|
||||||
'btn-padding-x': 1.25rem,
|
'btn-padding-x': 1.25rem,
|
||||||
'btn-font-size-lg': 2rem,
|
|
||||||
'btn-padding-y-lg': .4rem,
|
'btn-padding-y-lg': .4rem,
|
||||||
'btn-padding-x-lg': 2rem,
|
'btn-padding-x-lg': 2rem,
|
||||||
),
|
),
|
||||||
@@ -186,3 +181,7 @@ $o-color-palettes-compatibility-indexes: (
|
|||||||
22: 'generic-16',
|
22: 'generic-16',
|
||||||
23: 'generic-17',
|
23: 'generic-17',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Blocks/04', (5:5, 3:2, 2:3, 1:4));
|
||||||
|
$o-bg-shapes: add-extra-shape-colors-mapping('web_editor', 'Blocks/04', 'second', (5:5, 3:2, 2:3, 1:4));
|
||||||
|
|
||||||
|
|||||||
@@ -5,16 +5,23 @@
|
|||||||
<template id="s_title" inherit_id="website.s_title" name="Monglia s_title">
|
<template id="s_title" inherit_id="website.s_title" name="Monglia s_title">
|
||||||
<xpath expr="//section" position="attributes">
|
<xpath expr="//section" position="attributes">
|
||||||
<attribute name="class" add="o_cc o_cc5" separator=" "/>
|
<attribute name="class" add="o_cc o_cc5" separator=" "/>
|
||||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Airy/07","flip":[]}</attribute>
|
|
||||||
</xpath>
|
|
||||||
<xpath expr="//div[hasclass('container')]" position="before">
|
|
||||||
<div class="o_we_shape o_web_editor_Airy_07"/>
|
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//h1" position="replace">
|
<xpath expr="//h1" position="replace">
|
||||||
<h1>NEXT <font class="text-o-color-1">EVENTS</font></h1>
|
<h1> <font style="background-image: linear-gradient(135deg, var(--o-color-4) 25%, var(--o-color-1) 100%);" class="text-gradient">MAIN LINE UP</font></h1>
|
||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<!-- ======== Text ======== -->
|
||||||
|
<template id="s_text_block" inherit_id="website.s_text_block" name="Monglia s_text_block">
|
||||||
|
<xpath expr="//section" position="attributes">
|
||||||
|
<attribute name="class" add="o_cc5 pt0" remove="pt40" separator=" "/>
|
||||||
|
</xpath>
|
||||||
|
<xpath expr="//p" position="replace">
|
||||||
|
<p style="font-size:36px;">Kori Thill ■ Chana Smithwick ■ Cira Sherard ■ Elfriede Ogan ■ Mariko Yonker ■ Bella Maday ■ Shaneka Wilkerson ■ Raina Planck ■ Micaela Labonte ■ Chadwick Cottman ■ Emile Hornung ■ Genevie Mehaffey ■ Dottie Hinkson ■ Mariah Nurse ■ Velda Caster ■ Rossie Cranfield ■ Iva Madrid ■ Flossie Freitas ■ Tina Gregerson ■ Quiana Tassin </p>
|
||||||
|
</xpath>
|
||||||
|
<xpath expr="//p[2]" position="replace" />
|
||||||
|
</template>
|
||||||
|
|
||||||
<!-- ======== BANNER ======== -->
|
<!-- ======== BANNER ======== -->
|
||||||
<template id="s_banner" inherit_id="website.s_banner" name="Monglia s_banner">
|
<template id="s_banner" inherit_id="website.s_banner" name="Monglia s_banner">
|
||||||
<xpath expr="//section" position="attributes">
|
<xpath expr="//section" position="attributes">
|
||||||
@@ -29,22 +36,13 @@
|
|||||||
<template id="s_cover" inherit_id="website.s_cover" name="Monglia s_cover">
|
<template id="s_cover" inherit_id="website.s_cover" name="Monglia s_cover">
|
||||||
<!-- Customize elements -->
|
<!-- Customize elements -->
|
||||||
<xpath expr="//section" position="attributes">
|
<xpath expr="//section" position="attributes">
|
||||||
<attribute name="class" add="o_half_screen_height o_cc o_cc2" separator=" "/>
|
<attribute name="class" add="o_full_screen_height o_cc o_cc5" separator=" "/>
|
||||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Blocks/03","flip":[]}</attribute>
|
|
||||||
</xpath>
|
</xpath>
|
||||||
|
<xpath expr="//div[hasclass('o_we_bg_filter')]" position="replace">
|
||||||
<xpath expr="//div[hasclass('container')]" position="before">
|
<div class="o_we_bg_filter bg-black-25"/>
|
||||||
<div class="o_we_shape o_web_editor_Blocks_03"/>
|
|
||||||
</xpath>
|
</xpath>
|
||||||
|
|
||||||
<xpath expr="//div[hasclass('container')]" position="after">
|
|
||||||
<a class="o_scroll_button rounded-circle align-items-center justify-content-center mx-auto bg-primary text-o-color-4 mb-2" href="#" contenteditable="false" title="Scroll down to next section">
|
|
||||||
<i class="fa fa-angle-down fa-3x"/>
|
|
||||||
</a>
|
|
||||||
</xpath>
|
|
||||||
|
|
||||||
<xpath expr="//h1" position="replace">
|
<xpath expr="//h1" position="replace">
|
||||||
<h1 style="text-align: left"><font style="font-size: 62px; font-weight: bold;">X²O Festival</font></h1>
|
<h1 style="text-align: left">X²O Festival</h1>
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//p[1]" position="replace">
|
<xpath expr="//p[1]" position="replace">
|
||||||
<p class="lead" style="text-align: left">After a year's absence, the free and independent festival is back.</p>
|
<p class="lead" style="text-align: left">After a year's absence, the free and independent festival is back.</p>
|
||||||
@@ -56,84 +54,70 @@
|
|||||||
<xpath expr="//a[hasclass('btn')]" position="attributes">
|
<xpath expr="//a[hasclass('btn')]" position="attributes">
|
||||||
<attribute name="class" add="btn-lg" separator=" "/>
|
<attribute name="class" add="btn-lg" separator=" "/>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
|
||||||
<!-- Remove color filter -->
|
|
||||||
<xpath expr="//div[hasclass('o_we_bg_filter')]" position="replace"/>
|
|
||||||
|
|
||||||
<!-- Create column -->
|
<!-- Create column -->
|
||||||
<xpath expr="//div[hasclass('container')]" position="inside">
|
<xpath expr="//div[hasclass('container')]" position="inside">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="o_colored_level col-lg-5"/>
|
<div class="o_colored_level col-lg-5"/>
|
||||||
</div>
|
</div>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
|
||||||
<!-- Move all elements inside the new col -->
|
<!-- Move all elements inside the new col -->
|
||||||
<xpath expr="//div[hasclass('col-lg-5')]" position="inside">
|
<xpath expr="//div[hasclass('col-lg-5')]" position="inside">
|
||||||
<xpath expr="//div[hasclass('container')]/h1" position="move"/>
|
<xpath expr="//div[hasclass('container')]/h1" position="move"/>
|
||||||
<xpath expr="//div[hasclass('container')]/p" position="move"/>
|
<xpath expr="//div[hasclass('container')]/p" position="move"/>
|
||||||
<xpath expr="//div[hasclass('container')]/p" position="move"/>
|
<xpath expr="//div[hasclass('container')]/p" position="move"/>
|
||||||
<h2>21/22 December</h2>
|
<h2>21/22 December</h2><br/>
|
||||||
<xpath expr="//div[hasclass('container')]/p" position="move"/>
|
<xpath expr="//div[hasclass('container')]/p" position="move"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<!-- ======== MEDIA LIST ======== -->
|
<!-- ======== MEDIA LIST ======== -->
|
||||||
<template id="s_media_list" inherit_id="website.s_media_list" name="Monglia s_media_list">
|
<template id="s_media_list" inherit_id="website.s_media_list" name="Monglia s_media_list">
|
||||||
<xpath expr="//section" position="attributes">
|
<xpath expr="//div[hasclass('container')]/div/div[1]//h3" position="replace" mode="inner">
|
||||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Airy/06","flip":["x"]}</attribute>
|
Old Town Road
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//div[hasclass('container')]" position="before">
|
<xpath expr="//div[hasclass('container')]/div/div[1]//p" position="replace" mode="inner">
|
||||||
<div class="o_we_shape o_web_editor_Airy_06 o_we_flip_x"/>
|
Everyone knows The States is the home of country music, and they have the festivals to prove it. Grab your cowboy hat and boots because we've put together the best country bands in the USA.
|
||||||
</xpath>
|
</xpath>
|
||||||
|
<xpath expr="//div[hasclass('container')]/div/div[2]//h3" position="replace" mode="inner">
|
||||||
<xpath expr="//div[hasclass('container')]/div/div[1]//h3" position="replace">
|
Smack My Band Up
|
||||||
<h3>Old Town Road</h3>
|
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//div[hasclass('container')]/div/div[1]//p" position="replace">
|
<xpath expr="//div[hasclass('container')]/div/div[2]//p" position="replace" mode="inner">
|
||||||
<p>Everyone knows The States is the home of country music, and they have the festivals to prove it. Grab your cowboy hat and boots because we've put together the best country bands in the USA.</p>
|
Dj's and electro artists meet every year for the electro dance festival in the largest concert venue in Europe. Book your tickets now, there won't be room for everybody.
|
||||||
</xpath>
|
</xpath>
|
||||||
|
<xpath expr="//div[hasclass('container')]/div/div[3]//h3" position="replace" mode="inner">
|
||||||
<xpath expr="//div[hasclass('container')]/div/div[2]//h3" position="replace">
|
Sodade Club
|
||||||
<h3>Smack My Band Up</h3>
|
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//div[hasclass('container')]/div/div[2]//p" position="replace">
|
<xpath expr="//div[hasclass('container')]/div/div[3]//p" position="replace" mode="inner">
|
||||||
<p>Dj's and electro artists meet every year for the electro dance festival in the largest concert venue in Europe. Book your tickets now, there won't be room for everybody.</p>
|
Sodade is a beautiful concept that is difficult to put into words, but can be experienced by enjoying the diverse range of music on offer.
|
||||||
</xpath>
|
|
||||||
|
|
||||||
<xpath expr="//div[hasclass('container')]/div/div[3]//h3" position="replace">
|
|
||||||
<h3>Sodade Club</h3>
|
|
||||||
</xpath>
|
|
||||||
<xpath expr="//div[hasclass('container')]/div/div[3]//p" position="replace">
|
|
||||||
<p>Sodade is a beautiful concept that is difficult to put into words, but can be experienced by enjoying the diverse range of music on offer.</p>
|
|
||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<!-- ======== TEXT - IMAGE ======== -->
|
<!-- ======== TEXT - IMAGE ======== -->
|
||||||
<template id="s_text_image" inherit_id="website.s_text_image" name="Monglia s_text_image">
|
<template id="s_text_image" inherit_id="website.s_text_image" name="Monglia s_text_image">
|
||||||
<xpath expr="//section" position="attributes">
|
<xpath expr="//section" position="attributes">
|
||||||
<attribute name="class" add="pt104 pb40" remove="pt32 pb32" separator=" "/>
|
<attribute name="class" add="pt56 pb40 o_cc o_cc1" remove="pt32 pb32" separator=" "/>
|
||||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Blocks/04","flip":[]}</attribute>
|
<attribute name="data-oe-shape-data">{"shape":"web_editor/Blocks/04","flip":["y"]}</attribute>
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//div[hasclass('container')]" position="before">
|
<xpath expr="//div[hasclass('container')]" position="before">
|
||||||
<div class="o_we_shape o_web_editor_Blocks_04"/>
|
<div class="o_we_shape o_web_editor_Blocks_04 o_we_flip_y o_second_extra_shape_mapping"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
|
||||||
<xpath expr="//div[hasclass('col-lg-6')]" position="attributes">
|
<xpath expr="//div[hasclass('col-lg-6')]" position="attributes">
|
||||||
<attribute name="class" remove="col-lg-6" add="col-lg-5" separator=" "/>
|
<attribute name="class" remove="col-lg-6" add="col-lg-5 offset-lg-1" separator=" "/>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
<xpath expr="//img" position="attributes">
|
||||||
<xpath expr="//div[hasclass('col-lg-6')]" position="attributes">
|
<attribute name="src">/web_editor/image_shape/website.s_text_image_default_image/web_editor/basic/bsc_square_3.svg</attribute>
|
||||||
<attribute name="class" add="offset-lg-1" separator=" "/>
|
<attribute name="data-shape">web_editor/basic/bsc_square_3</attribute>
|
||||||
|
<attribute name="data-original-mimetype">image/jpeg</attribute>
|
||||||
|
<attribute name="data-file-name">s_text_image.svg</attribute>
|
||||||
|
<attribute name="data-shape-colors">;;;;</attribute>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
<xpath expr="//h2" position="replace" mode="inner">
|
||||||
<xpath expr="//h2" position="replace">
|
<font style="background-image: linear-gradient(135deg, var(--o-color-1) 25%, var(--o-color-2) 100%);" class="text-gradient">Music is magic</font>
|
||||||
<h2>The Club</h2>
|
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//p" position="replace">
|
<xpath expr="//p" position="replace" mode="inner">
|
||||||
<p>Open 24/7, the club welcomes you and your friends in a relaxed and friendly atmosphere.</p>
|
Open 24/7, the club welcomes you and your friends in a relaxed and friendly atmosphere.
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//p[2]" position="replace"/>
|
<xpath expr="//p[2]" position="replace"/>
|
||||||
|
|
||||||
<xpath expr="//a" position="replace">
|
<xpath expr="//a" position="replace">
|
||||||
<a href="/contactus" class="btn btn-primary mb-2">Learn more</a>
|
<a href="/contactus" class="btn btn-primary mb-2">Learn more</a>
|
||||||
</xpath>
|
</xpath>
|
||||||
@@ -147,21 +131,26 @@
|
|||||||
<xpath expr="//div[hasclass('col-lg-6')][2]" position="attributes">
|
<xpath expr="//div[hasclass('col-lg-6')][2]" position="attributes">
|
||||||
<attribute name="class" remove="col-lg-6" add="col-lg-5 offset-lg-1" separator=" "/>
|
<attribute name="class" remove="col-lg-6" add="col-lg-5 offset-lg-1" separator=" "/>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
<xpath expr="//h2" position="replace" mode="inner">
|
||||||
<xpath expr="//h2" position="replace">
|
<font style="background-image: linear-gradient(135deg, var(--o-color-1) 25%, var(--o-color-2) 100%);" class="text-gradient">Mixology</font>
|
||||||
<h2>Mixology</h2>
|
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//p" position="replace">
|
<xpath expr="//p" position="replace" mode="inner">
|
||||||
<p>Every evening, renowned mixologists take turns preparing the best cocktails for you. Drink responsibly.</p>
|
Every evening, renowned mixologists take turns preparing the best cocktails for you. Drink responsibly.
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//p[2]" position="replace"/>
|
<xpath expr="//p[2]" position="replace"/>
|
||||||
|
<xpath expr="//img" position="attributes">
|
||||||
|
<attribute name="src">/web_editor/image_shape/website.s_image_text_default_image/web_editor/basic/bsc_square_6.svg</attribute>
|
||||||
|
<attribute name="data-shape">web_editor/basic/bsc_square_6</attribute>
|
||||||
|
<attribute name="data-original-mimetype">image/jpeg</attribute>
|
||||||
|
<attribute name="data-file-name">s_image_text.svg</attribute>
|
||||||
|
<attribute name="data-shape-colors">;;;;</attribute>
|
||||||
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<!-- ======== CAROUSEL ======== -->
|
<!-- ======== CAROUSEL ======== -->
|
||||||
<template id="s_carousel" inherit_id="website.s_carousel" name="Monglia s_carousel">
|
<template id="s_carousel" inherit_id="website.s_carousel" name="Monglia s_carousel">
|
||||||
<xpath expr="//h2/font" position="replace">
|
<xpath expr="//h2" position="replace" mode="inner">
|
||||||
<font style="font-size: 62px;">Martina Clarck</font>
|
Martina Clarck
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//p" position="replace">
|
<xpath expr="//p" position="replace">
|
||||||
<p class="lead">This is the first full-length studio release in seven years for the British singer-songwriter.</p>
|
<p class="lead">This is the first full-length studio release in seven years for the British singer-songwriter.</p>
|
||||||
@@ -188,7 +177,7 @@
|
|||||||
<!-- ======== CALL TO ACTION ======== -->
|
<!-- ======== CALL TO ACTION ======== -->
|
||||||
<template id="s_call_to_action" inherit_id="website.s_call_to_action" name="Monglia s_call_to_action">
|
<template id="s_call_to_action" inherit_id="website.s_call_to_action" name="Monglia s_call_to_action">
|
||||||
<xpath expr="//section" position="attributes">
|
<xpath expr="//section" position="attributes">
|
||||||
<attribute name="class" add="o_cc o_cc5" separator=" "/>
|
<attribute name="class" add="o_cc o_cc4" separator=" "/>
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//h3" position="replace">
|
<xpath expr="//h3" position="replace">
|
||||||
<h3 style="text-align: left;"><b>APPLY FOR OUR V.I.P. CARD</b></h3>
|
<h3 style="text-align: left;"><b>APPLY FOR OUR V.I.P. CARD</b></h3>
|
||||||
@@ -201,4 +190,51 @@
|
|||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<!-- ======== 3-COLUMNS ======== -->
|
||||||
|
<template id="s_three_columns" inherit_id="website.s_three_columns">
|
||||||
|
<xpath expr="//section" position="attributes">
|
||||||
|
<attribute name="class" add="pb0 o_cc o_cc5" remove="pb32" separator=" "/>
|
||||||
|
<attribute name="data-oe-shape-data">{"shape":"web_editor/Blocks/04","flip":[]}</attribute>
|
||||||
|
</xpath>
|
||||||
|
<xpath expr="//div[hasclass('container')]" position="before">
|
||||||
|
<div class="o_we_shape o_web_editor_Blocks_04"></div>
|
||||||
|
</xpath>
|
||||||
|
<xpath expr="//h3" position="replace" mode="inner">
|
||||||
|
Wilson Holt
|
||||||
|
</xpath>
|
||||||
|
<xpath expr="(//h3)[2]" position="replace" mode="inner">
|
||||||
|
Theia Hayward
|
||||||
|
</xpath>
|
||||||
|
<xpath expr="(//h3)[3]" position="replace" mode="inner">
|
||||||
|
Bruce Porter
|
||||||
|
</xpath>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<!-- ======== GALLERY ======== -->
|
||||||
|
<template id="s_images_wall" inherit_id="website.s_images_wall">
|
||||||
|
<!-- Section -->
|
||||||
|
<xpath expr="//section" position="attributes">
|
||||||
|
<attribute name="class" add="o_cc2 o_spc-medium" remove="o_cc5 o_spc-small" separator=" "/>
|
||||||
|
</xpath>
|
||||||
|
<!-- Image -->
|
||||||
|
<xpath expr="//img" position="attributes">
|
||||||
|
<attribute name="class" add="rounded" separator=" "/>
|
||||||
|
</xpath>
|
||||||
|
<xpath expr="(//img)[2]" position="attributes">
|
||||||
|
<attribute name="class" add="rounded" separator=" "/>
|
||||||
|
</xpath>
|
||||||
|
<xpath expr="(//img)[3]" position="attributes">
|
||||||
|
<attribute name="class" add="rounded" separator=" "/>
|
||||||
|
</xpath>
|
||||||
|
<xpath expr="(//img)[4]" position="attributes">
|
||||||
|
<attribute name="class" add="rounded" separator=" "/>
|
||||||
|
</xpath>
|
||||||
|
<xpath expr="(//img)[5]" position="attributes">
|
||||||
|
<attribute name="class" add="rounded" separator=" "/>
|
||||||
|
</xpath>
|
||||||
|
<xpath expr="(//img)[6]" position="attributes">
|
||||||
|
<attribute name="class" add="rounded" separator=" "/>
|
||||||
|
</xpath>
|
||||||
|
</template>
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
|
||||||
<!-- Not used anymore by the editor: files and records kept for back-compatibility.
|
<!-- Not used anymore by the editor: files and records kept for back-compatibility.
|
||||||
Check in primary_variables.scss, theme.scss and theme_common's mixins.scss -->
|
Check in primary_variables.scss, theme.scss and theme_common's mixins.scss -->
|
||||||
<record id="image_content_02" model="theme.ir.attachment">
|
<record id="image_content_02" model="theme.ir.attachment">
|
||||||
@@ -78,6 +78,11 @@
|
|||||||
<record id="library_image_13" model="theme.ir.attachment">
|
<record id="library_image_13" model="theme.ir.attachment">
|
||||||
<field name="key">website.library_image_13</field>
|
<field name="key">website.library_image_13</field>
|
||||||
<field name="name">website.library_image_13</field>
|
<field name="name">website.library_image_13</field>
|
||||||
|
<field name="url">/theme_monglia/static/src/img/snippets/library_image_23.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_monglia/static/src/img/snippets/library_image_13.jpg</field>
|
<field name="url">/theme_monglia/static/src/img/snippets/library_image_13.jpg</field>
|
||||||
</record>
|
</record>
|
||||||
<record id="library_image_07" model="theme.ir.attachment">
|
<record id="library_image_07" model="theme.ir.attachment">
|
||||||
@@ -85,6 +90,31 @@
|
|||||||
<field name="name">website.library_image_07</field>
|
<field name="name">website.library_image_07</field>
|
||||||
<field name="url">/theme_monglia/static/src/img/snippets/library_image_07.jpg</field>
|
<field name="url">/theme_monglia/static/src/img/snippets/library_image_07.jpg</field>
|
||||||
</record>
|
</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_monglia/static/src/img/snippets/library_image_14.jpg</field>
|
||||||
|
</record>
|
||||||
|
<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_monglia/static/src/img/snippets/library_image_03.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_monglia/static/src/img/snippets/library_image_10.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_monglia/static/src/img/snippets/library_image_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_monglia/static/src/img/snippets/library_image_16.jpg</field>
|
||||||
|
</record>
|
||||||
<record id="s_masonry_block_default_image_1" model="theme.ir.attachment">
|
<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="key">website.s_masonry_block_default_image_1</field>
|
||||||
<field name="name">website.s_masonry_block_default_image_1</field>
|
<field name="name">website.s_masonry_block_default_image_1</field>
|
||||||
@@ -215,5 +245,5 @@
|
|||||||
<field name="name">website.s_blockquote_default_image</field>
|
<field name="name">website.s_blockquote_default_image</field>
|
||||||
<field name="url">/theme_monglia/static/src/img/snippets/uiface_2.jpg</field>
|
<field name="url">/theme_monglia/static/src/img/snippets/uiface_2.jpg</field>
|
||||||
</record>
|
</record>
|
||||||
</data>
|
|
||||||
</openerp>
|
</odoo>
|
||||||
|
|||||||