Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%@ page contentType="text/html;charset=UTF-8" language="java" %>
- <%@ taglib uri="http://jakarta.apache.org/taglibs/unstandard-1.0" prefix="un" %>
- <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
- <%@ taglib prefix="util" uri="/WEB-INF/tlds/functions.tld" %>
- <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
- <un:useConstants className="xxrsv.endeca.domain.Constants" var="Constants"/>
- <un:useConstants className="xxrsv.endeca.domain.Keys" var="Keys"/>
- <!DOCTYPE html>
- <html lang="ru">
- <head>
- <title><spring:message code="${Keys.PRMT_CHANGE_PASSWORD_G}"/></title>
- <jsp:include page="includes/assets.jsp"/>
- <link href="${staticPrefix}${Constants.STATIC_OA_MEDIA_ENDECA_PATH}/style/rs/template.forms.css?ver=2" rel="stylesheet">
- </head>
- <body>
- <jsp:include page="includes/vars.jsp"/>
- <div class="main-wrapper">
- <jsp:include page="includes/header.jsp"/>
- <div class="content content_top-margin">
- <div class="container-fluid">
- <div class="row">
- <div class="col-xs-12" style="width: 100%;">
- <div class="wrapper">
- <div id="toTop" class="button-up">
- <a href="#" class="js-button-up"></a>
- </div>
- <div class="page-title-box">
- <div class="page-title-box__left">
- <h1 class="page-title page-title_centered">
- <spring:message code="${Keys.PRMT_RESET_PWD}"/></h1>
- </div>
- </div>
- <div class="form-box form-box_centered form-box_reset-password">
- <c:if test="${!empty SPRING_SECURITY_LAST_EXCEPTION.message}">
- <div class="white-back center-box">
- <div class="form-box__info">${SPRING_SECURITY_LAST_EXCEPTION.message}</div>
- </div>
- <c:remove var="SPRING_SECURITY_LAST_EXCEPTION" scope="session"/>
- </c:if>
- <div class="white-back center-box">
- <c:set var="msPwdUpdateUrl"
- value="${pageContext.request.contextPath}/password_update"/>
- <form:form method="post" class="form-box__form"
- action="${util:sanitizeUrl(msPwdUpdateUrl)}?userType=ORGANIZATION"
- name="mainForm" modelAttribute="userPassword">
- <input type="HIDDEN" name="event" value="">
- <input type="hidden" name="isFirstEntry" value="true">
- <input type="hidden" name="targetUrlParameter" value="${userSession.refDecoded}">
- <form:input type="hidden" path="hardToGuessValidaion"
- value="${userPassword.hardToGuessValidaion}"/>
- <form:input type="hidden" path="passwordLengthMin"
- value="${userPassword.passwordLengthMin}"/>
- <form:input type="hidden" path="customValidation"
- value="${userPassword.customValidation}"/>
- <div class="form-box__group">
- <div class="form-box__label-box">
- <form:label for="username" class="form-box__label" path="username">
- <spring:message code="${Keys.PRMT_USERNAME_COL}"/></form:label>
- </div>
- <div class="input-row form-box__input-box">
- <form:input id="username" type="text" path="username" size="20"
- style="margin: 0;" readonly="readonly"/>
- </div>
- </div>
- <div class="form-box__group">
- <div class="form-box__label-box">
- <form:label for="oldPassword" class="form-box__label" path="oldPassword">
- <spring:message code="${Keys.PRMT_PWD_COL}"/></form:label>
- </div>
- <div class="input-row form-box__input-box">
- <form:input id="oldPassword" type="password" path="oldPassword" size="20"
- style="margin: 0;"/>
- </div>
- </div>
- <div class="form-box__group">
- <div class="form-box__label-box">
- <form:label for="password" class="form-box__label" path="password">
- <spring:message code="${Keys.PRMT_NEW_PWD_COL}"/></form:label>
- </div>
- <div class="input-row form-box__input-box">
- <form:input id="password" type="password" path="password" size="20"
- style="margin: 0;"/>
- </div>
- </div>
- <div class="form-box__group">
- <div class="form-box__label-box">
- <form:label for="confirmPassword" class="form-box__label"
- path="confirmPassword">
- <spring:message code="${Keys.PRMT_CONFIRM_PWD_COL}"/></form:label>
- </div>
- <div class="input-row form-box__input-box">
- <form:input id="confirmPassword" type="password" path="confirmPassword"
- size="20" style="margin: 0;"/>
- </div>
- <c:if test="${!empty errorMessage}">
- <span class="help-block form-error">${errorMessage}</span>
- <c:remove var="errorMessage" scope="session"/>
- </c:if>
- <span class="help-block form-error"><form:errors path="oldPassword"/></span>
- <span class="help-block form-error"><form:errors path="password"/></span>
- <span class="help-block form-error"><form:errors path="confirmPassword"/></span>
- <SPAN class="footnote">
- <spring:message code="${Keys.PRMT_MIN_PASSWORD}"
- arguments="${userPassword.passwordLengthMin}"/>
- </SPAN>
- </div>
- <div class="form-box__group">
- <button type="submit" alt='<spring:message code="${Keys.PRMT_APPLY_G}"/>'
- class="btn red-btn form-box__btn btn_small-height"><spring:message
- code="${Keys.PRMT_APPLY_G}"/></button>
- </div>
- </form:form>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <jsp:include page="includes/footer.jsp"/>
- <script type="text/javascript" src="${staticPrefix}${Constants.STATIC_OA_MEDIA_VANILLA_CSS_COMPONENTS}/password_verification/password_verification.js?ver=2" charset="UTF-8"></script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement