feat: rewrite setup wizard
This commit is contained in:
@ -5,20 +5,23 @@
|
||||
<div class="setup-navigation">
|
||||
<div>
|
||||
<button mat-flat-button color="accent"
|
||||
[disabled]="previousButtonDisabled"
|
||||
[hidden]="previousButtonRoute === ''"
|
||||
(click)="onPreviousClick()"
|
||||
[routerLink]="previousButtonRoute">
|
||||
[hidden]="getIndex <= 2"
|
||||
(click)="onPreviousClick()">
|
||||
Назад
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@if (!skipButtonDisabled) {
|
||||
<button mat-flat-button color="accent" (click)="onSkipClick()">Пропустить</button>
|
||||
}
|
||||
|
||||
@if (loaderActive) {
|
||||
<app-data-spinner [scale]="40"/>
|
||||
} @else {
|
||||
<button mat-flat-button color="accent"
|
||||
[disabled]="nextButtonDisabled"
|
||||
(click)="onNextClick()">
|
||||
(click)="onNextClick()"
|
||||
id="nextButtonFocus">
|
||||
@if (getIndex === routes.length - 1) {
|
||||
Завершить
|
||||
} @else {
|
||||
|
Reference in New Issue
Block a user