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:
parent
5b46edd748
commit
16ed2fa73a
@ -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',
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user