diff --git a/ToDo.yaml b/ToDo.yaml index 011281a..35c717a 100755 --- a/ToDo.yaml +++ b/ToDo.yaml @@ -46,7 +46,9 @@ Client: Edit employees not implimented yet Company: - No employees for table yet + Need to impliment Add employee + Need to impliment Remove employee + Edit Company -> Dont allow edit of company email due to it being verified database: diff --git a/src/Client/src/app/pages/main/company/company.component.html b/src/Client/src/app/pages/main/company/company.component.html index 086f32e..f033da4 100644 --- a/src/Client/src/app/pages/main/company/company.component.html +++ b/src/Client/src/app/pages/main/company/company.component.html @@ -1,58 +1,84 @@
- - + @for(company of Employers; track company.accountID){ + + + }
-
- -
- - - -
-
- -

{{ Comp.name }}

- -
-
-

{{ Comp.city }}, {{ Comp.stateOrRegion }} {{ Comp.postalCode }}

-
-
-

{{ line }}

-
-
- -
-
- VERIFY EMAIL> - You must verify your company email before you can post job listings. -
-
-
-
-

Active Job Listings

-
-
-

{{ listing.title }}

-
- - - -
+ @if(Comp != null){ +
+ + -
-

Employees

- @for (listing of CompEmployees; track listing.id) { -
-
-

{{ listing.accountName }}

-
- - -
+
+ +

{{ Comp.name }}

+ +
+
+

{{ Comp.city }}, {{ Comp.stateOrRegion }} {{ Comp.postalCode }}

+
+
+ @for (line of Desc; track line.length){ +

{{ line }}

}
+
+
+
+ @if (Comp.emailVerified){ +
+ +
+ } @else { +
+ VERIFY EMAIL> + You must verify your company email before you can post job listings. +
+ } +
+

Active Job Listings

+ @for (listing of List; track listing.id) { +
+
+

{{ listing.title }}

+
+ + + +
+ } +
+
+ @if (Comp.emailVerified){ +
+ +
+ } @else { +
+ VERIFY EMAIL> + You must verify your company email before you can post job listings. +
+ } +
+

Employees

+ @for (listing of CompEmployees; track listing.id) { +
+
+

{{ listing.accountName }}

+
+ @if (listing.accountID != auth.loggedInUser.id){ + + } @else { + + } +
+ } +
+
-
+ }
\ No newline at end of file diff --git a/src/Client/src/app/pages/main/company/editor/editor.component.html b/src/Client/src/app/pages/main/company/editor/editor.component.html index bbca485..7f99919 100644 --- a/src/Client/src/app/pages/main/company/editor/editor.component.html +++ b/src/Client/src/app/pages/main/company/editor/editor.component.html @@ -148,9 +148,11 @@ postal code: {{ newListing.postalCode }}
-
- {{ descLine }}
-
+ @for(descLine of newListing.description.split('\n'); track descLine.length){ +
+ {{ descLine }}
+
+ }
diff --git a/src/Client/src/app/pages/main/jobs/editor/jobeditor.component.html b/src/Client/src/app/pages/main/jobs/editor/jobeditor.component.html index e60b47f..2b85627 100644 --- a/src/Client/src/app/pages/main/jobs/editor/jobeditor.component.html +++ b/src/Client/src/app/pages/main/jobs/editor/jobeditor.component.html @@ -40,35 +40,37 @@
-
-
-

Job Location

-
-
-
- - + @if(!Listing.remote){ +
+
+

Job Location

+
+
+
+ + +
+
+ + +
-
- - +
+
+ + +
+
+ + +
+ +
-
-
- - -
-
- - -
-
- -
-
+ }
diff --git a/src/Client/src/app/pages/main/jobs/jobs.component.html b/src/Client/src/app/pages/main/jobs/jobs.component.html index a92934d..c3faab1 100644 --- a/src/Client/src/app/pages/main/jobs/jobs.component.html +++ b/src/Client/src/app/pages/main/jobs/jobs.component.html @@ -1,20 +1,24 @@ -
-
-
-

{{ cur.title }}

-

${{ cur.salaryMin }} - ${{ cur.salaryMax }}

-
-
-

{{ cur.jobType }}

-

Remote

-
-
-

{{ cur.city }}

-

{{ cur.stateOrRegion }}

-
-
- + @for (cur of JobListingPage; track cur.id){ +
+
+
+

{{ cur.title }}

+

${{ cur.salaryMin }} - ${{ cur.salaryMax }}

+
+
+

{{ cur.jobType }}

+ @if(cur.remote){ +

Remote

+ } +
+
+

{{ cur.city }}

+

{{ cur.stateOrRegion }}

+
+
+ +
-
\ No newline at end of file + } \ No newline at end of file diff --git a/src/Client/src/app/pages/main/jobs/viewer/jobviewer.component.html b/src/Client/src/app/pages/main/jobs/viewer/jobviewer.component.html index 3da246a..00c1332 100644 --- a/src/Client/src/app/pages/main/jobs/viewer/jobviewer.component.html +++ b/src/Client/src/app/pages/main/jobs/viewer/jobviewer.component.html @@ -1,45 +1,53 @@
-
-
- - - -
-
- -

{{ jobsCompany.name }}

- -
-
-

{{ jobsCompany.city }}, {{ jobsCompany.stateOrRegion }} {{ jobsCompany.postalCode }}

-
-
-

{{ line }}

-
-
-
-
-

Opened: {{ selectedJob.createdTime }}

-

Modified: {{ selectedJob.modifiedTime }}

+ @if (jobsCompany != null){ +
+
+ + + +
+
+ +

{{ jobsCompany.name }}

+ +
+
+

{{ jobsCompany.city }}, {{ jobsCompany.stateOrRegion }} {{ jobsCompany.postalCode }}

+
+
+ @for(line of jobsCompany.description.split('\n'); track line.length){ +

{{ line }}

+ } +
+ } + @if (selectedJob != null) { +
+
+

Opened: {{ selectedJob.createdTime }}

+

Modified: {{ selectedJob.modifiedTime }}

+
-
-

THIS JOB POSTING IS CLOSED

+ @if (selectedJob.isDeleted){ +
+

THIS JOB POSTING IS CLOSED

+
+ } + +

{{ selectedJob.title }}

+ +

{{ selectedJob.jobType }}

+

{{ selectedJob.remote }}

+ +

{{ selectedJob.salaryMin }}

+

{{ selectedJob.salaryMax }}

+ +

{{ selectedJob.city }}

+

{{ selectedJob.stateOrRegion }}

+

{{ selectedJob.country }}

+

{{ selectedJob.postalCode }}

+ +

{{ selectedJob.description }}

- -

{{ selectedJob.title }}

- -

{{ selectedJob.jobType }}

-

{{ selectedJob.remote }}

- -

{{ selectedJob.salaryMin }}

-

{{ selectedJob.salaryMax }}

- -

{{ selectedJob.city }}

-

{{ selectedJob.stateOrRegion }}

-

{{ selectedJob.country }}

-

{{ selectedJob.postalCode }}

- -

{{ selectedJob.description }}

-
+ }
\ No newline at end of file diff --git a/src/Client/src/app/pages/main/resumes/resumes.component.html b/src/Client/src/app/pages/main/resumes/resumes.component.html index dad91d6..9039ec8 100644 --- a/src/Client/src/app/pages/main/resumes/resumes.component.html +++ b/src/Client/src/app/pages/main/resumes/resumes.component.html @@ -1,4 +1,6 @@ -
+ @if (auth.isLoggedIn){ +
-
\ No newline at end of file +
+ } \ No newline at end of file