1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-17 06:52:27 +01:00

isolate welcome tour

This commit is contained in:
Sylvain 2020-02-18 17:39:47 +01:00
parent 5b46edd748
commit 16ed2fa73a
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ Application.Controllers.controller('HomeController', ['$scope', '$stateParams',
const setupWelcomeTour = function () {
// get the tour defined by the ui-tour directive
const uitour = uiTourService.getTour();
const uitour = uiTourService.getTourByName('welcome');
// add the steps
uitour.createStep({
selector: 'body',

View File

@ -92,7 +92,7 @@
<body ng-controller="ApplicationController"
ng-init="setCurrentUser(<%= current_user ? current_user.to_json : 'null' %>)"
ng-cloak
ui-tour
ui-tour="welcome"
ui-tour-backdrop="true"
ui-tour-template-url="'<%= asset_path "shared/tour-step-template.html" %>'"
ui-tour-use-hotkeys="true"