<?xml version="1.0" encoding="UTF-8" ?>
<ui:composition template="/WEB-INF/templates/guest/guest_base.tpl"
xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:widgets="http://mxchange.org/jsf/core/widgets"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:f="http://xmlns.jcp.org/jsf/core">
<ui:define name="content">
<ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name') and featureController.isFeatureEnabled('user_password_recovery')}">
- <div class="para" id="user_lost_password_content">
+ <div id="user_lost_password_content">
<h:form id="form_lost_password">
<h:panelGroup styleClass="table" layout="block">
- <div class="table_header">
+ <div class="table-header">
<h:outputText value="#{msg.GUEST_LOST_PASSWORD_TITLE}" />
</div>
<h:outputText value="#{msg.GUEST_LOST_PASSWORD_LEGEND}" />
</legend>
- <h:panelGroup styleClass="table_row" layout="block">
- <div class="table_left">
+ <h:panelGroup styleClass="table-row" layout="block">
+ <div class="table-left">
<h:outputLabel for="id" value="#{msg.ENTER_USER_NAME}" />
</div>
- <div class="table_right">
+ <div class="table-right">
<h:inputText styleClass="input" id="id" size="10" maxlength="20" value="#{passwordRecoveryController.userId}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
- <div class="table_header">
+ <div class="table-header">
<h:outputText value="#{msg.GUEST_LOST_PASSWORD_NUMBER_OR_EMAIL}" />
</div>
- <h:panelGroup styleClass="table_row" layout="block">
- <div class="table_left">
+ <h:panelGroup styleClass="table-row" layout="block">
+ <div class="table-left">
<h:outputLabel for="email" value="#{msg.ENTER_EMAIL_ADDRESS}" />
</div>
- <div class="table_right">
+ <div class="table-right">
<h:inputText styleClass="input" id="email" size="20" maxlength="255" value="#{passwordRecoveryController.emailAddress}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
-
</fieldset>
- <div class="table_footer">
- <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
+ <div class="table-footer">
+ <h:commandButton styleClass="reset divider-right" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
<h:commandButton styleClass="submit" type="submit" value="#{msg.BUTTON_CONTINUE_STEP_2}" action="#{passwordRecoveryController.doLostPasswordStep2()}" />
</div>
</h:panelGroup>
</div>
</ui:fragment>
- <ui:fragment rendered="#{not featureController.isFeatureEnabled('user_login_require_user_name') or not featureController.isFeatureEnabled('user_password_recovery')}">
- <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
- <ui:param name="message" value="#{msg.ERROR_GUEST_USER_RECOVER_PASSWORD_DEACTIVATED}" />
- <ui:param name="styleClass" value="errors" />
- </ui:include>
- </ui:fragment>
+ <widgets:outputMessageBox message="#{msg.ERROR_GUEST_USER_RECOVER_PASSWORD_DEACTIVATED}" messageStyleClass="alert-danger" rendered="#{not featureController.isFeatureEnabled('user_login_require_user_name') or not featureController.isFeatureEnabled('user_password_recovery')}" />
</ui:define>
</ui:composition>