Fix the number per page
This commit is contained in:
@@ -124,6 +124,9 @@ button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.jobs-per-page {
|
.jobs-per-page {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 100px;
|
||||||
|
right: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: end;
|
justify-content: end;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
<!-- Filter Bar -->
|
<div class="tile-frame">
|
||||||
<div class="top-bar">
|
|
||||||
|
<!-- Filter -->
|
||||||
|
<div class="tile">
|
||||||
<div class="top-bar-sub">
|
<div class="top-bar-sub">
|
||||||
<div>
|
<div>
|
||||||
<h1>Country</h1>
|
<h1>Country</h1>
|
||||||
@@ -32,7 +34,11 @@
|
|||||||
<div>
|
<div>
|
||||||
<h1>Job Type</h1>
|
<h1>Job Type</h1>
|
||||||
</div>
|
</div>
|
||||||
<input name="CountryCode" [(ngModel)]="currentFilter.JobType" type="text" />
|
<select name="JobType" [(ngModel)]="currentFilter.JobType" type="text">
|
||||||
|
@for(cur of jobTypeOptions; track cur){
|
||||||
|
<option [value]="cur">{{cur}}</option>
|
||||||
|
}
|
||||||
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="top-bar-sub">
|
<div class="top-bar-sub">
|
||||||
<div>
|
<div>
|
||||||
@@ -56,10 +62,9 @@
|
|||||||
<h1></h1>
|
<h1></h1>
|
||||||
<input name="ApplyButton" style="height: 25px;" value="APPLY" type="button" (click)="reloadFilters()" />
|
<input name="ApplyButton" style="height: 25px;" value="APPLY" type="button" (click)="reloadFilters()" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Avaliable Jobs -->
|
<!-- Avaliable Jobs -->
|
||||||
<div class="tile-frame">
|
|
||||||
@for (cur of JobListingPage; track cur.id){
|
@for (cur of JobListingPage; track cur.id){
|
||||||
<div class="tile">
|
<div class="tile">
|
||||||
<div class="tile-title">
|
<div class="tile-title">
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ export class JobsComponent {
|
|||||||
public distanceOptions = [10, 25, 50, 100];
|
public distanceOptions = [10, 25, 50, 100];
|
||||||
public itemsPerPageOptions = [10, 25, 50, 100];
|
public itemsPerPageOptions = [10, 25, 50, 100];
|
||||||
public countryOptions: string[] = [];
|
public countryOptions: string[] = [];
|
||||||
|
public jobTypeOptions: string[] = ["", "Full-time", "Part-time", "Contract", "Temporary", "Internship"];
|
||||||
|
|
||||||
public currentFilter: JobFilter;
|
public currentFilter: JobFilter;
|
||||||
public JobListingPage: JobListing[] = [];
|
public JobListingPage: JobListing[] = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user