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/app.html b/src/Client/src/app/app.html index c02f3a9..cc27886 100644 --- a/src/Client/src/app/app.html +++ b/src/Client/src/app/app.html @@ -26,9 +26,9 @@
- CONTACT - PRIVACY - ABOUT + CONTACT + PRIVACY + ABOUT
+
+ +

{{ 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/company.component.ts b/src/Client/src/app/pages/company/company.component.ts similarity index 100% rename from src/Client/src/app/pages/main/company/company.component.ts rename to src/Client/src/app/pages/company/company.component.ts diff --git a/src/Client/src/app/pages/main/company/editor/editor.component.css b/src/Client/src/app/pages/company/editor/editor.component.css similarity index 100% rename from src/Client/src/app/pages/main/company/editor/editor.component.css rename to src/Client/src/app/pages/company/editor/editor.component.css diff --git a/src/Client/src/app/pages/main/company/editor/editor.component.html b/src/Client/src/app/pages/company/editor/editor.component.html similarity index 96% rename from src/Client/src/app/pages/main/company/editor/editor.component.html rename to src/Client/src/app/pages/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/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/company/editor/editor.component.ts b/src/Client/src/app/pages/company/editor/editor.component.ts similarity index 100% rename from src/Client/src/app/pages/main/company/editor/editor.component.ts rename to src/Client/src/app/pages/company/editor/editor.component.ts diff --git a/src/Client/src/app/pages/main/home/home.component.css b/src/Client/src/app/pages/home/home.component.css similarity index 100% rename from src/Client/src/app/pages/main/home/home.component.css rename to src/Client/src/app/pages/home/home.component.css diff --git a/src/Client/src/app/pages/main/home/home.component.html b/src/Client/src/app/pages/home/home.component.html similarity index 100% rename from src/Client/src/app/pages/main/home/home.component.html rename to src/Client/src/app/pages/home/home.component.html diff --git a/src/Client/src/app/pages/main/home/home.component.ts b/src/Client/src/app/pages/home/home.component.ts similarity index 100% rename from src/Client/src/app/pages/main/home/home.component.ts rename to src/Client/src/app/pages/home/home.component.ts diff --git a/src/Client/src/app/pages/main/jobs/editor/jobeditor.component.css b/src/Client/src/app/pages/jobs/editor/jobeditor.component.css similarity index 100% rename from src/Client/src/app/pages/main/jobs/editor/jobeditor.component.css rename to src/Client/src/app/pages/jobs/editor/jobeditor.component.css diff --git a/src/Client/src/app/pages/main/jobs/editor/jobeditor.component.html b/src/Client/src/app/pages/jobs/editor/jobeditor.component.html similarity index 68% rename from src/Client/src/app/pages/main/jobs/editor/jobeditor.component.html rename to src/Client/src/app/pages/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/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/editor/jobeditor.component.ts b/src/Client/src/app/pages/jobs/editor/jobeditor.component.ts similarity index 100% rename from src/Client/src/app/pages/main/jobs/editor/jobeditor.component.ts rename to src/Client/src/app/pages/jobs/editor/jobeditor.component.ts diff --git a/src/Client/src/app/pages/main/jobs/jobs.component.css b/src/Client/src/app/pages/jobs/jobs.component.css similarity index 100% rename from src/Client/src/app/pages/main/jobs/jobs.component.css rename to src/Client/src/app/pages/jobs/jobs.component.css diff --git a/src/Client/src/app/pages/jobs/jobs.component.html b/src/Client/src/app/pages/jobs/jobs.component.html new file mode 100644 index 0000000..c3faab1 --- /dev/null +++ b/src/Client/src/app/pages/jobs/jobs.component.html @@ -0,0 +1,24 @@ + + @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 diff --git a/src/Client/src/app/pages/main/jobs/jobs.component.ts b/src/Client/src/app/pages/jobs/jobs.component.ts similarity index 100% rename from src/Client/src/app/pages/main/jobs/jobs.component.ts rename to src/Client/src/app/pages/jobs/jobs.component.ts diff --git a/src/Client/src/app/pages/main/jobs/viewer/jobviewer.component.css b/src/Client/src/app/pages/jobs/viewer/jobviewer.component.css similarity index 100% rename from src/Client/src/app/pages/main/jobs/viewer/jobviewer.component.css rename to src/Client/src/app/pages/jobs/viewer/jobviewer.component.css diff --git a/src/Client/src/app/pages/jobs/viewer/jobviewer.component.html b/src/Client/src/app/pages/jobs/viewer/jobviewer.component.html new file mode 100644 index 0000000..00c1332 --- /dev/null +++ b/src/Client/src/app/pages/jobs/viewer/jobviewer.component.html @@ -0,0 +1,53 @@ +
+ @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 }}

+
+ + @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 }}

+
+ } +
\ No newline at end of file diff --git a/src/Client/src/app/pages/main/jobs/viewer/jobviewer.component.ts b/src/Client/src/app/pages/jobs/viewer/jobviewer.component.ts similarity index 100% rename from src/Client/src/app/pages/main/jobs/viewer/jobviewer.component.ts rename to src/Client/src/app/pages/jobs/viewer/jobviewer.component.ts diff --git a/src/Client/src/app/pages/legal/about/about.component.css b/src/Client/src/app/pages/legal/about/about.component.css deleted file mode 100644 index a1852bc..0000000 --- a/src/Client/src/app/pages/legal/about/about.component.css +++ /dev/null @@ -1,16 +0,0 @@ -.center { - width: 100%; - display: flex; - justify-content: center; -} - -.frame { - background-color: #000; - padding: 20px; - margin: 20px 0; - border-radius: 10px; -} - -.center p { - color: #FFF; -} \ No newline at end of file diff --git a/src/Client/src/app/pages/legal/about/about.component.html b/src/Client/src/app/pages/legal/about/about.component.html deleted file mode 100644 index bc0fcf3..0000000 --- a/src/Client/src/app/pages/legal/about/about.component.html +++ /dev/null @@ -1,25 +0,0 @@ -
-
-

Welcome to Mistox LLC. A project and hobby of Derek Holloway.

-
-

I am an indi-developer who has been making small projects since I was 13. I originally learned lua and spent 4 years mastering it. Then I moved onto C# which is my preferred language

-

My programming catalog consist of C#, Lua, SQL, C++, C, and JavaScript in the order of knowledge from best to passiable.

-

Im currently in college for computer sciences and should honestly be doing that instead of this but I find working on this website and hobby games to be way more enjoyable.

-
-

I would love to learn how to use Blender in order to make all the models for my games but with the amount of work ive already made for myself im going to hold off for now.

-

This website and everything on it are the long countless hours of my time and motivation to create something that I can be proud of and share that with the world.

-

So if you would like to support me as a small creator please feel free to leave a donation from on the store page. It would means a lot to me.

-
-

For the nerds out there, this website is a blazor webassembly app, hosted on an ubuntu webserver, with a mysql backend.

-

All the passwords are encrypted using bcrypt for your safety and all the data is only allowed through SSL.

-

After you make your account. All the data in the database is easily accessable through the account settings and

-

you can delete your account at any time. Including all your data with it so there is no risk.

-

I wont show ads and never will and I refuse to use trackers on this site.

- -
- - Buy Me a Coffee at ko-fi.com - -
-
-
\ No newline at end of file diff --git a/src/Client/src/app/pages/legal/about/about.component.ts b/src/Client/src/app/pages/legal/about/about.component.ts deleted file mode 100644 index 24cb909..0000000 --- a/src/Client/src/app/pages/legal/about/about.component.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Component } from '@angular/core'; -import { HttpClient } from '@angular/common/http'; -import { FormsModule } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; -import { Title } from '@angular/platform-browser'; -import { CommonModule } from '@angular/common'; - -@Component({ - selector: 'legal-about', - templateUrl: './about.component.html', - styleUrls: [ './about.component.css' ], - imports: [ FormsModule, CommonModule ] -}) -export class AboutComponent { - - constructor( private http: HttpClient, private router: Router, private route: ActivatedRoute, private title: Title ) { - this.title.setTitle("About | Mistox"); - }; - -} \ No newline at end of file diff --git a/src/Client/src/app/pages/legal/contact/contact.component.css b/src/Client/src/app/pages/legal/contact/contact.component.css deleted file mode 100644 index 26081b8..0000000 --- a/src/Client/src/app/pages/legal/contact/contact.component.css +++ /dev/null @@ -1,15 +0,0 @@ -.center { - background-color: green; -} - -.tile-frame { - column-count: 4; - column-gap: 20px; - padding: 20px; - width: calc(100% - 40px); -} - -.tile{ - background-color: aqua; - height: 40px; -} \ No newline at end of file diff --git a/src/Client/src/app/pages/legal/contact/contact.component.html b/src/Client/src/app/pages/legal/contact/contact.component.html deleted file mode 100644 index 29da843..0000000 --- a/src/Client/src/app/pages/legal/contact/contact.component.html +++ /dev/null @@ -1,11 +0,0 @@ -
- -
- -
- -
- -
- -
\ No newline at end of file diff --git a/src/Client/src/app/pages/legal/contact/contact.component.ts b/src/Client/src/app/pages/legal/contact/contact.component.ts deleted file mode 100644 index eaa44cf..0000000 --- a/src/Client/src/app/pages/legal/contact/contact.component.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Component } from '@angular/core'; -import { HttpClient } from '@angular/common/http'; -import { FormsModule } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; -import { Title } from '@angular/platform-browser'; -import { CommonModule } from '@angular/common'; - -@Component({ - selector: 'legal-contact', - templateUrl: './contact.component.html', - styleUrls: [ './contact.component.css' ], - imports: [ FormsModule, CommonModule ] -}) -export class ContactComponent { - - constructor( private http: HttpClient, private router: Router, private route: ActivatedRoute, private title: Title ) { - this.title.setTitle("Contact | BoredCareers"); - }; - -} \ No newline at end of file diff --git a/src/Client/src/app/pages/legal/privacy/privacy.component.css b/src/Client/src/app/pages/legal/privacy/privacy.component.css deleted file mode 100644 index 26081b8..0000000 --- a/src/Client/src/app/pages/legal/privacy/privacy.component.css +++ /dev/null @@ -1,15 +0,0 @@ -.center { - background-color: green; -} - -.tile-frame { - column-count: 4; - column-gap: 20px; - padding: 20px; - width: calc(100% - 40px); -} - -.tile{ - background-color: aqua; - height: 40px; -} \ No newline at end of file diff --git a/src/Client/src/app/pages/legal/privacy/privacy.component.html b/src/Client/src/app/pages/legal/privacy/privacy.component.html deleted file mode 100644 index 29da843..0000000 --- a/src/Client/src/app/pages/legal/privacy/privacy.component.html +++ /dev/null @@ -1,11 +0,0 @@ -
- -
- -
- -
- -
- -
\ No newline at end of file diff --git a/src/Client/src/app/pages/legal/privacy/privacy.component.ts b/src/Client/src/app/pages/legal/privacy/privacy.component.ts deleted file mode 100644 index 9543545..0000000 --- a/src/Client/src/app/pages/legal/privacy/privacy.component.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Component } from '@angular/core'; -import { HttpClient } from '@angular/common/http'; -import { FormsModule } from '@angular/forms'; -import { Router, ActivatedRoute } from '@angular/router'; -import { Title } from '@angular/platform-browser'; -import { CommonModule } from '@angular/common'; - -@Component({ - selector: 'legal-privacy', - templateUrl: './privacy.component.html', - styleUrls: [ './privacy.component.css' ], - imports: [ FormsModule, CommonModule ] -}) -export class PrivacyComponent { - - constructor( private http: HttpClient, private router: Router, private route: ActivatedRoute, private title: Title ) { - this.title.setTitle("Privacy | BoredCareers"); - }; - -} \ No newline at end of file diff --git a/src/Client/src/app/pages/main/company/company.component.html b/src/Client/src/app/pages/main/company/company.component.html deleted file mode 100644 index 086f32e..0000000 --- a/src/Client/src/app/pages/main/company/company.component.html +++ /dev/null @@ -1,58 +0,0 @@ -
- - -
-
-
- -
- - - -
-
- -

{{ 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 }}

-
- - - -
-
-
-

Employees

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

{{ listing.accountName }}

-
- - -
- } -
-
-
-
\ No newline at end of file diff --git a/src/Client/src/app/pages/main/jobs/jobs.component.html b/src/Client/src/app/pages/main/jobs/jobs.component.html deleted file mode 100644 index a92934d..0000000 --- a/src/Client/src/app/pages/main/jobs/jobs.component.html +++ /dev/null @@ -1,20 +0,0 @@ - -
-
-
-

{{ cur.title }}

-

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

-
-
-

{{ cur.jobType }}

-

Remote

-
-
-

{{ cur.city }}

-

{{ cur.stateOrRegion }}

-
-
- -
-
-
\ 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 deleted file mode 100644 index 3da246a..0000000 --- a/src/Client/src/app/pages/main/jobs/viewer/jobviewer.component.html +++ /dev/null @@ -1,45 +0,0 @@ -
-
-
- - - -
-
- -

{{ jobsCompany.name }}

- -
-
-

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

-
-
-

{{ line }}

-
-
-
-
-

Opened: {{ selectedJob.createdTime }}

-

Modified: {{ selectedJob.modifiedTime }}

-
- -
-

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 }}

-
-
\ 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 deleted file mode 100644 index dad91d6..0000000 --- a/src/Client/src/app/pages/main/resumes/resumes.component.html +++ /dev/null @@ -1,4 +0,0 @@ - -
- -
\ No newline at end of file diff --git a/src/Client/src/app/pages/main/resumes/resumes.component.css b/src/Client/src/app/pages/resumes/resumes.component.css similarity index 100% rename from src/Client/src/app/pages/main/resumes/resumes.component.css rename to src/Client/src/app/pages/resumes/resumes.component.css diff --git a/src/Client/src/app/pages/resumes/resumes.component.html b/src/Client/src/app/pages/resumes/resumes.component.html new file mode 100644 index 0000000..9039ec8 --- /dev/null +++ b/src/Client/src/app/pages/resumes/resumes.component.html @@ -0,0 +1,6 @@ + + @if (auth.isLoggedIn){ +
+ +
+ } \ No newline at end of file diff --git a/src/Client/src/app/pages/main/resumes/resumes.component.ts b/src/Client/src/app/pages/resumes/resumes.component.ts similarity index 100% rename from src/Client/src/app/pages/main/resumes/resumes.component.ts rename to src/Client/src/app/pages/resumes/resumes.component.ts