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
9fa933d1
Commit
9fa933d1
authored
Dec 06, 2018
by
Nilu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
S12971668 # Client - Incoming Issues (raised by Client) #Applicant Details report formatting
parent
66aa62f7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
128 additions
and
22 deletions
+128
-22
applicant_report.jsp
...p/webroot/extensions/adminportal/inc/applicant_report.jsp
+89
-4
applicant_report_header.jsp
...ot/extensions/adminportal/inc/applicant_report_header.jsp
+39
-18
No files found.
cmsWebApp/webroot/extensions/adminportal/inc/applicant_report.jsp
View file @
9fa933d1
...
@@ -231,7 +231,13 @@
...
@@ -231,7 +231,13 @@
</td>
</td>
</tr>
</tr>
</table>
</table>
<%
if(detailed)
{
%>
<p style="page-break-before: always"></p>
<%
<%
}
}
}
%>
%>
...
@@ -293,10 +299,79 @@
...
@@ -293,10 +299,79 @@
Map<FactorClass, Tuple.T3<Double, ColorCode, Double>> roleScoreMap = (Map<FactorClass, Tuple.T3<Double, ColorCode, Double>>)jobApplication.getRoleFit();
Map<FactorClass, Tuple.T3<Double, ColorCode, Double>> roleScoreMap = (Map<FactorClass, Tuple.T3<Double, ColorCode, Double>>)jobApplication.getRoleFit();
Map<FactorClass, Map<FactorLevelLink, Map>> factorClassDtls = (Map<FactorClass, Map<FactorLevelLink, Map>>) jobApplication.getFactorScoreDetails();
Map<FactorClass, Map<FactorLevelLink, Map>> factorClassDtls = (Map<FactorClass, Map<FactorLevelLink, Map>>) jobApplication.getFactorScoreDetails();
int index = 0;
for(FactorClass factorClass : factorClassDtls.keySet())
for(FactorClass factorClass : factorClassDtls.keySet())
{
{
Map<FactorLevelLink, Map> factorDetails = factorClassDtls.get(factorClass);
Map<FactorLevelLink, Map> factorDetails = factorClassDtls.get(factorClass);
Double rating = roleScoreMap.get(factorClass).get2();
Double rating = roleScoreMap.get(factorClass).get2();
index++;
if(index + factorDetails.size() > (job.getIncludeAssessmentCriteria() == Boolean.TRUE ? 30 : 25))
{
index = 0;
%>
</td>
</tr>
</table>
<p style="page-break-before: always"></p>
<table width="100%" cellspacing="0" cellpadding="0" class="charts-table">
<tr>
<td class="chart-cell">
<div class="cell-title">Role Fit (Cont.)</div>
<div>
<img src="file:///<%= jobApplication.getRoleFitChart() %>" alt="Ring Chart"/>
</div>
<div class="row four-label">
<%
if(!factorScores.isEmpty())
{
int rowCount = (factorScores.size() % 2 == 0) ? (factorScores.size() / 2) : ((factorScores.size() + 1) / 2);
for(int i = 0; i < rowCount; i++)
{
FactorScore firstScore = factorScores.get(i*2);
FactorScore secondScore = (factorScores.size() > ((i*2) + 1)) ? factorScores.get((i*2) + 1) : null;
String dotClass = firstScore.getColorCode() != null ? firstScore.getColorCode().getDotCSSClass() : "";
%>
<div style="width: 100%;">
<div class="a-label-row">
<div class="width50 text-left" >
<span class="common-dot <%= dotClass %>"></span>
<span class="r-y-label text-dot-dot">
<oneit:toString value="<%= firstScore.getFactor() %>" mode="EscapeHTML"/>
</span>
</div>
<%
if(secondScore != null)
{
dotClass = secondScore.getColorCode() != null ? secondScore.getColorCode().getDotCSSClass() : "";
%>
<div class="width50 text-left" >
<span class="common-dot <%= dotClass %>"></span>
<span class="r-y-label text-dot-dot">
<oneit:toString value="<%= secondScore.getFactor() %>" mode="EscapeHTML"/>
</span>
</div>
<%
}
%>
</div>
</div>
<%
}
}
%>
</div>
</td>
<td class="chart-info-cell">
<%
}
%>
%>
<div class="appli-row">
<div class="appli-row">
<span class="appli-label"><oneit:toString value="<%= factorClass %>" mode="EscapeHTML"/></span>
<span class="appli-label"><oneit:toString value="<%= factorClass %>" mode="EscapeHTML"/></span>
...
@@ -317,6 +392,8 @@
...
@@ -317,6 +392,8 @@
if(!factorLinkDetails.isEmpty())
if(!factorLinkDetails.isEmpty())
{
{
FactorScore factorScore = (FactorScore) factorLinkDetails.get("factorScore");
FactorScore factorScore = (FactorScore) factorLinkDetails.get("factorScore");
index++;
%>
%>
<div class="tab-row">
<div class="tab-row">
<div class="detail-tab-row-title">
<div class="detail-tab-row-title">
...
@@ -355,9 +432,17 @@
...
@@ -355,9 +432,17 @@
</td>
</td>
</tr>
</tr>
</table>
</table>
<%
if(detailed)
{
%>
<p style="page-break-before: always"></p>
<%
}
%>
<!--Culture Fit Data-->
<!--Culture Fit Data-->
<table width="100%" cellspacing="0" cellpadding="0" class="charts-table">
<table width="100%" cellspacing="0" cellpadding="0" class="charts-table
culture
">
<tr>
<tr>
<td class="chart-cell">
<td class="chart-cell">
<div class="cell-title">Culture Fit</div>
<div class="cell-title">Culture Fit</div>
...
@@ -440,9 +525,9 @@
...
@@ -440,9 +525,9 @@
CultureNarrative cultureNarrative = (CultureNarrative) tuple.get2();
CultureNarrative cultureNarrative = (CultureNarrative) tuple.get2();
String dotClass = cultureNarrative != null && cultureNarrative.getColorCode() != null ? cultureNarrative.getColorCode().getDotCSSClass() : "";
String dotClass = cultureNarrative != null && cultureNarrative.getColorCode() != null ? cultureNarrative.getColorCode().getDotCSSClass() : "";
%>
%>
<div class="tab-row fixed-height" id="<%= ((CultureElement)tuple.get1()).getObjectID() %>">
<div class="tab-row fixed-height" id="<%=
"cul" +
((CultureElement)tuple.get1()).getObjectID() %>">
<div class="detail-tab-row-title ">
<div class="detail-tab-row-title ">
<span class="common-dot <%= dotClass %>"></span>
<span class="common-dot <%= dotClass %>"></span>
<oneit:toString value="<%= tuple.get1() %>" mode="EscapeHTML"/>
<oneit:toString value="<%= tuple.get1() %>" mode="EscapeHTML"/>
</div>
</div>
<div class="detail-tab-row-text line-height-fixed">
<div class="detail-tab-row-text line-height-fixed">
...
...
cmsWebApp/webroot/extensions/adminportal/inc/applicant_report_header.jsp
View file @
9fa933d1
...
@@ -60,11 +60,11 @@
...
@@ -60,11 +60,11 @@
font-size: 10px;left:0;bottom: 0;padding-top: 15px; }
font-size: 10px;left:0;bottom: 0;padding-top: 15px; }
.red-requirements {color: #F9623D;}
.red-requirements {color: #F9623D;}
.chart-info-cell{vertical-align: top; width: 949px;}
.chart-info-cell{vertical-align: top; width: 949px;}
.chart-info-cell .appli-row {height:
8
0px; border-bottom: 1px solid #ECECEE; padding-left:50px;line-height: 60px;}
.chart-info-cell .appli-row {height:
6
0px; border-bottom: 1px solid #ECECEE; padding-left:50px;line-height: 60px;}
.chart-info-cell .appli-row:last-child {border-bottom: none;}
.chart-info-cell .appli-row:last-child {border-bottom: none;}
.cell-title {text-transform: uppercase;color: #4A4A4A;font-size: 16px;letter-spacing: 1.45px;}
.cell-title {text-transform: uppercase;color: #4A4A4A;font-size: 16px;letter-spacing: 1.45px;}
.appli-label{font-weight: 500;font-size: 12px;text-align: left; color: #4E5258; display: inline-block; vertical-align: middle;
.appli-label{font-weight: 500;font-size: 12px;text-align: left; color: #4E5258; display: inline-block; vertical-align: middle;
width:150px;white-space: nowrap; line-height:
8
0px; }
width:150px;white-space: nowrap; line-height:
6
0px; }
.appli-percen{font-size: 24px; color: #667281; display: inline-block; vertical-align: middle;width: 80px; text-align: right;
.appli-percen{font-size: 24px; color: #667281; display: inline-block; vertical-align: middle;width: 80px; text-align: right;
padding-right: 18px; box-sizing: border-box;}
padding-right: 18px; box-sizing: border-box;}
span.appli-progress-bar {display: inline-block; width: 613px;vertical-align: middle; }
span.appli-progress-bar {display: inline-block; width: 613px;vertical-align: middle; }
...
@@ -124,7 +124,7 @@
...
@@ -124,7 +124,7 @@
text-align: left;
text-align: left;
color: #4e5258;
color: #4e5258;
margin-bottom: 2px;
margin-bottom: 2px;
line-height: 1.4;
line-height: 1.4;
}
}
.result .calcField{color: #4E5258; }
.result .calcField{color: #4E5258; }
.result{
.result{
...
@@ -141,12 +141,12 @@
...
@@ -141,12 +141,12 @@
white-space:nowrap;
white-space:nowrap;
}
}
.like-strive{
.like-strive{
font-size: 1
2
px;
font-size: 1
0
px;
line-height: 1.17;
line-height: 1.17;
color: #7d7f82;
color: #7d7f82;
float: left;
float: left;
width: 100%;
width: 100%;
padding-top: 5px;
padding-top: 5px;
}
}
.result-bar ul{
.result-bar ul{
...
@@ -164,24 +164,24 @@
...
@@ -164,24 +164,24 @@
margin-right: -0.5px
margin-right: -0.5px
}
}
.red-b {
.red-b {
background: #fb5d67 none repeat scroll 0 0 !important;
background: #fb5d67 none repeat scroll 0 0 !important;
position: relative;
position: relative;
z-index: 10;
z-index: 10;
/*height: 10px;*/
/*height: 10px;*/
}
}
.yellow-b{
.yellow-b{
background-color: #fedd6f !important;
background-color: #fedd6f !important;
position: relative;
position: relative;
z-index: 10;
z-index: 10;
/*height: 10px;*/
/*height: 10px;*/
}
}
.green-b{
.green-b{
background-color: #41bdb4 !important;
background-color: #41bdb4 !important;
position: relative;
position: relative;
z-index: 10;
z-index: 10;
/*height: 10px;*/
/*height: 10px;*/
}
}
.triangle-arrow {
.triangle-arrow {
...
@@ -305,18 +305,39 @@
...
@@ -305,18 +305,39 @@
}
}
.role .tab-row {
.role .tab-row {
max-height:
80
px;
max-height:
55
px;
line-height:
80
px;
line-height:
55
px;
}
}
.culture .tab-row {
min-height: 38px;
line-height: 38px;
}
.culture .tab-row.fixed-height {
height: 38px;
}
.culture .detail-tab-row-title .common-dot {
margin-top: 15px;
top: 11px;
position: absolute;
left: 28.5px;
margin: 0;
}
div#cul23 .detail-tab-row-title {
line-height: 1.2em;
padding-left: 55px;
width: 223px;
padding: 7px 0 7px 56px;
}
@page
@page
{
{
size: 1340px 1896px;;
size: 1340px 1896px;;
margin : 0;
margin : 0;
@top-left { content: element(header);}
@top-left { content: element(header);}
}
}
...
...
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