Start on work towards the tutorial. Note that this code is BROKEN
This commit is contained in:
parent
a049fc57c6
commit
dbed1300ad
14 changed files with 338 additions and 63 deletions
27
static/directives/angular-tour-ui.html
Normal file
27
static/directives/angular-tour-ui.html
Normal file
|
@ -0,0 +1,27 @@
|
|||
<div class="angular-tour-ui-element"
|
||||
ng-class="[tour ? 'touring' : 'nottouring', inline ? 'inline' : 'overlay']">
|
||||
|
||||
<div class="tour-title">
|
||||
<h4><i class="fa fa-dot-circle-o"></i> {{ tour.title }}</h4>
|
||||
<button type="button" class="close" ng-click="stop()" aria-hidden="true">×</button>
|
||||
</div>
|
||||
|
||||
<div class="tour-contents">
|
||||
<div class="step-title" ng-shpw="step.title">{{ step.title }}</div>
|
||||
<div class="slide-animate-container">
|
||||
<div class="step-content" ng-show="step.content" ng-bind-html="step.content || ''"></div>
|
||||
<div class="step-content">
|
||||
<ng:include src="step.templateUrl" scope="info"></ng:include>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="controls">
|
||||
<button class="btn btn-primary" ng-click="next()" ng-show="hasNextStep && !step.signal">Next</button>
|
||||
<button class="btn btn-primary" ng-click="stop()" ng-show="!hasNextStep && !inline">Done</button>
|
||||
</div>
|
||||
|
||||
<div class="wait-message" ng-show="step.waitMessage">
|
||||
<div class="quay-spinner"></div> {{ step.waitMessage }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Reference in a new issue