mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
a416e49105
This commit updates the theme to improve the design with shapes, new pictures and new custom snippets. task-2602618 closes odoo/design-themes#467 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
43 lines
928 B
JavaScript
43 lines
928 B
JavaScript
/** @odoo-module */
|
|
|
|
import wTourUtils from 'website.tour_utils';
|
|
|
|
const snippets = [
|
|
{
|
|
id: 's_cover',
|
|
name: 'Cover',
|
|
},
|
|
{
|
|
id: 's_image_text',
|
|
name: 'Image - Text',
|
|
},
|
|
{
|
|
id: 's_references',
|
|
name: 'References',
|
|
},
|
|
{
|
|
id: 's_three_columns',
|
|
name: 'Columns',
|
|
},
|
|
{
|
|
id: 's_comparisons',
|
|
name: 'Comparisons',
|
|
},
|
|
{
|
|
id: 's_call_to_action',
|
|
name: 'Call to Action',
|
|
},
|
|
];
|
|
|
|
|
|
wTourUtils.registerThemeHomepageTour("paptic_tour", [
|
|
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'),
|
|
]);
|