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
a353f770
Commit
a353f770
authored
Jan 10, 2019
by
Nilu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Candidate: CV and Cover Letter
parent
c6903bf7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
150 additions
and
2 deletions
+150
-2
common.css
cmsWebApp/webroot/css/common.css
+82
-2
view_application_tab_applicant.jsp
...nsions/adminportal/inc/view_application_tab_applicant.jsp
+68
-0
icon-download-large.png
cmsWebApp/webroot/images/icon-download-large.png
+0
-0
No files found.
cmsWebApp/webroot/css/common.css
View file @
a353f770
...
@@ -7639,4 +7639,84 @@ input{
...
@@ -7639,4 +7639,84 @@ input{
.billing-notice
{
.billing-notice
{
margin-bottom
:
40px
;
margin-bottom
:
40px
;
padding-left
:
10px
;
padding-left
:
10px
;
}
}
\ No newline at end of file
/*
Start of CV Cover Letter Popup
*/
.cv-cover-letter
{
border
:
1px
solid
#E5E8EB
;
border-radius
:
2px
;
background-color
:
#FFFFFF
;
padding
:
14px
18px
;
color
:
#4E5258
;
font-size
:
12px
;
}
.cv-cover-letter
img
{
height
:
18px
;
padding-right
:
18px
;
}
.cv-popup
{
border-radius
:
4px
;
background-color
:
#ffffff
;
box-shadow
:
0
0
30px
5px
rgba
(
0
,
0
,
0
,
0.2
);
/*border: 1px solid #e8e8eb;*/
width
:
65%
;
height
:
1000px
;
margin
:
0
auto
;
text-align
:
center
;
padding
:
0
;
margin-top
:
150px
;
}
.cv-popup
.nav-tabs
{
background
:
#4E5258
;
}
.cv-popup
.nav-tabs
>
li
.active
>
a
{
color
:
#4A4A4A
;
opacity
:
1
;
}
.cv-popup
.nav-tabs
>
li
>
a
{
color
:
#FFFFFF
;
opacity
:
0.5
;
font-size
:
20px
;
line-height
:
30px
;
text-align
:
center
;
}
.cv-popup
.nav-tabs
>
li
>
a
:focus
,
.cv-popup
.nav-tabs
>
li
>
a
:hover
{
color
:
#4A4A4A
;
}
.cv-popup
.nav-tabs
>
li
.active
>
a
,
.cv-popup
.nav-tabs
>
li
.active
>
a
:focus
,
.cv-popup
.nav-tabs
>
li
.active
>
a
:hover
{
background
:
#F5F7F8
;
}
.cv-popup
.tab-pane
{
background
:
#F5F7F8
;
}
.cv-popup
button
.close
{
color
:
#F5F7F8
;
padding
:
10px
20px
;
opacity
:
1
;
}
.cv-popup
.no-preview
{
padding-top
:
100px
;
}
.cv-popup
.download-btn
{
border
:
1px
solid
#E5E8EB
;
border-radius
:
2px
;
background-color
:
#4E5258
;
padding
:
14px
18px
;
color
:
#FFFFFF
;
font-size
:
18px
;
margin-top
:
20px
;
}
.cv-popup
.download-btn
img
{
height
:
30px
;
padding-right
:
18px
;
}
.modal-dialog.cv
{
width
:
100%
;
}
/*
End of CV Cover Letter Popup
*/
\ No newline at end of file
cmsWebApp/webroot/extensions/adminportal/inc/view_application_tab_applicant.jsp
View file @
a353f770
...
@@ -88,6 +88,10 @@
...
@@ -88,6 +88,10 @@
$('.save-application').click();
$('.save-application').click();
});
});
});
});
function previewCV(){
$('#pdfPreview').modal('show');
}
</script>
</script>
<div class="main-applicant-content dashboard-content-area v-applicant-area ">
<div class="main-applicant-content dashboard-content-area v-applicant-area ">
<div class="applicant-header">
<div class="applicant-header">
...
@@ -103,6 +107,16 @@
...
@@ -103,6 +107,16 @@
</div>
</div>
</div>
</div>
<div class="main-export">
<div class="main-export">
<%
if(jobApplication.getCV() != null && jobApplication.getCoverLetter() != null)
{
%>
<a href="#" class="btn cv-cover-letter" onclick="previewCV()">
<img src="images/icon-paper-clip.png" />CV & Cover Letter
</a>
<%
}
%>
<span class="export-candidate" style="display: none;">
<span class="export-candidate" style="display: none;">
<select class="form-control">
<select class="form-control">
<option>Export Candidate Report</option>
<option>Export Candidate Report</option>
...
@@ -666,4 +680,57 @@
...
@@ -666,4 +680,57 @@
</div>
</div>
</div>
</div>
<div class="modal fade" id="pdfPreview" role="dialog">
<div class="modal-dialog cv">
<div class="modal-body cv-popup">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<ul class="nav nav-tabs">
<li class="tab-heading active"><a data-toggle="tab" href="#cl">Cover Letter</a></li>
<li class="tab-heading"><a data-toggle="tab" href="#cv">Curriculum Vitae</a></li>
</ul>
<div class="tab-content">
<div id="cl" class="tab-pane fade in active" style="height:1200px; padding-top:40px;">
<%
if(jobApplication.getCoverLetter() != null && jobApplication.getCoverLetter().getContentType().contains("pdf"))
{
%>
<embed height="100%" width="80%" scrolling="yes" src="<%= request.getContextPath() + "/" + BinaryContentHandler.getRelativeURL(request, jobApplication, "CoverLetter", jobApplication.getCoverLetter(), true) %>#zoom=100"/>
<%
}
else
{
%>
<div class="no-preview">No preview available</div>
<a class="btn download-btn" href='<%= request.getContextPath() + "/" + BinaryContentHandler.getRelativeURL(request, jobApplication, "CoverLetter", jobApplication.getCoverLetter(), true) %>'>
<img src="images/icon-download-large.png" />Download
</a>
<%
}
%>
</div>
<div id="cv" class="tab-pane fade in" style="height:1200px; padding-top:40px;">
<%
if(jobApplication.getCV() != null && jobApplication.getCV().getContentType().contains("pdf"))
{
%>
<embed height="100%" width="80%" scrolling="yes" src="<%= request.getContextPath() + "/" + BinaryContentHandler.getRelativeURL(request, jobApplication, "CV", jobApplication.getCV(), true) %>#zoom=100"/>
<%
}
else
{
%>
<div class="no-preview">No preview available</div>
<a class="btn download-btn" href='<%= request.getContextPath() + "/" + BinaryContentHandler.getRelativeURL(request, jobApplication, "CV", jobApplication.getCV(), true) %>'>
<img src="images/icon-download-large.png" />Download
</a>
<%
}
%>
</div>
</div>
</div>
</div>
</div>
</oneit:dynIncluded>
</oneit:dynIncluded>
\ No newline at end of file
cmsWebApp/webroot/images/icon-download-large.png
0 → 100644
View file @
a353f770
675 Bytes
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