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
539eac42
You need to sign in or sign up before continuing.
Commit
539eac42
authored
Jul 23, 2020
by
Muhammad Usman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
career history 99% logic implemented
parent
96b96838
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
5 deletions
+12
-5
templates.component.html
...history/career-history/templates/templates.component.html
+1
-1
templates.component.scss
...history/career-history/templates/templates.component.scss
+5
-0
home.component.ts
...ar/src/app/my-career-web/dashboard/home/home.component.ts
+0
-2
left-sidebar.component.html
...er-web/dashboard/left-sidebar/left-sidebar.component.html
+1
-1
profile-tasks.component.ts
...er-web/dashboard/profile-tasks/profile-tasks.component.ts
+4
-1
candidate.model.ts
...d/angular/src/app/my-career-web/models/candidate.model.ts
+1
-0
No files found.
frontend/angular/src/app/my-career-web/career-history/career-history/templates/templates.component.html
View file @
539eac42
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<h4
class=
"tab-heading"
*
ngIf=
"!careerProfile?.Template"
>
Select the design template for your Career Profile
</h4>
<h4
class=
"tab-heading"
*
ngIf=
"!careerProfile?.Template"
>
Select the design template for your Career Profile
</h4>
<div
class=
"selected-template"
*
ngIf=
"careerProfile?.Template"
>
<div
class=
"selected-template"
*
ngIf=
"careerProfile?.Template"
>
<img
[
src
]="
apiBase
+
careerProfile
.
Template
.
Ful
lImageURI
"
alt=
""
>
<img
[
src
]="
apiBase
+
careerProfile
.
Template
.
Thumbnai
lImageURI
"
alt=
""
>
</div>
</div>
...
...
frontend/angular/src/app/my-career-web/career-history/career-history/templates/templates.component.scss
View file @
539eac42
...
@@ -78,6 +78,11 @@
...
@@ -78,6 +78,11 @@
}
}
}
}
.selected-template
{
max-width
:
80%
;
margin
:
0
auto
;
}
@media
screen
and
(
max-width
:
1024px
)
{
@media
screen
and
(
max-width
:
1024px
)
{
.close-templates
{
.close-templates
{
color
:
#fff
!
important
;
color
:
#fff
!
important
;
...
...
frontend/angular/src/app/my-career-web/dashboard/home/home.component.ts
View file @
539eac42
...
@@ -38,8 +38,6 @@ export class HomeComponent extends BaseComponent implements OnInit {
...
@@ -38,8 +38,6 @@ export class HomeComponent extends BaseComponent implements OnInit {
.
pipe
(
takeUntil
(
this
.
componentInView
))
.
pipe
(
takeUntil
(
this
.
componentInView
))
.
subscribe
(
profile
=>
{
.
subscribe
(
profile
=>
{
this
.
careerProfile
=
this
.
utilsService
.
cloneObject
(
profile
);
this
.
careerProfile
=
this
.
utilsService
.
cloneObject
(
profile
);
console
.
log
(
this
.
careerProfile
);
});
});
this
.
personalDetailsService
.
currentTab$
this
.
personalDetailsService
.
currentTab$
.
pipe
(
takeUntil
(
this
.
componentInView
))
.
pipe
(
takeUntil
(
this
.
componentInView
))
...
...
frontend/angular/src/app/my-career-web/dashboard/left-sidebar/left-sidebar.component.html
View file @
539eac42
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
</span>
</span>
</div>
</div>
<div
class=
"sidebar-navigation-item"
routerLink=
"/my-career-web/career-history/update"
[
ngClass
]="
{
disabled:
careerProfile
.
CompletedPercentageCH
!==
100
}
"
>
<div
class=
"sidebar-navigation-item"
routerLink=
"/my-career-web/career-history/update"
[
ngClass
]="
careerProfile
?.
CompletedPercentageCH
<=
100
?
'
disabled
'
:
''
"
>
<span
class=
"sidebar-navigation-item-icon"
>
<span
class=
"sidebar-navigation-item-icon"
>
<i
class=
"fa fa-lock"
></i>
<i
class=
"fa fa-lock"
></i>
</span>
</span>
...
...
frontend/angular/src/app/my-career-web/dashboard/profile-tasks/profile-tasks.component.ts
View file @
539eac42
...
@@ -55,7 +55,10 @@ export class ProfileTasksComponent extends BaseComponent {
...
@@ -55,7 +55,10 @@ export class ProfileTasksComponent extends BaseComponent {
t
.
completed
=
false
;
t
.
completed
=
false
;
t
.
inProgress
=
false
;
t
.
inProgress
=
false
;
t
.
started
=
false
;
t
.
started
=
false
;
if
(
this
.
careerProfile
[
t
.
key
]
===
100
)
{
if
(
t
.
key
===
'CompletedPercentageCH'
&&
this
.
careerProfile
[
t
.
key
]
>=
100
&&
!
this
.
careerProfile
.
PublishProfile
)
{
this
.
careerProfile
[
t
.
key
]
=
99
;
}
if
(
this
.
careerProfile
[
t
.
key
]
>=
100
)
{
t
.
completed
=
true
;
t
.
completed
=
true
;
}
else
if
(
this
.
careerProfile
[
t
.
key
]
>
0
&&
this
.
careerProfile
[
t
.
key
]
<=
100
)
{
}
else
if
(
this
.
careerProfile
[
t
.
key
]
>
0
&&
this
.
careerProfile
[
t
.
key
]
<=
100
)
{
t
.
inProgress
=
true
;
t
.
inProgress
=
true
;
...
...
frontend/angular/src/app/my-career-web/models/candidate.model.ts
View file @
539eac42
...
@@ -37,6 +37,7 @@ export class CandidateModel extends BaseModel {
...
@@ -37,6 +37,7 @@ export class CandidateModel extends BaseModel {
Description
:
string
;
Description
:
string
;
Disabled
:
boolean
;
Disabled
:
boolean
;
FullImageURI
:
string
;
FullImageURI
:
string
;
ThumbnailImageURI
:
string
;
Name
:
string
;
Name
:
string
;
SortOrder
:
number
;
SortOrder
:
number
;
Value
:
string
;
Value
:
string
;
...
...
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