Commit 62a7ea44 by Nilu

Create a job HT022

parent 92e59846
......@@ -2499,6 +2499,66 @@ a.forgot-pass {
height: 16px;
border: solid 4px #03ac66;
}
.main-dashboard-content {
position: relative;
}
.main-welcome-popup{
border-radius: 2px;
background-color: #ffffff;
box-shadow: 0 0 30px 5px rgba(0, 0, 0, 0.2);
border: 1px solid #e8e8eb;
width: 500px;
margin: 0 auto;
text-align: center;
padding: 0;
}
.main-welcome-popup h2{
font-size: 22px;
font-weight: 600;
color: #4a4a4a;
margin: 38px 0 22px;
}
.main-welcome-popup p {
font-size: 16px;
font-weight: 300;
line-height: 1.56;
text-align: center;
color: #4a4a4a;
padding: 0 60px;
}
.create-y-f-job{
width: 100%;
border-top: 1px solid #ededef;
margin-top: 35px;
padding: 27px 0;
}
.create-y-f-job a{
border-radius: 100px;
background-color: #03a0e7;
display: inline-block;
width: 280px;
height: 60px;
font-size: 15px;
font-weight: 600;
text-align: center;
color: #ffffff;
line-height: 60px;
}
.overlayer-dark::before {
background: rgba(0, 0, 0, 0.6) none repeat scroll 0 0;
bottom: 0;
content: "";
height: 100%;
left: 0;
position: fixed;
right: 0;
top: 0;
width: 100%;
z-index: 3;
}
.welcome-pop-top{
margin-top: 10%;
}
/*Dashboard Page End*/
/*All Jobs Page*/
......
......@@ -8,7 +8,7 @@
<oneit:dynIncluded>
<%
String nextPage = WebUtils.getArticleByShortCut(process.getTransaction(), WebUtils.ADMIN_HOME).getLink(request);
String nextPage = WebUtils.getArticleByShortCut(process.getTransaction(), WebUtils.ADMIN_HOME).getLink(request) + "?showModal=true";
Company company = (Company) process.getAttribute("Company");
Debug.assertion(company != null, "Invalid company user in admin portal");
......
......@@ -17,8 +17,20 @@
String shortlistPage = jobsArticle.getLink(request, CollectionUtils.mapEntry("cms.rm", WebUtils.APPLICANTS_SHORTLIST).toMap());
String homePage = WebUtils.getSamePageInRenderMode(request, "Page");
String jobsPage = jobsArticle.getLink(request, CollectionUtils.mapEntry("cms.rm", "Page").toMap());
boolean showModal = request.getParameter("showModal") != null ? Boolean.parseBoolean(request.getParameter("showModal")) : false;
%>
<%
if(showModal)
{
%>
<script>
$(document).ready(function(){
$('#welcomepopup').modal('show');
});
</script>
<%
}
%>
<oneit:form name="editJob" method="post" enctype="multipart/form-data">
<div class="dashboard-content-area">
<div class="dashboard-first-part">
......@@ -102,4 +114,18 @@
</div>
</div>
</oneit:form>
<div class="modal fade" id="welcomepopup" role="dialog">
<div class="modal-dialog welcome-pop-top">
<div class="modal-body main-welcome-popup">
<h2>Welcome to your Dashboard!</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam a porta ex, ac suscipit quam. Donec aliquam hendrerit odio, et vestibulum turpis porttitor u phasellus nec velit in nibh eleifend.</p>
<div class="create-y-f-job">
<a href="<%= jobsArticle.getLink(request, CollectionUtils.mapEntry("cms.rm", WebUtils.CREATE_JOB).toMap()) %>">
Create your first job
</a>
</div>
</div>
</div>
</div>
</oneit:dynIncluded>
\ No newline at end of file
......@@ -76,7 +76,7 @@
<div class="main-box-layout login-box">
<oneit:dynInclude page="/extensions/adminportal/inc/company_user_data.jsp" data="<%= CollectionUtils.EMPTY_MAP%>" CompanyUser="<%= companyUser %>"/>
<oneit:button value="Send" name="send" cssClass="box-btn send-btn"
<oneit:button value="Sign up" name="send" cssClass="box-btn send-btn"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage", "sign_in.jsp?sent=true")
.mapEntry(NotificationUtils.NOTIFICATION_MSG_PARAM, "emailSent")
.mapEntry("Company", company)
......
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