Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PERFORMA_REPLICA
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Muhammad Usman
PERFORMA_REPLICA
Commits
9af740e7
Commit
9af740e7
authored
Jul 27, 2020
by
Muhammad Usman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
templates carousel ui issues, job create view
parent
35f6d6d0
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
108 additions
and
11 deletions
+108
-11
templates.component.scss
...history/career-history/templates/templates.component.scss
+1
-1
job.component.html
...angular/src/app/my-career-web/jobs/job/job.component.html
+54
-3
job.component.ts
...d/angular/src/app/my-career-web/jobs/job/job.component.ts
+36
-7
applicant-job.model.ts
...gular/src/app/my-career-web/models/applicant-job.model.ts
+2
-0
job.service.ts
...end/angular/src/app/my-career-web/services/job.service.ts
+5
-0
_carousel.scss
...ngular/src/styles/my-career-styles/primeng/_carousel.scss
+10
-0
No files found.
frontend/angular/src/app/my-career-web/career-history/career-history/templates/templates.component.scss
View file @
9af740e7
...
...
@@ -95,7 +95,7 @@
.template-img-wrapper
{
.template-img
{
height
:
auto
!
important
;
min-height
:
300px
;
min-height
:
56vh
;
}
}
}
...
...
frontend/angular/src/app/my-career-web/jobs/job/job.component.html
View file @
9af740e7
<p>
job works!
</p>
<div
class=
"mc-page"
>
<div
class=
"mc-page-header"
>
<div
class=
"mc-page-header-logo"
>
<img
src=
"assets/my-career-web/images/MATCHD_LOGO.jpg"
alt=
""
>
</div>
</div>
<div
class=
"mc-page-body container"
>
<div
class=
"mc-card"
>
<app-overlay
[
isActive
]="
isLoading
"
></app-overlay>
<div
class=
"mc-page-body-heading"
>
{{isEditMode ? 'Update' : 'Enter'}} Job Details
</div>
<div
class=
"row"
>
<div
class=
"col-md-6 form-group"
>
<label>
Job Title
</label>
<app-form-control>
<input
type=
"text"
class=
"form-control"
placeholder=
"Enter job title"
required
name=
"JobTitle"
[(
ngModel
)]="
applicantJob
.
JobTitle
"
>
</app-form-control>
</div>
<div
class=
"col-md-6 form-group"
>
<label>
Employer
</label>
<app-form-control>
<input
type=
"text"
class=
"form-control"
placeholder=
"Enter Employer"
required
name=
"Employer"
[(
ngModel
)]="
applicantJob
.
Employer
"
>
</app-form-control>
</div>
<div
class=
"col-md-6 form-group"
>
<label>
Contact Name
</label>
<app-form-control>
<input
type=
"text"
class=
"form-control"
placeholder=
"Enter contact name"
required
name=
"ContactName"
[(
ngModel
)]="
applicantJob
.
ContactName
"
>
</app-form-control>
</div>
<div
class=
"col-md-6 form-group"
>
<label>
Where was Job Posted?
</label>
<app-form-control>
<p-dropdown
placeholder=
"Select job post location"
[
options
]="
jobPostLocations
"
[
dropdownIcon
]="
isLoadingJobLocations
?
'
pi
pi-spin
pi-spinner
'
:
'
pi
pi-chevron-down
'"
optionLabel=
"Description"
name=
"JobPostedLocation"
dataKey=
"Value"
[(
ngModel
)]="
applicantJob
.
JobPostedLocation
"
>
</p-dropdown>
</app-form-control>
</div>
</div>
</div>
</div>
</div>
frontend/angular/src/app/my-career-web/jobs/job/job.component.ts
View file @
9af740e7
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
BaseComponent
}
from
'../../base/base.component'
;
import
{
ApplicantJobModel
}
from
'../../models/applicant-job.model'
;
import
{
JobService
}
from
'../../services/job.service'
;
import
{
takeUntil
}
from
'rxjs/operators'
;
import
{
UtilsService
}
from
'../../../oneit/services/utils.service'
;
@
Component
({
selector
:
'app-job'
,
templateUrl
:
'./job.component.html'
,
styleUrls
:
[
'./job.component.scss'
]
selector
:
'app-job'
,
templateUrl
:
'./job.component.html'
,
styleUrls
:
[
'./job.component.scss'
]
})
export
class
JobComponent
implements
OnInit
{
export
class
JobComponent
extends
BaseComponent
implements
OnInit
{
constructor
()
{
}
applicantJob
:
ApplicantJobModel
=
new
ApplicantJobModel
();
ngOnInit
()
{
}
isLoadingJobLocations
=
false
;
jobPostLocations
=
[];
constructor
(
private
jobService
:
JobService
,
private
utilsService
:
UtilsService
)
{
super
();
}
ngOnInit
()
{
this
.
getJobPostLocations
();
}
getJobPostLocations
():
void
{
this
.
isLoadingJobLocations
=
true
;
this
.
jobService
.
getJobPostedLocation
()
.
pipe
(
takeUntil
(
this
.
componentInView
))
.
subscribe
(
response
=>
{
this
.
isLoadingJobLocations
=
false
;
this
.
jobPostLocations
=
response
;
},
err
=>
{
this
.
isLoadingJobLocations
=
false
;
this
.
utilsService
.
handleError
(
err
);
})
}
}
frontend/angular/src/app/my-career-web/models/applicant-job.model.ts
View file @
9af740e7
...
...
@@ -5,6 +5,8 @@ export class ApplicantJobModel extends BaseModel {
ObjectClass
=
CLASSES
.
Job
;
JobTitle
:
string
;
Employer
:
string
;
ContactName
:
string
;
ApplicantJobStatus
:
string
;
JobPostedLocation
:
any
;
JobStatus
:
any
;
}
frontend/angular/src/app/my-career-web/services/job.service.ts
View file @
9af740e7
...
...
@@ -29,4 +29,9 @@ export class JobService {
}
getJobPostedLocation
():
Observable
<
any
>
{
return
this
.
enumService
.
getEnums
(
'JobPostedLocations'
,
true
);
}
}
frontend/angular/src/styles/my-career-styles/primeng/_carousel.scss
View file @
9af740e7
...
...
@@ -21,6 +21,7 @@
.ui-carousel-viewport
{
width
:
75%
;
max-height
:
90vh
;
overflow
:
auto
!
important
;
}
.ui-carousel-item
{
...
...
@@ -87,3 +88,12 @@
}
}
}
.pi-arrow-circle-right
:before
{
content
:
'chevron_right'
!
important
;
}
.pi-arrow-circle-left
:before
{
content
:
'chevron_right'
!
important
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment