mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_clean: update the theme
This commit updates the theme to improve the design with new colors, new pictures and new snippet customizations. task-2597387 Part-of: odoo/design-themes#500
This commit is contained in:
@@ -1,21 +1,34 @@
|
||||
odoo.define("theme_clean.tour.clean", function (require) {
|
||||
"use strict";
|
||||
/** @odoo-module */
|
||||
|
||||
const wTourUtils = require("website.tour_utils");
|
||||
var tour = require("web_tour.tour");
|
||||
import wTourUtils from 'website.tour_utils';
|
||||
|
||||
const core = require("web.core");
|
||||
const _t = core._t;
|
||||
|
||||
const snippets = [
|
||||
{
|
||||
id: 's_cover',
|
||||
name: 'Cover',
|
||||
},
|
||||
{
|
||||
id: 's_text_image',
|
||||
name: 'Text - Image',
|
||||
},
|
||||
{
|
||||
id: 's_title',
|
||||
name: 'Title',
|
||||
},
|
||||
{
|
||||
id: 's_features',
|
||||
name: 'Features',
|
||||
},
|
||||
{
|
||||
id: 's_carousel',
|
||||
name: 'Carousel',
|
||||
},
|
||||
{
|
||||
id: 's_text_image',
|
||||
name: 'Text - Image',
|
||||
id: 's_numbers',
|
||||
name: 'Numbers',
|
||||
},
|
||||
{
|
||||
id: 's_three_columns',
|
||||
@@ -34,9 +47,11 @@ wTourUtils.registerThemeHomepageTour("clean_tour", [
|
||||
wTourUtils.dragNDrop(snippets[1]),
|
||||
wTourUtils.dragNDrop(snippets[2]),
|
||||
wTourUtils.dragNDrop(snippets[3]),
|
||||
wTourUtils.clickOnSnippet(snippets[3]),
|
||||
wTourUtils.changeOption('ContainerWidth', 'we-button-group.o_we_user_value_widget', _t('width')),
|
||||
wTourUtils.goBackToBlocks(),
|
||||
wTourUtils.dragNDrop(snippets[4]),
|
||||
wTourUtils.clickOnSnippet(snippets[4]),
|
||||
wTourUtils.changeBackgroundColor(),
|
||||
wTourUtils.selectColorPalette(),
|
||||
wTourUtils.dragNDrop(snippets[5]),
|
||||
wTourUtils.dragNDrop(snippets[6]),
|
||||
wTourUtils.dragNDrop(snippets[7]),
|
||||
]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user