Commit 2d0e5d5e by Nilu

HT007 styling fix and percentage fix of role fit value

parent 5c7b3cf8
......@@ -117,7 +117,7 @@ public class Candidate extends BaseCandidate
public double roleFitCompletedPercentage(Job job)
{
return (getProfileAssessmentAnswersCount() * 100) / job.getAllLeftQuestions().size() ;
return (getCompletedAnswers(job).size() * 100) / job.getAllQuestions().size() ;
}
public Collection<Answer> getCompletedAnswers(Job job)
......
......@@ -3221,8 +3221,8 @@ span.appli-progress-bar {
box-shadow: none;
}
.progress-bar{ position: relative; height: 13px;}
.progress-bar .show-precentage {position: absolute;color:#fff;right: 1px; top: -2px; font-size: 9px;font-weight: 500;}
.completion-progress-bar{ position: relative; height: 13px;}
.completion-progress-bar .show-precentage {position: absolute;color:#fff;right: 1px; top: 2px; font-size: 9px;font-weight: 500;}
.appli-progress-bar .progress-bar{
background: #667281;
}
......@@ -4209,6 +4209,7 @@ span.right-img {
display: inline-block;
position: relative;
}
.checkbox-list.select-all label {color:#8E97A0;}
.checkbox-list label::before {
content: "";
display: inline-block;
......
......@@ -138,7 +138,7 @@
}
%>
</div>
<div class="checkbox-list">
<div class="checkbox-list select-all">
<input type='checkbox' id='select_all' value='select_all' class='norecalc'>
<label for="select_all" class="select-all-jobs">&nbsp;&nbsp;Select all applicants</label>
</div>
......
......@@ -83,7 +83,7 @@
<div class="<%= widthClass %> appli-l eq-second-height">
<span class="appli-view-bar">
<div class="progress">
<div class="progress-bar <%= criteriaVal == 100 ? "green-bar": (criteriaVal >= 50 && criteriaVal < 100 ? "orange-bar" : "red-bar") %>" role="progressbar" aria-valuenow="<%= criteria %>" aria-valuemin="0" aria-valuemax="100"
<div class="completion-progress-bar <%= criteriaVal == 100 ? "green-bar": (criteriaVal >= 50 && criteriaVal < 100 ? "orange-bar" : "red-bar") %>" role="progressbar" aria-valuenow="<%= criteria %>" aria-valuemin="0" aria-valuemax="100"
style="<%= "width: " + criteria %>">
<span class="show-precentage"><%= criteria %></span>
</div>
......@@ -101,7 +101,7 @@
<div class="<%= widthClass %> appli-l eq-second-height">
<span class="appli-view-bar">
<div class="progress">
<div class="progress-bar <%= cultureVal == 100 ? "green-bar": (cultureVal >= 50 && cultureVal < 100 ? "orange-bar" : "red-bar") %>" role="progressbar" aria-valuenow="<%= culture %>" aria-valuemin="0" aria-valuemax="100"
<div class="completion-progress-bar <%= cultureVal == 100 ? "green-bar": (cultureVal >= 50 && cultureVal < 100 ? "orange-bar" : "red-bar") %>" role="progressbar" aria-valuenow="<%= culture %>" aria-valuemin="0" aria-valuemax="100"
style="<%= "width: " + culture %>">
<span class="show-precentage"><%= culture %></span>
</div>
......@@ -113,7 +113,7 @@
<div class="<%= widthClass %> appli-l eq-second-height">
<span class="appli-view-bar">
<div class="progress">
<div class="progress-bar <%= roleFitVal == 100 ? "green-bar": (roleFitVal >= 50 && roleFitVal < 100 ? "orange-bar" : "red-bar") %>" role="progressbar" aria-valuenow="<%= roleFit %>" aria-valuemin="0" aria-valuemax="100"
<div class="completion-progress-bar <%= roleFitVal == 100 ? "green-bar": (roleFitVal >= 50 && roleFitVal < 100 ? "orange-bar" : "red-bar") %>" role="progressbar" aria-valuenow="<%= roleFit %>" aria-valuemin="0" aria-valuemax="100"
style="<%= "width: " + roleFit %>">
<span class="show-precentage"><%= roleFit %></span>
</div>
......
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