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
5b062859
Commit
5b062859
authored
Jul 03, 2017
by
chenith
Committed by
Harsh Shah
Sep 06, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Job match assesment page updated.
parent
e0f02e84
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
13 deletions
+27
-13
job_match_assessment.jsp
...broot/extensions/applicantportal/job_match_assessment.jsp
+17
-12
workplace_culture.jsp
.../webroot/extensions/applicantportal/workplace_culture.jsp
+10
-1
No files found.
cmsWebApp/webroot/extensions/applicantportal/job_match_assessment.jsp
View file @
5b062859
...
@@ -60,16 +60,20 @@
...
@@ -60,16 +60,20 @@
<div class="selection-br-line"></div>
<div class="selection-br-line"></div>
<div class="main-sc-section main-rate-section">
<div class="main-sc-section main-rate-section">
<%
<%
FormTag applicationForm = FormTag.getActiveFormTag(request);
FormBuilder formBuilder = applicationForm.getFormBuilder();
int totNoOfQuestions = allQuestions.size();
int totNoOfQuestions = allQuestions.size();
if(questionNumber<totNoOfQuestions)
if(questionNumber<totNoOfQuestions)
{
{
Answer answer = jobApplication.getPAAnswerOrCreate(allQuestions.get(questionNumber), questionNumber);
Answer answer = jobApplication.getPAAnswerOrCreate(allQuestions.get(questionNumber), questionNumber);
Integer selectedAnswerNo = answer.getAnswerNo();
String optionKey = WebUtils.getInputKey(request, answer, Answer.FIELD_AnswerNo);
String formValue = formBuilder.fieldValue (optionKey, answer.getAnswerNo() == null ? "" : String.valueOf(answer.getAnswerNo()));
String numberText = (questionNumber + 1) + "/" + totNoOfQuestions;
%>
%>
<div class="rateing-title">
<div class="rateing-title">
Rate the importance of each item below
Rate the importance of each item below
<span><oneit:toString value="<%=
(questionNumber + 1) %>" mode="EscapeHTML"/>/<oneit:toString value="<%= totNoOfQuestions
%>" mode="EscapeHTML"/></span>
<span><oneit:toString value="<%=
numberText
%>" mode="EscapeHTML"/></span>
</div>
</div>
<div class="rating-box-title">
<div class="rating-box-title">
<oneit:toString value="<%= answer.getQuestion().getDescription() %>" mode="EscapeHTML"/>
<oneit:toString value="<%= answer.getQuestion().getDescription() %>" mode="EscapeHTML"/>
...
@@ -77,23 +81,24 @@
...
@@ -77,23 +81,24 @@
<div class="ratting-box">
<div class="ratting-box">
<span>Very little importance</span>
<span>Very little importance</span>
<ul class="pagination ratting-number">
<ul class="pagination ratting-number">
<%
<%
for(int index=1; index<=7; index++)
for(int index=1; index<=7; index++)
{
{
String activeClass = CollectionUtils.equals(index, selectedAnswerNo) ? "active" : "";
String activeStr = (CollectionUtils.equals(String.valueOf(index), formValue) ? "active" : "");
String selectedStr = (CollectionUtils.equals(String.valueOf(index), formValue) ? "checked" : "");
%>
%>
<li class="<%= activeClass %>"><a href="#"><oneit:toString value="<%= index %>" mode="EscapeHTML"/></a></li>
<li class="<%= activeStr %>">
<a href="javascript:void(0)">
<lable>
<input type="radio" name="<%= optionKey %>" value="<%= index %>" <%= selectedStr %> id="<%= index %>">
<%= index %>
</lable>
</a>
</li>
<%
<%
}
}
%>
%>
<li><a href="#">1</a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">4</a></li>
<li class="active"><a href="#">5</a></li>
<li><a href="#">6</a></li>
<li><a href="#">7</a></li>
</ul>
</ul>
<span>High importance</span>
<span>High importance</span>
</div>
</div>
...
...
cmsWebApp/webroot/extensions/applicantportal/workplace_culture.jsp
View file @
5b062859
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<div class="main-application-outline">
<div class="main-application-outline">
<div class="selection-aust-logo">
<div class="selection-aust-logo">
<img src="images/australia-post.png" />
<img src="images/australia-post.png" />
<span>
Australia Post Chief Executive Officer
</span>
<span>
<oneit:toString value="<%= job.getJobTitle() %>" mode="EscapeHTML"/>
</span>
</div>
</div>
<div class="show-mobile-title">
<div class="show-mobile-title">
<div class="mobile-title-page">Section 2 - Workplace Culture</div>
<div class="mobile-title-page">Section 2 - Workplace Culture</div>
...
@@ -50,6 +50,7 @@
...
@@ -50,6 +50,7 @@
FormTag applicationForm = FormTag.getActiveFormTag(request);
FormTag applicationForm = FormTag.getActiveFormTag(request);
FormBuilder formBuilder = applicationForm.getFormBuilder();
FormBuilder formBuilder = applicationForm.getFormBuilder();
int i = 1;
int i = 1;
int size = jobApplication.getCultureCriteriaAnswersCount();
for(CultureCriteriaAnswer answer: jobApplication.getCultureCriteriaAnswersSet())
for(CultureCriteriaAnswer answer: jobApplication.getCultureCriteriaAnswersSet())
{
{
...
@@ -76,10 +77,18 @@
...
@@ -76,10 +77,18 @@
}
}
%>
%>
</div>
</div>
<%
if(i<=size)
{
%>
<div class="section-br-inside"></div>
<div class="section-br-inside"></div>
<%
<%
}
}
%>
%>
<%
}
%>
</div>
</div>
<div class="selection-br-line"></div>
<div class="selection-br-line"></div>
<div class="main-sc-section btn-remove-padd">
<div class="main-sc-section btn-remove-padd">
...
...
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