mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_bistro: revamp the theme
task-4178021 Part of task-4177975 closes odoo/design-themes#919 Related: odoo/odoo#180736 Signed-off-by: Outagant Mehdi (mou) <mou@odoo.com> Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -4,39 +4,34 @@ import * as wTourUtils from '@website/js/tours/tour_utils';
|
||||
|
||||
const snippets = [
|
||||
{
|
||||
id: 's_cover',
|
||||
name: 'Cover',
|
||||
groupName: "Intro",
|
||||
},
|
||||
{
|
||||
id: 's_features',
|
||||
name: 'Features',
|
||||
groupName: "Content",
|
||||
},
|
||||
{
|
||||
id: 's_picture',
|
||||
name: 'Title - Image',
|
||||
id: 's_image_title',
|
||||
name: 'Image Title',
|
||||
groupName: "Images",
|
||||
},
|
||||
{
|
||||
id: 's_product_catalog',
|
||||
name: 'Pricelist',
|
||||
groupName: "Content",
|
||||
id: 's_key_images',
|
||||
name: 'Key Images',
|
||||
groupName: "Columns",
|
||||
},
|
||||
{
|
||||
id: 's_text_block',
|
||||
name: 'Text',
|
||||
groupName: "Text",
|
||||
id: 's_pricelist_cafe',
|
||||
name: 'Pricelist cafe',
|
||||
groupName: "Content",
|
||||
},
|
||||
{
|
||||
id: 's_quotes_carousel',
|
||||
name: 'Quotes',
|
||||
groupName: "People",
|
||||
},
|
||||
{
|
||||
id: 's_quadrant',
|
||||
name: 'Quadrant',
|
||||
groupName: "Images",
|
||||
},
|
||||
];
|
||||
|
||||
wTourUtils.registerThemeHomepageTour("bistro_tour", () => [
|
||||
wTourUtils.assertCssVariable('--color-palettes-name', '"bistro-5"'),
|
||||
wTourUtils.assertCssVariable('--color-palettes-name', '"default-22"'),
|
||||
...wTourUtils.dragNDrop(snippets[0]),
|
||||
...wTourUtils.clickOnText(snippets[0], 'h1', 'top'),
|
||||
wTourUtils.goBackToBlocks(),
|
||||
@@ -48,5 +43,4 @@ wTourUtils.registerThemeHomepageTour("bistro_tour", () => [
|
||||
wTourUtils.goBackToBlocks(),
|
||||
...wTourUtils.dragNDrop(snippets[3]),
|
||||
...wTourUtils.dragNDrop(snippets[4]),
|
||||
...wTourUtils.dragNDrop(snippets[5]),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user