Commit 9fa933d1 by Nilu

S12971668 # Client - Incoming Issues (raised by Client) #Applicant Details report formatting

parent 66aa62f7
...@@ -232,6 +232,12 @@ ...@@ -232,6 +232,12 @@
</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> &nbsp; <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">
......
...@@ -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: 80px; border-bottom: 1px solid #ECECEE; padding-left:50px;line-height: 60px;} .chart-info-cell .appli-row {height: 60px; 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: 80px; } width:150px;white-space: nowrap; line-height: 60px; }
.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; }
...@@ -141,7 +141,7 @@ ...@@ -141,7 +141,7 @@
white-space:nowrap; white-space:nowrap;
} }
.like-strive{ .like-strive{
font-size: 12px; font-size: 10px;
line-height: 1.17; line-height: 1.17;
color: #7d7f82; color: #7d7f82;
float: left; float: left;
...@@ -305,18 +305,39 @@ ...@@ -305,18 +305,39 @@
} }
.role .tab-row { .role .tab-row {
max-height: 80px; max-height: 55px;
line-height: 80px; line-height: 55px;
} }
.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);}
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment