odoo.define("website.tour.banner", function (require) { "use strict"; var core = require("web.core"); var tour = require("web_tour.tour"); var _t = core._t; tour.register("banner", { url: "/", }, [{ trigger: "a[data-action=edit]", content: _t("Click Edit to start designing your homepage."), extra_trigger: ".homepage", position: "bottom", }, { trigger: "#snippet_structure .oe_snippet:eq(1) .oe_snippet_thumbnail", content: _t("Drag the Cover block and drop it in your page."), position: "bottom", run: "drag_and_drop #wrap", }, { trigger: "#wrapwrap .s_cover h1", content: _t("Click on a text to start editing it. It's that easy to edit your content!"), position: "bottom", run: "text", }, { trigger: ".oe_overlay_options .oe_options", extra_trigger: "#wrapwrap .s_cover h1:not(:containsExact(\"Catchy Headline\"))", content: _t("Customize any block through this menu. Try to change the background color of this block."), position: "top", }, { trigger: "#snippet_structure .oe_snippet:eq(3) .oe_snippet_thumbnail", content: _t("Drag another block in your page, below the cover."), position: "bottom", run: "drag_and_drop #wrap", }, { trigger: "button[data-action=save]", extra_trigger: ".oe_overlay_options .oe_options", content: _t("Click the Save button."), position: "bottom", }, { trigger: "a[data-action=show-mobile-preview]", content: _t("Good Job! You have designed your homepage. Let's check how this page looks like on mobile devices."), position: "bottom", }, { trigger: ".modal-dialog:has(#mobile-viewport) button[data-dismiss=modal]", content: _t("After having checked how it looks on mobile, close the preview."), position: "right", }, { trigger: "#new-content-menu > a", content: _t("

Your homepage is live.

Let's add a new page for your site.

"), position: "bottom", }, { trigger: "a[data-action=new_page]", content: _t("

Click here to create a new page.

"), position: "bottom", }, { trigger: ".modal-dialog #editor_new_page input[type=text]", content: _t("

Enter a title for the page.

"), position: "bottom", }, { trigger: ".modal-footer button.btn-primary.btn-continue", content: _t("Click on Continue to create the page."), position: "bottom", }, { trigger: "#snippet_structure .oe_snippet:eq(3) .oe_snippet_thumbnail", content: _t("Drag the block and drop it in your new page."), position: "bottom", run: "drag_and_drop #wrap", }, { trigger: "button[data-action=save]", extra_trigger: ".oe_overlay_options .oe_options", content: _t("Click the Save button."), position: "bottom", }, { trigger: ".js_publish_management .js_publish_btn", content: _t("That's it!

Your page is all set to go live. Click the Publish button to publish it on the website.

"), position: "bottom", }]); }); //============================================================================== odoo.define("website.tour.contact", function (require) { "use strict"; var core = require("web.core"); var tour = require("web_tour.tour"); var _t = core._t; tour.register("contact", { url: "/page/contactus", }, [{ trigger: "li#customize-menu", content: _t("Install a contact form to improve this page."), extra_trigger: "#o_contact_mail", position: "bottom", }, { trigger: "li#install_apps", content: _t("Install new apps to get more features. Let's install the 'Contact form' app."), position: "bottom", }]); });