Skip to content
Snippets Groups Projects
Commit dcd81990 authored by Xiao Gui's avatar Xiao Gui
Browse files

feat: add text on completion of quick tour

parent 5165495b
No related branches found
No related tags found
No related merge requests found
......@@ -24,10 +24,25 @@
[disabled]="isLast$ | async">
<i class="fas fa-chevron-right"></i>
</button>
<button mat-icon-button
(click)="endTour()">
<i class="fas fa-times"></i>
</button>
<!-- dismiss (last) -->
<ng-template [ngIf]="isLast$ | async" [ngIfElse]="notLastTmpl">
<button mat-stroked-button
color="primary"
(click)="endTour()">
<i class="m-1 fas fa-check"></i>
<span>complete</span>
</button>
</ng-template>
<!-- dismiss (not last) -->
<ng-template #notLastTmpl>
<button mat-icon-button (click)="endTour()">
<i class="fas fa-times"></i>
</button>
</ng-template>
<!-- progress dots -->
<span class="muted d-inline-flex align-items-center">
<i *ngFor="let active of quickTourProgress$ | async"
[ngClass]="{ 'fa-xs muted-3': !active }"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment