Start on tour infrastructure. Note that this code works but is NOT STYLED and has a FAKE TEMP TOUR in it
This commit is contained in:
parent
37507b7d7d
commit
a049fc57c6
10 changed files with 411 additions and 130 deletions
10
static/directives/angular-tour-overlay.html
Normal file
10
static/directives/angular-tour-overlay.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
<div class="angular-tour-overlay-element" ng-class="tour ? 'touring' : 'nottouring'">
|
||||
<span class="tour-title">{{ tour.title }}</span>
|
||||
<span class="step-title">{{ step.title }}</span>
|
||||
<span class="step-content">{{ step.content }}</span>
|
||||
|
||||
<span class="controls">
|
||||
<button ng-click="next()" ng-show="hasNextStep && !step.signal">Next</button>
|
||||
<button ng-click="stop()" ng-show="!hasNextStep">Done</button>
|
||||
</span>
|
||||
</div>
|
Reference in a new issue