Start work on mobile UI
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
.company-details {
|
.company-details {
|
||||||
background-color: var(--mistox-bg-light);
|
background-color: var(--mistox-bg-light);
|
||||||
|
flex: 1;
|
||||||
|
min-width: 650px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.company-details::after {
|
.company-details::after {
|
||||||
@@ -81,8 +83,13 @@
|
|||||||
align-content: center;
|
align-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.job-frame {
|
||||||
|
display: flex;
|
||||||
|
min-height: calc(100vh - 300px);
|
||||||
|
}
|
||||||
|
|
||||||
.job-details {
|
.job-details {
|
||||||
padding-bottom: 40px;
|
flex: 1 1 500px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.job-timestamp {
|
.job-timestamp {
|
||||||
@@ -157,4 +164,28 @@
|
|||||||
.bottom-bar {
|
.bottom-bar {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1640px) {
|
||||||
|
|
||||||
|
.skill-combo {
|
||||||
|
column-count: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1500px) {
|
||||||
|
|
||||||
|
.split {
|
||||||
|
column-count: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1200px) {
|
||||||
|
|
||||||
|
.job-frame {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -67,7 +67,7 @@
|
|||||||
|
|
||||||
<div class="bottom-bar">
|
<div class="bottom-bar">
|
||||||
@for(resume of myResumes; track resume.trackUUID){
|
@for(resume of myResumes; track resume.trackUUID){
|
||||||
<button type="button" (click)="applyWithResume(resume)">APPLY USING RESUME: {{ resume.name }}</button>
|
<button type="button" (click)="applyWithResume(resume)">APPLY USING RESUME: {{ resume.title }}</button>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import { Authentication } from 'app/services/Authentication';
|
|||||||
import { JobListing } from 'app/models/JobListing';
|
import { JobListing } from 'app/models/JobListing';
|
||||||
import { Company } from 'app/models/Company';
|
import { Company } from 'app/models/Company';
|
||||||
import { Resume } from 'app/models/Resume';
|
import { Resume } from 'app/models/Resume';
|
||||||
import { Application } from 'app/models/Application';
|
import { ApplicationRequest } from 'app/models/Application';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'main-jobs-viewer',
|
selector: 'main-jobs-viewer',
|
||||||
@@ -69,18 +69,13 @@ export class JobViewerComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
applyWithResume(resume: Resume) {
|
applyWithResume(resume: Resume) {
|
||||||
var application = new Application;
|
var application = new ApplicationRequest;
|
||||||
|
|
||||||
if (this.auth.loggedInUser.id != null){
|
|
||||||
application.accountID = this.auth.loggedInUser.id;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (resume.id != null){
|
if (resume.id != null){
|
||||||
application.resumeID = resume.id;
|
application.resumeID = resume.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
application.jobListingID = this.JobListingID;
|
application.jobListingID = this.JobListingID;
|
||||||
application.hasBeenViewed = false;
|
|
||||||
application.responseEmail = resume.email;
|
application.responseEmail = resume.email;
|
||||||
|
|
||||||
this.http.post("api/application", application).subscribe({
|
this.http.post("api/application", application).subscribe({
|
||||||
|
|||||||
Reference in New Issue
Block a user