-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add pagination dropdown for items per page selection dropdown * Pagination dropdown Pagination dropdown * paginator state paginator state * Comments Comments * conflict fix * conflict fix1 * [Create Application] - do not display create-application button for mobile view for the wrong role #1223 (#1242) * Update create-direction.component.ts (#1247) * [Create Direction] - remove routing when you click on delete/edit icon on category-card #1248 (#1249) * [Create Direction] - remove routing when you click on delete/edit icon on category-card #1248 * increased area clicking * refactoring admin-state * fix mobile view (#1241) * Removing validation input hint (#1237) * removing old form control * Update create-direction.component.spec.ts * fix * fix module * Update shared.module.ts * Update create-application.component.spec.ts * [Applying for a workshop] Incorrect behavior is displayed when editing the child's information (#1231) * cancel navigation * fix editMode submit button * onSubmit navigation * fix editMode submit button * style guide Co-authored-by: Oleksandra Lytvynets <alitvinets7@gmail.com> * add validation-hint fore create-direction, create-department, create class form controls (#1236 ) * merge * Update paginator.component.ts * fix * import removing * Update result.component.ts Co-authored-by: Dmytro Minochkin <dmytro.minochkin@gmail.com> Co-authored-by: Oleksandra Lytvynets <alitvinets7@gmail.com> Co-authored-by: Pabloostr <47858505+Pabloostr@users.noreply.github.com> Co-authored-by: Aleksandr Perepichai <o.perepichai@gmail.com>
- Loading branch information
1 parent
30d333b
commit 9edde48
Showing
42 changed files
with
403 additions
and
223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 22 additions & 15 deletions
37
src/app/shared/components/paginator/paginator.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,22 @@ | ||
<div *ngIf="totalPageAmount > 1" fxLayout='row' fxLayoutAlign='center center'> | ||
<button mat-button *ngIf="!(currentPage.element === 1)" class="page arrow" (click)="onArroveClick(false)"> | ||
<mat-icon>arrow_back</mat-icon> | ||
</button> | ||
|
||
<button mat-button *ngFor="let page of carouselPageList" class="page" | ||
[ngClass]="page.isActive && ((page.element === currentPage.element) ? 'page-selected' : 'page-unselected')" | ||
(click)="onPageChange(page)">{{page.element}}</button> | ||
|
||
|
||
<button mat-button *ngIf="currentPage.element !== totalPageAmount" class="page arrow" (click)="onArroveClick(true)"> | ||
<mat-icon>arrow_forward</mat-icon> | ||
</button> | ||
|
||
</div> | ||
<div class="paginator" fxLayout="row wrap" fxLayoutAlign="center center"> | ||
<div fxLayout="row" fxLayoutAlign="center center"> | ||
<button mat-button *ngIf="!(currentPage.element === 1)" class="page arrow" (click)="onArroveClick(false)"> | ||
<mat-icon>arrow_back</mat-icon> | ||
</button> | ||
<button mat-button *ngFor="let page of carouselPageList" class="page" | ||
[ngClass]="page.isActive && ((page.element === currentPage.element) ? 'page-selected' : 'page-unselected')" | ||
(click)="onPageChange(page)">{{page.element}} | ||
</button> | ||
<button mat-button *ngIf="currentPage.element !== totalPageAmount" class="page arrow" (click)="onArroveClick(true)"> | ||
<mat-icon>arrow_forward</mat-icon> | ||
</button> | ||
</div> | ||
|
||
<label class="step-label">Відображати на сторінці:</label> | ||
<mat-select disableOptionCentering panelClass="dropdown-panel" class="step-input" (selectionChange)="OnSelectOption($event)" placeholder="{{itemsPerPage}}"> | ||
<mat-option value="8" class="dropdown-option"> 8 </mat-option> | ||
<mat-option value="12" selected class="dropdown-option"> 12 </mat-option> | ||
<mat-option value="16" class="dropdown-option"> 16 </mat-option> | ||
<mat-option value="20" class="dropdown-option"> 20 </mat-option> | ||
</mat-select> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
src/app/shared/services/workshops/app-workshop/app-workshops.service.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.