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
b2f5f2ca
Commit
b2f5f2ca
authored
Jul 20, 2020
by
Muhammad Usman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
career builder tab icons added
parent
d7903a20
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
66 additions
and
9 deletions
+66
-9
career-history.component.html
...reer-history/career-history/career-history.component.html
+8
-8
career-history.component.ts
...career-history/career-history/career-history.component.ts
+20
-0
summary-report.component.scss
...eb/dashboard/summary-report/summary-report.component.scss
+0
-1
intro-letters.component.scss
.../intro-letters/intro-letters/intro-letters.component.scss
+10
-0
career-profile.model.ts
...ular/src/app/my-career-web/models/career-profile.model.ts
+9
-0
_variables.scss
frontend/angular/src/styles/my-career-styles/_variables.scss
+1
-0
_tab-view.scss
...ngular/src/styles/my-career-styles/primeng/_tab-view.scss
+18
-0
No files found.
frontend/angular/src/app/my-career-web/career-history/career-history/career-history.component.html
View file @
b2f5f2ca
...
@@ -25,29 +25,29 @@
...
@@ -25,29 +25,29 @@
</div>
</div>
<div
class=
"assessment-body-tabs mc-card career-builder"
>
<div
class=
"assessment-body-tabs mc-card career-builder
position-relative
"
>
<p-tabView
(
onChange
)="
tabChanged
($
event
)"
>
<p-tabView
(
onChange
)="
tabChanged
($
event
)"
>
<p-tabPanel
header=
"1{{isMobileView ? '' : '. Templates'}}"
[
selected
]="
activeTab =
==
'
templates
'"
>
<p-tabPanel
header=
"1{{isMobileView ? '' : '. Templates'}}"
[
selected
]="
activeTab =
==
'
templates
'"
rightIcon=
"fa fa-check"
[
headerStyleClass
]="
careerProfile
?.
ProfileBulderTabCompletion
?.
TEMPLATES
?
'
completed
'
:
''"
>
<app-templates></app-templates>
<app-templates></app-templates>
</p-tabPanel>
</p-tabPanel>
<p-tabPanel
header=
"2{{isMobileView ? '' : '. Personal Data'}}"
[
selected
]="
activeTab =
==
'
personal-data
'"
>
<p-tabPanel
header=
"2{{isMobileView ? '' : '. Personal Data'}}"
[
selected
]="
activeTab =
==
'
personal-data
'"
rightIcon=
"fa fa-check"
[
headerStyleClass
]="
careerProfile
?.
ProfileBulderTabCompletion
?.
PERSONAL_DATA
?
'
completed
'
:
''"
>
<app-personal-details
#
personalDetailsComponent
[
asChildComponent
]="
true
"
(
detailsSaved
)="
tabChanged
({
index:
2
})"
>
<app-personal-details
#
personalDetailsComponent
[
asChildComponent
]="
true
"
(
detailsSaved
)="
tabChanged
({
index:
2
})"
>
</app-personal-details>
</app-personal-details>
</p-tabPanel>
</p-tabPanel>
<p-tabPanel
header=
"3{{isMobileView ? '' : '. Work History'}}"
[
selected
]="
activeTab =
==
'
work-history
'"
>
<p-tabPanel
header=
"3{{isMobileView ? '' : '. Work History'}}"
[
selected
]="
activeTab =
==
'
work-history
'"
rightIcon=
"fa fa-check"
[
headerStyleClass
]="
careerProfile
?.
ProfileBulderTabCompletion
?.
WORK_HISTORY
?
'
completed
'
:
''"
>
<app-work-history
#
workHistoryComponent
(
workSaved
)="
tabChanged
({
index:
3
})"
>
<app-work-history
#
workHistoryComponent
(
workSaved
)="
tabChanged
({
index:
3
})"
>
</app-work-history>
</app-work-history>
</p-tabPanel>
</p-tabPanel>
<p-tabPanel
header=
"4{{isMobileView ? '' : '. Education'}}"
[
selected
]="
activeTab =
==
'
education
'"
>
<p-tabPanel
header=
"4{{isMobileView ? '' : '. Education'}}"
[
selected
]="
activeTab =
==
'
education
'"
rightIcon=
"fa fa-check"
[
headerStyleClass
]="
careerProfile
?.
ProfileBulderTabCompletion
?.
EDUCATION
?
'
completed
'
:
''"
>
<app-education
#
educationComponent
(
educationSaved
)="
tabChanged
({
index:
4
})"
></app-education>
<app-education
#
educationComponent
(
educationSaved
)="
tabChanged
({
index:
4
})"
></app-education>
</p-tabPanel>
</p-tabPanel>
<p-tabPanel
header=
"5{{isMobileView ? '' : '. Skills'}}"
[
selected
]="
activeTab =
==
'
skills
'"
>
<p-tabPanel
header=
"5{{isMobileView ? '' : '. Skills'}}"
[
selected
]="
activeTab =
==
'
skills
'"
rightIcon=
"fa fa-check"
[
headerStyleClass
]="
careerProfile
?.
ProfileBulderTabCompletion
?.
SKILLS
?
'
completed
'
:
''"
>
<app-skills
#
skillsComponent
(
skillsSaved
)="
tabChanged
({
index:
5
})"
></app-skills>
<app-skills
#
skillsComponent
(
skillsSaved
)="
tabChanged
({
index:
5
})"
></app-skills>
</p-tabPanel>
</p-tabPanel>
<p-tabPanel
header=
"6{{isMobileView ? '' : '. References'}}"
[
selected
]="
activeTab =
==
'
references
'"
>
<p-tabPanel
header=
"6{{isMobileView ? '' : '. References'}}"
[
selected
]="
activeTab =
==
'
references
'"
rightIcon=
"fa fa-check"
[
headerStyleClass
]="
careerProfile
?.
ProfileBulderTabCompletion
?.
REFERENCES
?
'
completed
'
:
''"
>
<app-references
#
referencesComponent
(
refereeSaved
)="
tabChanged
({
index:
6
})"
></app-references>
<app-references
#
referencesComponent
(
refereeSaved
)="
tabChanged
({
index:
6
})"
></app-references>
</p-tabPanel>
</p-tabPanel>
<p-tabPanel
header=
"7{{isMobileView ? '' : '. Publish'}}"
[
selected
]="
activeTab =
==
'
publish
'"
>
<p-tabPanel
header=
"7{{isMobileView ? '' : '. Publish'}}"
[
selected
]="
activeTab =
==
'
publish
'"
rightIcon=
"fa fa-check"
[
headerStyleClass
]="
careerProfile
?.
ProfileBulderTabCompletion
?.
PUBLISH
?
'
completed
'
:
''"
>
<app-publish></app-publish>
<app-publish></app-publish>
</p-tabPanel>
</p-tabPanel>
</p-tabView>
</p-tabView>
...
...
frontend/angular/src/app/my-career-web/career-history/career-history/career-history.component.ts
View file @
b2f5f2ca
...
@@ -7,6 +7,9 @@ import { WorkHistoryComponent } from './work-history/work-history.component';
...
@@ -7,6 +7,9 @@ import { WorkHistoryComponent } from './work-history/work-history.component';
import
{
EducationComponent
}
from
'./education/education.component'
;
import
{
EducationComponent
}
from
'./education/education.component'
;
import
{
SkillsComponent
}
from
'./skills/skills.component'
;
import
{
SkillsComponent
}
from
'./skills/skills.component'
;
import
{
ReferencesComponent
}
from
'./references/references.component'
;
import
{
ReferencesComponent
}
from
'./references/references.component'
;
import
{
CareerProfileModel
}
from
'../../models/career-profile.model'
;
import
{
PersonalDetailsService
}
from
'../../services/personal-details.service'
;
import
{
UtilsService
}
from
'../../../oneit/services/utils.service'
;
@
Component
({
@
Component
({
selector
:
'app-career-history'
,
selector
:
'app-career-history'
,
...
@@ -16,6 +19,7 @@ import { ReferencesComponent } from './references/references.component';
...
@@ -16,6 +19,7 @@ import { ReferencesComponent } from './references/references.component';
export
class
CareerHistoryComponent
extends
BaseComponent
implements
OnInit
{
export
class
CareerHistoryComponent
extends
BaseComponent
implements
OnInit
{
tabs
=
[
'templates'
,
'personal-data'
,
'work-history'
,
'education'
,
'skills'
,
'references'
,
'publish'
];
tabs
=
[
'templates'
,
'personal-data'
,
'work-history'
,
'education'
,
'skills'
,
'references'
,
'publish'
];
careerProfile
:
CareerProfileModel
;
activeTab
=
''
;
activeTab
=
''
;
isExiting
=
false
;
isExiting
=
false
;
...
@@ -27,6 +31,8 @@ export class CareerHistoryComponent extends BaseComponent implements OnInit {
...
@@ -27,6 +31,8 @@ export class CareerHistoryComponent extends BaseComponent implements OnInit {
constructor
(
constructor
(
private
router
:
Router
,
private
router
:
Router
,
private
personalDetailsService
:
PersonalDetailsService
,
private
utilsService
:
UtilsService
,
private
activatedRoute
:
ActivatedRoute
private
activatedRoute
:
ActivatedRoute
)
{
)
{
super
();
super
();
...
@@ -39,6 +45,20 @@ export class CareerHistoryComponent extends BaseComponent implements OnInit {
...
@@ -39,6 +45,20 @@ export class CareerHistoryComponent extends BaseComponent implements OnInit {
if
(
params
.
screen
)
{
if
(
params
.
screen
)
{
this
.
activeTab
=
params
.
screen
;
this
.
activeTab
=
params
.
screen
;
}
}
});
this
.
getCareerProfile
();
}
getCareerProfile
():
void
{
this
.
isLoading
=
true
;
this
.
personalDetailsService
.
getCareerProfile
()
.
pipe
(
takeUntil
(
this
.
componentInView
))
.
subscribe
(
response
=>
{
this
.
careerProfile
=
response
;
this
.
isLoading
=
false
;
},
err
=>
{
this
.
isLoading
=
false
;
this
.
utilsService
.
handleError
(
err
);
})
})
}
}
...
...
frontend/angular/src/app/my-career-web/dashboard/summary-report/summary-report.component.scss
View file @
b2f5f2ca
...
@@ -167,7 +167,6 @@
...
@@ -167,7 +167,6 @@
@media
screen
and
(
max-width
:
1024px
)
{
@media
screen
and
(
max-width
:
1024px
)
{
.report-wrapper
{
.report-wrapper
{
.summary-report
{
.summary-report
{
.report-bars
{
.report-bars
{
...
...
frontend/angular/src/app/my-career-web/intro-letters/intro-letters/intro-letters.component.scss
View file @
b2f5f2ca
...
@@ -22,3 +22,13 @@
...
@@ -22,3 +22,13 @@
}
}
}
}
}
}
@media
screen
and
(
max-width
:
1024px
)
{
.mc-btn-primary
{
min-width
:
100%
!
important
;
margin-top
:
20px
;
}
}
frontend/angular/src/app/my-career-web/models/career-profile.model.ts
View file @
b2f5f2ca
...
@@ -26,4 +26,13 @@ export class CareerProfileModel extends BaseModel {
...
@@ -26,4 +26,13 @@ export class CareerProfileModel extends BaseModel {
NoReference
:
boolean
;
NoReference
:
boolean
;
PublishProfile
:
boolean
;
PublishProfile
:
boolean
;
AssumedUser
:
boolean
;
AssumedUser
:
boolean
;
ProfileBulderTabCompletion
:
{
EDUCATION
:
boolean
;
PERSONAL_DATA
:
boolean
;
PUBLISH
:
boolean
;
REFERENCES
:
boolean
;
SKILLS
:
boolean
;
TEMPLATES
:
boolean
;
WORK_HISTORY
:
boolean
;
};
}
}
frontend/angular/src/styles/my-career-styles/_variables.scss
View file @
b2f5f2ca
...
@@ -6,3 +6,4 @@ $primaryColor: #12A8DE;
...
@@ -6,3 +6,4 @@ $primaryColor: #12A8DE;
$darkColor
:
#58595B
;
$darkColor
:
#58595B
;
$textGrey
:
#7d7f83
;
$textGrey
:
#7d7f83
;
$greyBorder
:
#e5e8eb
;
$greyBorder
:
#e5e8eb
;
$success
:
#1DBA3C
;
frontend/angular/src/styles/my-career-styles/primeng/_tab-view.scss
View file @
b2f5f2ca
...
@@ -9,6 +9,24 @@
...
@@ -9,6 +9,24 @@
flex
:
1
;
flex
:
1
;
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
.ui-tabview-right-icon
{
display
:
none
;
}
&
.completed
{
.ui-tabview-title
{
color
:
$success
;
font-weight
:
600
;
}
.ui-tabview-right-icon
{
display
:
initial
;
color
:
$success
;
}
}
}
}
}
}
}
}
...
...
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