Commit 73b3387d by Saliya Randunu

S12523511 # Client - Incoming Issues (raised by Client) #Review percentage for Requirements

parent 6a7fc6c4
...@@ -3472,6 +3472,21 @@ span.export-candidate,span.appli-status-short{ ...@@ -3472,6 +3472,21 @@ span.export-candidate,span.appli-status-short{
.pro-bar { .pro-bar {
padding: 28px 38px 22px 62px; height: 80px; padding: 28px 38px 22px 62px; height: 80px;
} }
.pro-bar.autohight {
height: auto;
}
.withreq-text .req-text {
display: block;
box-sizing: border-box;
margin-bottom: 15px;
}
.left-temp {
float: left;
width: 25%;
}
.express-bar { .express-bar {
padding: 10px 38px 35px 62px; padding: 10px 38px 35px 62px;
} }
...@@ -3494,7 +3509,7 @@ span.appli-percen { ...@@ -3494,7 +3509,7 @@ span.appli-percen {
top: -2px; top: -2px;
font-family: "Usual-Bold"; font-family: "Usual-Bold";
width: 80px; width: 80px;
text-align: right; text-align: left;
} }
.expand-box { .expand-box {
display: inline-block; display: inline-block;
...@@ -3553,9 +3568,11 @@ span.appli-progress-bar { ...@@ -3553,9 +3568,11 @@ span.appli-progress-bar {
} }
.main-score-bar.ESSENTIAL.red .score-bar { .main-score-bar.ESSENTIAL.red .score-bar {
border-left: 10px solid #f96230; border-left: 10px solid #f96230;
padding-left: 52px;
} }
.main-score-bar.ESSENTIAL.green .score-bar { .main-score-bar.ESSENTIAL.green .score-bar {
border-left: 10px solid #67B413; border-left: 10px solid #67B413;
padding-left: 52px;
} }
.applicant-right { .applicant-right {
float: right; float: right;
......
...@@ -451,17 +451,22 @@ ...@@ -451,17 +451,22 @@
Long rating = requirementFitData.get(importance); Long rating = requirementFitData.get(importance);
%> %>
<div class="main-score-bar main-pro-bar <%= importance %> <%= missingReq ? "red" : hasAllReq ? "green" : ""%>"> <div class="main-score-bar main-pro-bar <%= importance %> <%= missingReq ? "red" : hasAllReq ? "green" : ""%>">
<div class="score-bar pro-bar"> <div class="score-bar pro-bar <%=importance == Importance.ESSENTIAL && (missingReq || hasAllReq ) ? "autohight withreq-text" : ""%>">
<span class="appli-label"><oneit:toString value="<%= importance %>" mode="EscapeHTML"/></span> <span class="appli-label"><oneit:toString value="<%= importance %>" mode="EscapeHTML"/></span>
<% <%
if(importance == Importance.ESSENTIAL) if(importance == Importance.ESSENTIAL)
{ {
%> %>
<span class="<%= missingReq ? "red-requirements" : hasAllReq ? "green-requirements" : "" %>"> <span class="req-text <%= missingReq ? "red-requirements" : hasAllReq ? "green-requirements" : "" %>">
<%= missingReq ? "Candidate does not meet essential requirements" : hasAllReq ? "Candidate does meet essential requirements" : "" %> <%= missingReq ? "Candidate does not meet essential requirements" : hasAllReq ? "Candidate does meet essential requirements" : "" %>
</span> </span>
<% <%
} }
if (importance == Importance.ESSENTIAL && (missingReq || hasAllReq )){
%>
<span class="left-temp">&nbsp;</span>
<%
}
%> %>
<span class="appli-percen gray"><oneit:toString value="<%= rating %>" mode="PercentageWholeNumber" /></span> <span class="appli-percen gray"><oneit:toString value="<%= rating %>" mode="PercentageWholeNumber" /></span>
<span class="appli-progress-bar"> <span class="appli-progress-bar">
......
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