Commit ddf02938 by Nilu

modifications to hover issue, shortlisted, unsuitable, applicants tabs

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