Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PERFORMA_REPLICA
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Muhammad Usman
PERFORMA_REPLICA
Commits
bf25423b
Commit
bf25423b
authored
Nov 08, 2018
by
Saliya Randunu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add requirment icons to pdf and the view applicant list page
parent
bd7c574b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
2 deletions
+40
-2
common.css
cmsWebApp/webroot/css/common.css
+13
-0
applicants_list_report.jsp
...oot/extensions/adminportal/inc/applicants_list_report.jsp
+6
-1
applicants_list_report_header.jsp
...ensions/adminportal/inc/applicants_list_report_header.jsp
+20
-0
view_applicants_list.jsp
...broot/extensions/adminportal/inc/view_applicants_list.jsp
+1
-1
No files found.
cmsWebApp/webroot/css/common.css
View file @
bf25423b
...
...
@@ -4110,6 +4110,19 @@ no-applicant.inactive a:hover,no-applicant.inactive a:hover span{
background-size
:
25%
;
}
.appli-view-bar
.requirements-correct-icon
{
top
:
-7px
;
left
:
-5px
;
box-sizing
:
border-box
;
height
:
27px
;
width
:
27px
;
border
:
3px
solid
#FFFFFF
;
position
:
absolute
;
border-radius
:
50%
;
background
:
url('../images/correct.png')
#67B413
no-repeat
center
center
;
background-size
:
55%
;
}
.appli-percent-no
{
font-size
:
36px
;
font-weight
:
300
;
...
...
cmsWebApp/webroot/extensions/adminportal/inc/applicants_list_report.jsp
View file @
bf25423b
...
...
@@ -106,6 +106,8 @@
long criteriaVal = jobApplication.getRequirementFitScore();
String criteria = FormatUtils.stringify(criteriaVal, "PercentageWholeNumber", "0");
boolean missingReq = jobApplication.hasFailedEssentialRequirements();
String iconBg = "background-image : url('file://" + PDFUtils.FILE_BASE_PATH + "/images/correct.png'); background-color : #67B413; background-size:50%; ";
if (missingReq) iconBg = "background-image : url('file://" + PDFUtils.FILE_BASE_PATH + "/images/icon-requirements.png'); background-color : #F9623D ; background-size:18%;" ;
%>
<div class="appli-jcs appli-l eq-second-height">
<span class="appli-view-bar">
...
...
@@ -115,12 +117,15 @@
<span class="show-precentage"><%= criteria %></span>
</div>
</div>
<span class="missing-requirements-icon" style="<%= missingReq ? "display:inline-block" : "display:none" %>"></span>
<span class="requirements-icon" style="<%= iconBg %>"></span>
</span>
<span class="<%= missingReq ? "red-requirements" : "" %>">
requirements
</span>
</div>
<%
}
%>
...
...
cmsWebApp/webroot/extensions/adminportal/inc/applicants_list_report_header.jsp
View file @
bf25423b
...
...
@@ -87,7 +87,27 @@
transition: width .6s ease;
position: relative;
}
.appli-view-bar .progress-bar.green {
background: #67B413;
}
.show-precentage {position: absolute;color:#fff;right: 1px; top: -3px; font-size: 9px;font-weight: 500;}
.requirements-icon {
top:-5px;
left : -5px;
box-sizing: border-box;
height: 18px;
width: 18px;
border: 3px solid #FFFFFF;
position: absolute;
border-radius: 50%;
background-repeat: no-repeat;
background-position: 32% 25%;
padding: 0;
}
.red-requirements {color: #F9623D;}
.green-requirements {color: #67B413;}
@page
...
...
cmsWebApp/webroot/extensions/adminportal/inc/view_applicants_list.jsp
View file @
bf25423b
...
...
@@ -108,7 +108,7 @@
style="<%= "width: " + criteria %>">
</div>
</div>
<span
class="missing-requirements-icon" style="<%= missingReq ? "display:inline-block" : "display:none
" %>"></span>
<span
class="<%= missingReq ? "missing-requirements-icon" : "requirements-correct-icon
" %>"></span>
</span>
<span class="<%= missingReq ? "red-requirements" : "" %>">
requirements
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment