mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
5cbf95db80
This was probably removed at some point because the snippet was empty
but it is not anymore in 14.3 so we need it for shape connection.
Part of https://github.com/odoo/design-themes/pull/2
task-2491890
X-original-commit: 3a2396e3a0
52 lines
1.1 KiB
JavaScript
52 lines
1.1 KiB
JavaScript
odoo.define("theme_avantgarde.tour.avantgarde", function (require) {
|
|
"use strict";
|
|
|
|
const wTourUtils = require("website.tour_utils");
|
|
var tour = require("web_tour.tour");
|
|
|
|
const snippets = [
|
|
{
|
|
id: 's_title',
|
|
name: 'Title',
|
|
},
|
|
{
|
|
id: 's_carousel',
|
|
name: 'Carousel',
|
|
},
|
|
{
|
|
id: 's_text_image',
|
|
name: 'Image - Text',
|
|
},
|
|
{
|
|
id: 's_images_wall',
|
|
name: 'Images Wall',
|
|
},
|
|
{
|
|
id: 's_references',
|
|
name: 'References',
|
|
},
|
|
{
|
|
id: 's_quotes_carousel',
|
|
name: 'Quotes',
|
|
},
|
|
];
|
|
|
|
wTourUtils.registerThemeHomepageTour("avantgarde_tour", [
|
|
wTourUtils.dragNDrop(snippets[0], 'top'),
|
|
wTourUtils.clickOnText(snippets[0], 'h1', 'left'),
|
|
wTourUtils.goBackToBlocks(),
|
|
|
|
wTourUtils.dragNDrop(snippets[1], 'left'),
|
|
|
|
wTourUtils.dragNDrop(snippets[2], 'bottom'),
|
|
wTourUtils.clickOnSnippet(snippets[2], 'top'),
|
|
wTourUtils.changeBackgroundColor('top'),
|
|
wTourUtils.selectColorPalette(),
|
|
wTourUtils.goBackToBlocks(),
|
|
|
|
wTourUtils.dragNDrop(snippets[3], 'top'),
|
|
|
|
wTourUtils.dragNDrop(snippets[4], 'top'),
|
|
]);
|
|
});
|