Commit ddf02938 by Nilu

modifications to hover issue, shortlisted, unsuitable, applicants tabs

parent a6bf0c77
......@@ -3360,7 +3360,7 @@ input.add-note-btn:hover{
text-align: center;
font-family: "Usual-Medium";
}
.int-timeline li.has-applicant a:hover {
.int-timeline li.has-applicant.inactive a:hover {
color: #ffffff;
font-size: 11px;
background-color: #4e5964;
......@@ -3445,7 +3445,7 @@ input.add-note-btn:hover{
width: 96px;
font-family: "Usual-Medium";
}
.unsutable.has-applicant a:hover,.unsutable.has-applicant a:hover span{
.unsutable.has-applicant.inactive a:hover,.unsutable.has-applicant.inactive a:hover span{
color: #ffffff;
}
.unsutable.active a:hover{
......
......@@ -12,6 +12,7 @@
String thirdTab = WebUtils.getSamePageInRenderMode(request, WebUtils.UNSUITABLE_APPS);
int noOfShortlisted = job.getNoOfCandidatesShortlisted();
int noOfUnsuitable = job.getNoOfCandidatesUnsuitable();
int totalCandidates = job.getNoOfCandidatesApplied();
%>
<oneit:dynIncluded>
......@@ -23,18 +24,18 @@
<div class="int-timeline">
<ul>
<li class="<%= tabNumber == "1" ? "active" : "" %>">
<li class="<%= totalCandidates > 0 ? "has-applicant" : "" %> <%= tabNumber == "1" ? "active" : "inactive" %>">
<oneit:button value=" " name="gotoPage" skin="link"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage", firstTab)
.mapEntry("procParams", CollectionUtils.mapEntry("Job", job).toMap())
.toMap() %>">
<span>
<oneit:toString value="<%= job.getNoOfCandidatesApplied() %>" mode="Integer" />
<oneit:toString value="<%= totalCandidates %>" mode="Integer" />
</span>
Applicants
</oneit:button>
</li>
<li class="<%= noOfShortlisted > 0 ? "has-applicant" : "" %> <%= tabNumber == "2" ? "active" : "" %>">
<li class="<%= noOfShortlisted > 0 ? "has-applicant" : "" %> <%= tabNumber == "2" ? "active" : "inactive" %>">
<oneit:button value=" " name="gotoPage" skin="link" disabled="<%= noOfShortlisted > 0 ? "false" : "true" %>"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage", secondTab)
.mapEntry("procParams", CollectionUtils.mapEntry("Job", job).toMap())
......@@ -47,7 +48,7 @@
</li>
</ul>
</div>
<div class="unsutable <%= noOfUnsuitable > 0 ? "has-applicant" : "" %> <%= tabNumber == "3" ? "active" : "" %>">
<div class="unsutable <%= noOfUnsuitable > 0 ? "has-applicant" : "" %> <%= tabNumber == "3" ? "active" : "inactive" %>">
<oneit:button id="unsuitableBtn" value=" " name="gotoPage" skin="link" disabled="<%= noOfUnsuitable > 0 ? "false" : "true" %>"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage", thirdTab)
.mapEntry("procParams", CollectionUtils.mapEntry("Job", job).toMap())
......
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