diff options
author | sowgro <tpoke.ferrari@gmail.com> | 2025-04-01 01:16:49 -0400 |
---|---|---|
committer | sowgro <tpoke.ferrari@gmail.com> | 2025-04-01 01:16:49 -0400 |
commit | 61daadccf89b2b84820386558ac454c0123d4299 (patch) | |
tree | bcce802c153ab7336a4f23979404a8bc90369489 /ufund-ui/src/app/components/need-list/need-list.component.html | |
parent | 982e00e128add3e8dc1f0b27f393fc8e63797059 (diff) | |
download | JellySolutions-61daadccf89b2b84820386558ac454c0123d4299.tar.gz JellySolutions-61daadccf89b2b84820386558ac454c0123d4299.tar.bz2 JellySolutions-61daadccf89b2b84820386558ac454c0123d4299.zip |
More css cleanup
Diffstat (limited to 'ufund-ui/src/app/components/need-list/need-list.component.html')
-rw-r--r-- | ufund-ui/src/app/components/need-list/need-list.component.html | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/ufund-ui/src/app/components/need-list/need-list.component.html b/ufund-ui/src/app/components/need-list/need-list.component.html index 8ea7b88..8ea88b1 100644 --- a/ufund-ui/src/app/components/need-list/need-list.component.html +++ b/ufund-ui/src/app/components/need-list/need-list.component.html @@ -15,6 +15,8 @@ <button (click)="changeSortMode(searchForm.value)"> <span class="icon">{{sortMode === 'Ascending' ? 'arrow_upward': 'arrow_downward'}}</span> </button> + <label>Needs per page: </label> + <input type ="number" [(ngModel)]="itemsPerPage" (change)="resetVisibleNeeds()" min="1" max="{{searchResults.length}}"> </div> <!--<button (click)="close()">Close</button>--> </div> @@ -24,13 +26,6 @@ <h2 *ngIf="searchResults.length == needs.length"> All Needs </h2> <h2 *ngIf="searchResults.length == 0"> No Results Found </h2> -<div id="page-selector"> - <span>Page {{currentPage + 1}} of {{totalPages}} </span> <br> - <label>Needs per page: </label> - <input type ="number" [(ngModel)]="itemsPerPage" (change)="resetVisibleNeeds()" min="1" max="{{searchResults.length}}"> - <button *ngIf="currentPage > 0" (click)="decrementPage()">Previous</button> - <button *ngIf="currentPage < totalPages - 1" (click)="incrementPage()">Next</button> -</div> <div id="needList"> <div *ngFor="let need of visibleNeeds" class="needEntry"> <div [routerLink]="'/need/' + need.id" class="clickable"> @@ -69,3 +64,9 @@ </div> </div> </div> + +<div id="page-selector"> + <button *ngIf="currentPage > 0" (click)="decrementPage()"><span class="icon">arrow_back_ios</span></button> + <span>Page {{currentPage + 1}} of {{totalPages}}</span> + <button *ngIf="currentPage < totalPages - 1" (click)="incrementPage()"><span class="icon">arrow_forward_ios</span></button> +</div> |