Commit 3266118b authored by Florent POITTEVIN's avatar Florent POITTEVIN
Browse files

refactor: move tour step panel into solidifiy

parent efbc0b93
......@@ -14924,9 +14924,9 @@
}
},
"solidify-frontend": {
"version": "1.3.0",
"resolved": "https://nexus.unige.ch/repository/npm-all/solidify-frontend/-/solidify-frontend-1.3.0.tgz",
"integrity": "sha512-uwPtC36GeKXgdjYUM+DnBtYhEjT9uBT3zwOtR0xsCBNOo+iaD1C6x4redn1hRDBygD0+b/PLoZnslHcCZDsi8Q==",
"version": "1.3.1",
"resolved": "https://nexus.unige.ch/repository/npm-all/solidify-frontend/-/solidify-frontend-1.3.1.tgz",
"integrity": "sha512-dnlcwIXBxaAmeyfvyZ1KLs6Y25cVyKYJbHDz/SpOMozFnCKKZj74AiOx87PMWFsEVjJMmT0smYWFWBLoRjJozA==",
"requires": {
"tslib": "^2.0.0"
}
......
......@@ -50,12 +50,12 @@
class="header-sticky-bar"
>
<solidify-breadcrumb (navigateChange)="navigate($event)"
class="breadcrumb"
class="breadcrumb"
></solidify-breadcrumb>
<solidify-banner [class]="colorBannerObs | async"
[conditionToDisplay]="displayBannerObs | async"
[messageToTranslate]="messageBannerObs | async"
[parameters]="parametersObs | async"
[conditionToDisplay]="displayBannerObs | async"
[messageToTranslate]="messageBannerObs | async"
[parameters]="parametersObs | async"
></solidify-banner>
</div>
......@@ -87,35 +87,10 @@
></dlcm-cookie-consent>
</div>
<!--TODO FIND A WAY TO MOVE THIS ON SOLIDIFY AND AVOID ERRROR : NgxmTourService was not found in ngx-tour-md-menu -->
<tour-step-template>
<ng-template let-step="step">
<div class="ngx-tour_panel">
<mat-card (click)="$event.stopPropagation()">
<mat-card-title>
{{step?.title | translate}}
</mat-card-title>
<mat-card-content>
{{step?.content | translate}}
</mat-card-content>
<mat-card-actions>
<button (click)="tourService.prev()"
[disabled]="!tourService.hasPrev(step)"
mat-icon-button
>
<mat-icon>chevron_left</mat-icon>
</button>
<button (click)="tourService.next()"
[disabled]="!tourService.hasNext(step)"
mat-icon-button
>
<mat-icon>chevron_right</mat-icon>
</button>
<button (click)="tourService.end()"
mat-button
>{{step?.endBtnTitle | translate}}</button>
</mat-card-actions>
</mat-card>
</div>
<solidify-tour-step [step]="step"
[tourService]="tourService"
></solidify-tour-step>
</ng-template>
</tour-step-template>
Markdown is supported
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