[IMP] theme_bewise: update the theme
This commit updates the theme to improve the design with shapes, new pictures and new custom snippets. task-2573302 Part-of: odoo/design-themes#477
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
odoo.define("theme_bewise.tour.bewise", function (require) {
|
||||
"use strict";
|
||||
/** @odoo-module */
|
||||
import wTourUtils from 'website.tour_utils';
|
||||
|
||||
const core = require("web.core");
|
||||
const _t = core._t;
|
||||
|
||||
const wTourUtils = require("website.tour_utils");
|
||||
var tour = require("web_tour.tour");
|
||||
|
||||
const snippets = [
|
||||
{
|
||||
id: 's_cover',
|
||||
@@ -33,8 +30,8 @@ const snippets = [
|
||||
name: 'Quotes',
|
||||
},
|
||||
{
|
||||
id: 's_company_team',
|
||||
name: 'Team',
|
||||
id: 's_color_blocks_2',
|
||||
name: 'Big Boxes',
|
||||
},
|
||||
];
|
||||
|
||||
@@ -45,11 +42,11 @@ wTourUtils.registerThemeHomepageTour("bewise_tour", [
|
||||
wTourUtils.dragNDrop(snippets[1], 'top'),
|
||||
wTourUtils.dragNDrop(snippets[2], 'top'),
|
||||
wTourUtils.dragNDrop(snippets[3], 'top'),
|
||||
wTourUtils.clickOnSnippet(snippets[3], 'top'),
|
||||
wTourUtils.changeOption('BackgroundShape', 'we-toggler', _t('Background Shape')),
|
||||
wTourUtils.selectNested('we-select-page', 'BackgroundShape', ':not(.o_we_pager_controls)', _t('Background Shape')),
|
||||
wTourUtils.goBackToBlocks(),
|
||||
wTourUtils.dragNDrop(snippets[4], 'top'),
|
||||
wTourUtils.dragNDrop(snippets[5], 'top'),
|
||||
wTourUtils.dragNDrop(snippets[6], 'top'),
|
||||
wTourUtils.clickOnSnippet(snippets[6], 'top'),
|
||||
wTourUtils.changeOption('BackgroundShape', 'we-toggler', _t('Background Shape')),
|
||||
wTourUtils.selectNested('we-select-page', 'BackgroundShape', ':not(.o_we_pager_controls)', _t('Background Shape')),
|
||||
]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user