Commit b7533187 by Nilu

Reset Password HT018 - 2 added to admin portal

parent ef26e648
...@@ -86,6 +86,10 @@ ...@@ -86,6 +86,10 @@
<FORM name="*.resetPassword" factory="Participant" class="performa.form.ResetPasswordFP"/> <FORM name="*.resetPassword" factory="Participant" class="performa.form.ResetPasswordFP"/>
</NODE> </NODE>
<NODE name="reset_password_sent_jsp" factory="Participant">
<INHERITS factory="Named" nodename="CoreORMAdminNoPriv"/>
</NODE>
<NODE name="sign_up_jsp" factory="Participant"> <NODE name="sign_up_jsp" factory="Participant">
<INHERITS factory="Named" nodename="CoreORMAdminNoPriv"/> <INHERITS factory="Named" nodename="CoreORMAdminNoPriv"/>
<FORM name="*.send" factory="Participant" class="performa.form.SendVerificationMailFP"> <FORM name="*.send" factory="Participant" class="performa.form.SendVerificationMailFP">
......
...@@ -60,14 +60,13 @@ ...@@ -60,14 +60,13 @@
<label>Email Address</label> <label>Email Address</label>
<oneit:ormInput obj="<%= companyUser %>" type="text" attributeName="Email" cssClass="form-control" autocomplete="off"/> <oneit:ormInput obj="<%= companyUser %>" type="text" attributeName="Email" cssClass="form-control" autocomplete="off"/>
<oneit:recalcClass id="right-mark-div" htmlTag="div" classScript="companyUser.emailExists() ? 'show': 'hide'" companyUser="<%= companyUser %>" class="right-mark"> <oneit:recalcClass id="right-mark-div" htmlTag="div" classScript="companyUser.emailExists() ? 'show': 'hide'" companyUser="<%= companyUser %>" class="right-mark">
<span id="right-mark"><img src="../../images/right-mark.svg"/></span> <span id="right-mark"><img src="<%= request.getContextPath() %>/images/right-mark.svg"/></span>
</oneit:recalcClass> </oneit:recalcClass>
</div> </div>
<div class="form-group"> <div class="form-group">
<oneit:recalcClass htmlTag="div" classScript="companyUser.emailExists() ? 'show': 'btn-disabled'" companyUser="<%= companyUser %>"> <oneit:recalcClass htmlTag="div" classScript="companyUser.emailExists() ? 'show': 'btn-disabled'" companyUser="<%= companyUser %>">
<oneit:button value="Send reset link" name="forgotPassword" cssClass="box-btn send-btn" <oneit:button value="Send reset link" name="forgotPassword" cssClass="box-btn send-btn"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage", "sign_in.jsp?sent=true") requestAttribs="<%= CollectionUtils.mapEntry("nextPage", "reset_password_sent.jsp")
.mapEntry(NotificationUtils.NOTIFICATION_MSG_PARAM, "resetPasswordEmailSent")
.mapEntry ("CompanyUser", companyUser) .mapEntry ("CompanyUser", companyUser)
.toMap() %>"/> .toMap() %>"/>
</oneit:recalcClass> </oneit:recalcClass>
......
...@@ -2,6 +2,5 @@ ...@@ -2,6 +2,5 @@
#exceedMaxShortlisted = Selected number of applications exceed maximum shortlist application count #exceedMaxShortlisted = Selected number of applications exceed maximum shortlist application count
#saveTemplateFirst = Please save template first, before proceeding to the next step #saveTemplateFirst = Please save template first, before proceeding to the next step
#passwordNotMatch = The password does not match. Please try again. #passwordNotMatch = The password does not match. Please try again.
#resetPasswordEmailSent = A password rest email has been sent to you. Please check your email.
#invitationSent = Your invitation has been successfully sent. #invitationSent = Your invitation has been successfully sent.
#invalidEmail = Invalid email address. #invalidEmail = Invalid email address.
<%@ page extends="oneit.servlets.jsp.FormJSP" %>
<%@ include file="/setuprequest.jsp" %>
<%@ include file="/inc/stdimports50.jsp" %><%-- This is in cougar --%>
<%@ include file="/extensions/performa/inc/stdimports.jsp" %>
<%! protected String getName (ServletConfig config) { return "reset_password_sent_jsp"; } %>
<%@ include file="inc/htmlheader_nopriv.jsp" %>
<script type="text/javascript">
$(document.body).addClass('bg-color');
</script>
<div class="main-box-layout login-box">
<div>
<p>
Sent! Check your email now.<span><img class="smile-face smaller-face" src="<%= request.getContextPath() %>/images/smile-face.png" /></span>
</p>
</div>
</div>
<%@ include file="inc/htmlfooter_nopriv.jsp" %>
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