diff --git a/src/Client/src/app/pages/jobs/jobs.component.css b/src/Client/src/app/pages/jobs/jobs.component.css index edfca32..d9d9a8d 100644 --- a/src/Client/src/app/pages/jobs/jobs.component.css +++ b/src/Client/src/app/pages/jobs/jobs.component.css @@ -16,6 +16,7 @@ button { .top-bar { display: flex; + flex-wrap: wrap; break-inside: avoid; padding: 20px; border-radius: 20px; @@ -28,7 +29,8 @@ button { .top-bar-sub { display: flex; - height: 20px; + height: 40px; + align-items: center; } .top-bar-sub :nth-child(1) { @@ -39,7 +41,9 @@ button { .top-bar-sub :nth-child(2) { margin-right: 50px; margin-left: 5px; - height: 15px; + margin-top: 0; + padding: initial; + height: 20px; } .full-width { @@ -115,6 +119,19 @@ button { color: var(--Mistox-Black); } +.jobs-per-page { + display: flex; + justify-content: end; + padding: 20px; + padding-top: 0; +} + +.jobs-per-page h1 { + margin: 0; + margin-right: 5px; + font-size: 20px; +} + @media (max-width: 1920px) { .tile-frame{ grid-template-columns: repeat(3, 1fr); diff --git a/src/Client/src/app/pages/jobs/jobs.component.html b/src/Client/src/app/pages/jobs/jobs.component.html index d57768b..ef2c852 100644 --- a/src/Client/src/app/pages/jobs/jobs.component.html +++ b/src/Client/src/app/pages/jobs/jobs.component.html @@ -2,33 +2,37 @@

Country

- +

Postal Code

- +
@if (currentFilter.CountryCode != null && currentFilter.CountryCode !== "" && currentFilter.PostalCode != null && currentFilter.PostalCode !== ""){

Distance

- +
}

Job Type

- +

Remote

- +

Minimum Salary

- +

Maximum Salary

- + +
+
+

+
@@ -44,6 +48,8 @@

{{ cur.jobType }}

@if(cur.remote){

Remote

+ }@else{ +

In-Person

}
@@ -55,8 +61,9 @@
} -
-

Jobs Per Page

- -
+ + +
+

Jobs Per Page

+
\ No newline at end of file diff --git a/src/Client/src/app/pages/jobs/jobs.component.ts b/src/Client/src/app/pages/jobs/jobs.component.ts index b677b2a..0da3758 100644 --- a/src/Client/src/app/pages/jobs/jobs.component.ts +++ b/src/Client/src/app/pages/jobs/jobs.component.ts @@ -38,6 +38,12 @@ export class JobsComponent { }); } + checkUpdate(){ + if ( this.currentFilter.PostalCode === "" || this.currentFilter.CountryCode === "" ){ + this.currentFilter.Distance = null; + } + } + reloadFilters(){ var queryBuilder = "api/joblisting?PageQuantity=" + this.currentFilter.JobsPerPage + "&Page=" + this.currentFilter.CurrentPage;