[IMP] theme_vehicule: improve theme
task-4178091
Part of task-4177975
closes odoo/design-themes#949
X-original-commit: 8fda02fca5
Signed-off-by: Outagant Mehdi (mou) <mou@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -9,14 +9,14 @@ const snippets = [
|
||||
groupName: "Intro",
|
||||
},
|
||||
{
|
||||
id: 's_text_image',
|
||||
name: 'Text - Image',
|
||||
groupName: "Content",
|
||||
id: 's_title',
|
||||
name: 'Title',
|
||||
groupName: "Text",
|
||||
},
|
||||
{
|
||||
id: 's_image_text',
|
||||
name: 'Image - Text',
|
||||
groupName: "Content",
|
||||
id: 's_three_columns',
|
||||
name: 'Columns',
|
||||
groupName: "Columns",
|
||||
},
|
||||
{
|
||||
id: 's_picture',
|
||||
@@ -24,28 +24,29 @@ const snippets = [
|
||||
groupName: "Images",
|
||||
},
|
||||
{
|
||||
id: 's_masonry_block',
|
||||
name: 'Masonry',
|
||||
groupName: "Images",
|
||||
id: 's_key_images',
|
||||
name: 'Key Images',
|
||||
groupName: "Columns",
|
||||
},
|
||||
{
|
||||
id: 's_call_to_action',
|
||||
name: 'Call to Action',
|
||||
id: 's_numbers_charts',
|
||||
name: 'Numbers Charts',
|
||||
groupName: "Content",
|
||||
},
|
||||
{
|
||||
id: 's_media_list',
|
||||
name: 'Media List',
|
||||
groupName: "Content",
|
||||
},
|
||||
];
|
||||
|
||||
wTourUtils.registerThemeHomepageTour("vehicle_tour", () => [
|
||||
wTourUtils.assertCssVariable('--color-palettes-name', '"vehicle-1"'),
|
||||
...wTourUtils.dragNDrop(snippets[0], 'top'),
|
||||
...wTourUtils.clickOnText(snippets[0], 'h1', 'top'),
|
||||
wTourUtils.goBackToBlocks(),
|
||||
...wTourUtils.dragNDrop(snippets[1], 'top'),
|
||||
...wTourUtils.dragNDrop(snippets[2], 'top'),
|
||||
...wTourUtils.dragNDrop(snippets[3], 'top'),
|
||||
...wTourUtils.dragNDrop(snippets[4], 'top'),
|
||||
...wTourUtils.dragNDrop(snippets[5], 'top'),
|
||||
...wTourUtils.clickOnSnippet(snippets[5]),
|
||||
wTourUtils.changeBackgroundColor(),
|
||||
wTourUtils.selectColorPalette(),
|
||||
...wTourUtils.dragNDrop(snippets[0]),
|
||||
...wTourUtils.dragNDrop(snippets[1]),
|
||||
...wTourUtils.dragNDrop(snippets[2]),
|
||||
...wTourUtils.dragNDrop(snippets[3]),
|
||||
...wTourUtils.dragNDrop(snippets[4]),
|
||||
...wTourUtils.dragNDrop(snippets[5]),
|
||||
...wTourUtils.dragNDrop(snippets[6]),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user