mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
b9d48ebe86
Rename all imports with alias old system to the new js module system Task ID: 3266759 closes odoo/design-themes#671 Related: odoo/odoo#127414 Related: odoo/enterprise#43716 Signed-off-by: Bastien Pierre (ipb) <ipb@odoo.com>
43 lines
949 B
JavaScript
43 lines
949 B
JavaScript
/** @odoo-module **/
|
|
|
|
import wTourUtils from "@website/js/tours/tour_utils";
|
|
|
|
const snippets = [
|
|
{
|
|
id: 's_banner',
|
|
name: 'Banner',
|
|
},
|
|
{
|
|
id: 's_picture',
|
|
name: 'Picture',
|
|
},
|
|
{
|
|
id: 's_numbers',
|
|
name: 'Numbers',
|
|
},
|
|
{
|
|
id: 's_text_image',
|
|
name: 'Text - Image',
|
|
},
|
|
{
|
|
id: 's_image_wall',
|
|
name: 'Images Wall',
|
|
},
|
|
{
|
|
id: 's_call_to_action',
|
|
name: 'Call to Action',
|
|
},
|
|
];
|
|
|
|
wTourUtils.registerThemeHomepageTour("enark_tour", [
|
|
wTourUtils.assertCssVariable('--color-palettes-name', '"enark-1"'),
|
|
wTourUtils.dragNDrop(snippets[0]),
|
|
wTourUtils.clickOnText(snippets[0], 'h1'),
|
|
wTourUtils.goBackToBlocks(),
|
|
wTourUtils.dragNDrop(snippets[1]),
|
|
wTourUtils.dragNDrop(snippets[2]),
|
|
wTourUtils.dragNDrop(snippets[3]),
|
|
wTourUtils.dragNDrop(snippets[4]),
|
|
wTourUtils.dragNDrop(snippets[5]),
|
|
]);
|