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
38d44cc4
Commit
38d44cc4
authored
Sep 12, 2017
by
Harsh Shah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Role Fit should not display '%'
parent
c582f5fc
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
7 deletions
+18
-7
view_application_tab_applicant.jsp
...nsions/adminportal/inc/view_application_tab_applicant.jsp
+3
-3
view_application.jsp
...ebApp/webroot/extensions/adminportal/view_application.jsp
+13
-2
jquery.circleProgressBar.min.js
cmsWebApp/webroot/scripts/jquery.circleProgressBar.min.js
+2
-2
No files found.
cmsWebApp/webroot/extensions/adminportal/inc/view_application_tab_applicant.jsp
View file @
38d44cc4
...
@@ -73,19 +73,19 @@
...
@@ -73,19 +73,19 @@
<div class="applicant-progress">
<div class="applicant-progress">
<div class="col-sm-4 col-xs-12 text-center" href="#1a" data-toggle="tab" id="progress1" onClick="tabToggle('#tab1')">
<div class="col-sm-4 col-xs-12 text-center" href="#1a" data-toggle="tab" id="progress1" onClick="tabToggle('#tab1')">
<label class="progress-label">role fit</label>
<label class="progress-label">role fit</label>
<div class="percent-
green
fixed-width">
<div class="percent-
role
fixed-width">
<p style="display:none;"><oneit:toString value="<%= jobApplication.getRoleFitScore() %>" mode="TwoDPDouble" nullValue="0"/></p>
<p style="display:none;"><oneit:toString value="<%= jobApplication.getRoleFitScore() %>" mode="TwoDPDouble" nullValue="0"/></p>
</div>
</div>
</div>
</div>
<div class="col-sm-4 col-xs-12 text-center" href="#2a" data-toggle="tab" id="progress2" onClick="tabToggle('#tab2')">
<div class="col-sm-4 col-xs-12 text-center" href="#2a" data-toggle="tab" id="progress2" onClick="tabToggle('#tab2')">
<label class="progress-label">culture fit</label>
<label class="progress-label">culture fit</label>
<div class="percent-
green
fixed-width">
<div class="percent-
culture
fixed-width">
<p style="display:none;"><oneit:toString value="<%= jobApplication.getCultureFitScore() %>" mode="PercentageWholeNumber" /></p>
<p style="display:none;"><oneit:toString value="<%= jobApplication.getCultureFitScore() %>" mode="PercentageWholeNumber" /></p>
</div>
</div>
</div>
</div>
<div class="col-sm-4 col-xs-12 text-center" href="#3a" data-toggle="tab" id="progress3" onClick="tabToggle('#tab3')">
<div class="col-sm-4 col-xs-12 text-center" href="#3a" data-toggle="tab" id="progress3" onClick="tabToggle('#tab3')">
<label class="progress-label">requirements</label>
<label class="progress-label">requirements</label>
<div class="percent-
blue
fixed-width">
<div class="percent-
req
fixed-width">
<p style="display:none;"><oneit:toString value="<%= jobApplication.getRequirementFitScore() %>" mode="PercentageWholeNumber" /></p>
<p style="display:none;"><oneit:toString value="<%= jobApplication.getRequirementFitScore() %>" mode="PercentageWholeNumber" /></p>
</div>
</div>
</div>
</div>
...
...
cmsWebApp/webroot/extensions/adminportal/view_application.jsp
View file @
38d44cc4
...
@@ -19,7 +19,18 @@
...
@@ -19,7 +19,18 @@
<script type="text/javascript">
<script type="text/javascript">
$(document).ready(function()
$(document).ready(function()
{
{
$('.percent-green').percentageLoader({
$('.percent-role').percentageLoader({
valElement: 'p',
strokeWidth: 20,
bgColor: '#e5e8eb',
ringColor: '#67b413',
textColor: '#67b413',
fontSize: '30px',
fontWeight: 'normal',
showPercent: false
});
$('.percent-culture').percentageLoader({
valElement: 'p',
valElement: 'p',
strokeWidth: 20,
strokeWidth: 20,
bgColor: '#e5e8eb',
bgColor: '#e5e8eb',
...
@@ -29,7 +40,7 @@
...
@@ -29,7 +40,7 @@
fontWeight: 'normal'
fontWeight: 'normal'
});
});
$('.percent-
blue
').percentageLoader({
$('.percent-
req
').percentageLoader({
valElement: 'p',
valElement: 'p',
strokeWidth: 20,
strokeWidth: 20,
bgColor: '#e5e8eb',
bgColor: '#e5e8eb',
...
...
cmsWebApp/webroot/scripts/jquery.circleProgressBar.min.js
View file @
38d44cc4
!
function
(
a
){
a
.
fn
.
percentageLoader
=
function
(
b
){
this
.
each
(
function
(){
function
q
(){
p
.
customAttributes
.
arc
=
function
(
a
,
b
,
c
){
var
h
,
d
=
360
/
b
*
a
,
e
=
(
90
-
d
)
*
Math
.
PI
/
180
,
f
=
j
+
c
*
Math
.
cos
(
e
),
g
=
k
-
c
*
Math
.
sin
(
e
);
return
h
=
b
==
a
?[[
"M"
,
j
,
k
-
c
],[
"A"
,
c
,
c
,
0
,
1
,
1
,
j
-
.
01
,
k
-
c
]]:[[
"M"
,
j
,
k
-
c
],[
"A"
,
c
,
c
,
0
,
+
(
d
>
180
),
1
,
f
,
g
]],{
path
:
h
}},
p
.
path
().
attr
({
arc
:[
100
,
100
,
l
],
"stroke-width"
:
d
.
strokeWidth
,
stroke
:
d
.
bgColor
}),
e
&&
(
m
=
p
.
path
().
attr
({
arc
:[.
01
,
100
,
l
],
"stroke-width"
:
d
.
strokeWidth
,
stroke
:
d
.
ringColor
,
cursor
:
"pointer"
}),
r
(
e
,
100
,
l
,
m
,
2
)),
n
=
p
.
text
(
j
,
k
,
e
+
"%"
).
attr
({
font
:
d
.
fontWeight
+
" "
+
d
.
fontSize
+
" Arial"
,
fill
:
d
.
textColor
})}
function
r
(
a
,
b
,
c
,
d
){
f
?
d
.
animate
({
arc
:[
a
,
b
,
c
]},
900
,
">"
):
a
&&
a
!=
b
?
d
.
animate
({
arc
:[
a
,
b
,
c
]},
750
,
"elastic"
):(
a
=
b
,
d
.
animate
({
arc
:[
a
,
b
,
c
]},
750
,
"bounce"
,
function
(){
d
.
attr
({
arc
:[
0
,
b
,
c
]})}))}
var
c
=
a
(
this
),
d
=
a
.
extend
({},
a
.
fn
.
percentageLoader
.
defaultConfig
,
b
),
e
=
parseInt
(
c
.
children
(
d
.
valElement
).
text
()),
f
=!
0
,
h
=
parseInt
(
c
.
css
(
"width"
)),
i
=
parseInt
(
c
.
css
(
"height"
)),
j
=
h
/
2
,
k
=
i
/
2
,
l
=
j
-
d
.
strokeWidth
/
2
,
m
=
null
,
n
=
null
,
p
=
Raphael
(
this
,
h
,
i
);
q
()})},
a
.
fn
.
percentageLoader
.
defaultConfig
=
{
valElement
:
"p"
,
strokeWidth
:
20
,
bgColor
:
"#d9d9d9"
,
ringColor
:
"#d53f3f"
,
textColor
:
"#9a9a9a"
,
fontSize
:
"12px"
,
fontWeight
:
"normal"
}}(
jQuery
);
!
function
(
a
){
a
.
fn
.
percentageLoader
=
function
(
b
){
this
.
each
(
function
(){
function
q
(){
p
.
customAttributes
.
arc
=
function
(
a
,
b
,
c
){
var
h
,
d
=
360
/
b
*
a
,
e
=
(
90
-
d
)
*
Math
.
PI
/
180
,
f
=
j
+
c
*
Math
.
cos
(
e
),
g
=
k
-
c
*
Math
.
sin
(
e
);
return
h
=
b
==
a
?[[
"M"
,
j
,
k
-
c
],[
"A"
,
c
,
c
,
0
,
1
,
1
,
j
-
.
01
,
k
-
c
]]:[[
"M"
,
j
,
k
-
c
],[
"A"
,
c
,
c
,
0
,
+
(
d
>
180
),
1
,
f
,
g
]],{
path
:
h
}},
p
.
path
().
attr
({
arc
:[
100
,
100
,
l
],
"stroke-width"
:
d
.
strokeWidth
,
stroke
:
d
.
bgColor
}),
e
&&
(
m
=
p
.
path
().
attr
({
arc
:[.
01
,
100
,
l
],
"stroke-width"
:
d
.
strokeWidth
,
stroke
:
d
.
ringColor
,
cursor
:
"pointer"
}),
r
(
e
,
100
,
l
,
m
,
2
)),
n
=
p
.
text
(
j
,
k
,
e
+
(
d
.
showPercent
?
"%"
:
""
)).
attr
({
font
:
d
.
fontWeight
+
" "
+
d
.
fontSize
+
" Arial"
,
fill
:
d
.
textColor
})}
function
r
(
a
,
b
,
c
,
d
){
f
?
d
.
animate
({
arc
:[
a
,
b
,
c
]},
900
,
">"
):
a
&&
a
!=
b
?
d
.
animate
({
arc
:[
a
,
b
,
c
]},
750
,
"elastic"
):(
a
=
b
,
d
.
animate
({
arc
:[
a
,
b
,
c
]},
750
,
"bounce"
,
function
(){
d
.
attr
({
arc
:[
0
,
b
,
c
]})}))}
var
c
=
a
(
this
),
d
=
a
.
extend
({},
a
.
fn
.
percentageLoader
.
defaultConfig
,
b
),
e
=
parseInt
(
c
.
children
(
d
.
valElement
).
text
()),
f
=!
0
,
h
=
parseInt
(
c
.
css
(
"width"
)),
i
=
parseInt
(
c
.
css
(
"height"
)),
j
=
h
/
2
,
k
=
i
/
2
,
l
=
j
-
d
.
strokeWidth
/
2
,
m
=
null
,
n
=
null
,
p
=
Raphael
(
this
,
h
,
i
);
q
()})},
a
.
fn
.
percentageLoader
.
defaultConfig
=
{
valElement
:
"p"
,
strokeWidth
:
20
,
bgColor
:
"#d9d9d9"
,
ringColor
:
"#d53f3f"
,
textColor
:
"#9a9a9a"
,
fontSize
:
"12px"
,
fontWeight
:
"normal"
,
showPercent
:
true
}}(
jQuery
);
\ No newline at end of file
\ No newline at end of file
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