[ADD] theme 14.0

This commit is contained in:
Jeremy Kersten
2021-05-10 15:45:35 +02:00
commit cb1e3be3f8
2309 changed files with 55585 additions and 0 deletions
+44
View File
@@ -0,0 +1,44 @@
odoo.define("theme_real_estate.tour.real_estate", function (require) {
"use strict";
const wTourUtils = require("website.tour_utils");
var tour = require("web_tour.tour");
const snippets = [
{
id: 's_banner',
name: 'Banner',
},
{
id: 's_picture',
name: 'Picture',
},
{
id: 's_image_text',
name: 'Image - Text',
},
{
id: 's_three_columns',
name: 'Columns',
},
{
id: 's_quotes_carousel',
name: 'Quotes',
},
];
wTourUtils.registerThemeHomepageTour("real_estate_tour", [
wTourUtils.dragNDrop(snippets[0]),
wTourUtils.clickOnText(snippets[0], 'h1'),
wTourUtils.goBackToBlocks(),
wTourUtils.dragNDrop(snippets[1]),
wTourUtils.dragNDrop(snippets[2]),
wTourUtils.dragNDrop(snippets[3]),
wTourUtils.clickOnSnippet(snippets[3]),
wTourUtils.changeBackgroundColor(),
wTourUtils.selectColorPalette(),
wTourUtils.goBackToBlocks(),
wTourUtils.dragNDrop(snippets[4]),
wTourUtils.clickOnSave(),
]);
});