<f:selectItems value="#{genderController.selectableGenders}" var="personalTitle" itemValue="#{personalTitle}" itemLabel="#{msg[personalTitle.messageKey]}" />
</h:selectOneMenu>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<f:selectItems value="#{profileModeController.allProfileModes}" var="mode" itemValue="#{mode}" itemLabel="#{msg[mode.messageKey]}" />
</h:selectOneMenu>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<li><h:link outcome="index" value="#{msg.LINK_ADMIN_FOOTER_TO_WEBPAGE}" /></li>
</ul>
</div>
-
- <div class="clear"></div>
</ui:composition>
<div class="table_right_medium">
<h:inputText styleClass="input" id="companyName" size="30" maxlength="200" required="true" requiredMessage="#{msg.ADMIN_BUSINESS_DATA_COMPANY_NAME_REQUIRED}" value="#{adminBusinessDataController.companyName}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<f:attribute name="allowEmptyEmail" value="true" />
</h:inputText>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<div class="table_right_medium">
<h:outputText styleClass="warnings" value="#{msg.ADMIN_BUSINESS_DATA_UPLOAD_LOGO_UNFINISHED}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<div class="table_right_medium">
<h:inputText styleClass="input" id="companyTaxNumber" size="30" maxlength="200" value="#{adminBusinessDataController.companyTaxNumber}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<div class="table_right_medium">
<h:inputText styleClass="input" id="companyWebsiteUrl" size="30" maxlength="200" value="#{adminBusinessDataController.companyWebsiteUrl}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<f:selectItems value="#{userController.allUsers()}" var="companyUserOwner" itemValue="#{companyUserOwner}" itemLabel="#{companyUserOwner.userContact.contactFirstName} #{companyUserOwner.userContact.contactFamilyName} (#{companyUserOwner.userName})" />
</h:selectOneMenu>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<f:selectItems value="#{companyHeadquartersController.allCompanyHeadquarters()}" var="companyHeadQuarters" itemValue="#{companyHeadQuarters}" itemLabel="#{companyHeadQuarters.foo}" />
</h:selectOneMenu>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<f:validator for="landLineNumber" validatorId="PhoneNumberValidator" />
</h:inputText>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="table_row" layout="block">
<f:validator for="faxNumber" validatorId="PhoneNumberValidator" />
</h:inputText>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="table_row" layout="block">
<div class="table_right_medium">
<h:inputTextarea styleClass="input" id="companyComments" rows="7" cols="25" value="#{adminBusinessDataController.companyComments}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
</fieldset>
</h:panelGroup>
<div class="table_right_medium">
<h:inputText styleClass="input" id="firstName" size="10" maxlength="255" value="#{adminContactController.firstName}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<div class="table_right_medium">
<h:inputText styleClass="input" id="title" size="5" maxlength="255" value="#{adminContactController.academicTitle}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<div class="table_right_medium">
<h:inputText styleClass="input" id="familyName" size="10" maxlength="255" value="#{adminContactController.familyName}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<div class="table_right_medium">
<h:inputText styleClass="input" id="street" size="20" maxlength="255" value="#{adminContactController.street}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<f:validateLongRange for="houseNumber" minimum="1" maximum="500" />
</h:inputText>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<div class="table_right_medium">
<h:inputText styleClass="input" id="houseNumberExtension" size="2" maxlength="2" value="#{adminContactController.houseNumberExtension}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<f:validateLongRange for="zipCode" minimum="1" maximum="99999" />
</h:inputText>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<div class="table_right_medium">
<h:inputText styleClass="input" id="city" size="10" maxlength="255" value="#{adminContactController.city}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<f:selectItems value="#{countryController.allCountries()}" var="country" itemValue="#{country}" itemLabel="#{country.countryCode} (#{msg[country.countryI18nKey]})" />
</h:selectOneMenu>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<f:validator for="landLineNumber" validatorId="PhoneNumberValidator" />
</h:inputText>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="table_row" layout="block">
<f:validator for="faxNumber" validatorId="PhoneNumberValidator" />
</h:inputText>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<widgets:outputMobileNumberTableRow targetController="#{adminContactController}" labelMessage="#{msg.ADMIN_PERSONAL_DATA_MOBILE_NUMBER}" />
<f:attribute name="allowEmptyEmail" value="#{allowEmptyRequiredData}" rendered="#{not empty allowEmptyRequiredData}" />
</h:inputText>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<f:convertDateTime pattern="#{msg.BIRTHDAY_PATTERN}" />
</h:inputText>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<div class="table_right_medium">
<h:inputTextarea id="contactComment" styleClass="input" value="#{adminContactController.comment}" rows="7" cols="25" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
</fieldset>
</h:panelGroup>
<f:validator validatorId="AbroadDialValidator" />
</h:inputText>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<h:outputText styleClass="small notice" value="#{msg.ADMIN_ENTER_COUNTRY_CODE_EXAMPLE}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<f:validateRegex for="countryI18nKey" pattern="[A-Z_]{2,}" />
</h:inputText>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<f:selectItem itemValue="false" itemLabel="#{msg.CHOICE_NO}" />
</h:selectOneListbox>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<f:validateLongRange for="countryExternalDialPrefix" minimum="0" maximum="99" />
</h:inputText>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<h:outputText styleClass="small notice" value="#{msg.ADMIN_ENTER_COUNTRY_PHONE_CODE_EXAMPLE}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<f:selectItems value="#{adminPhoneController.allNonLinkedFaxNumbers()}" var="faxNumber" itemValue="#{faxNumber}" itemLabel="#{faxNumber.phoneCountry.countryExternalDialPrefix} (#{faxNumber.phoneAreaCode}) #{faxNumber.phoneNumber}" />
</h:selectOneMenu>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<div class="para">
<ui:param name="targetController" value="#{adminContactPhoneController}" />
</ui:include>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<div class="table_right_medium">
<h:outputText id="faxNumberId" value="#{beanHelper.faxNumber.phoneId}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="table_row" layout="block">
<ui:param name="targetController" value="#{adminPhoneController}" />
</ui:include>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<f:selectItems value="#{adminPhoneController.allNonLinkedLandLineNumbers()}" var="landlineNumber" itemValue="#{landlineNumber}" itemLabel="#{landlineNumber.phoneCountry.countryExternalDialPrefix} (#{landlineNumber.phoneAreaCode}) #{landlineNumber.phoneNumber}" />
</h:selectOneMenu>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<div class="para">
<ui:param name="targetController" value="#{adminPhoneController}" />
</ui:include>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<div class="table_right_medium">
<h:outputText id="landLineNumberId" value="#{beanHelper.landLineNumber.phoneId}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="table_row" layout="block">
<ui:param name="targetController" value="#{adminPhoneController}" />
</ui:include>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<div class="table_right_medium">
<h:outputText id="mobileNumberId" value="#{beanHelper.mobileNumber.phoneId}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="table_row" layout="block">
<f:selectItems value="#{mobileProviderController.allMobileProviders()}" var="mobileProvider" itemValue="#{mobileProvider}" itemLabel="#{mobileProvider.providerCountry.countryExternalDialPrefix}#{mobileProvider.providerDialPrefix} (#{mobileProvider.providerName})" />
</h:selectOneMenu>
</div>
+ </h:panelGroup>
- <div class="clear"></div>
-
- <h:panelGroup styleClass="error_container" layout="block">
- <h:message for="mobileProvider" errorClass="errors" fatalClass="errors" warnClass="errors" />
- </h:panelGroup>
+ <h:panelGroup styleClass="error_container" layout="block">
+ <h:message for="mobileProvider" errorClass="errors" fatalClass="errors" warnClass="errors" />
</h:panelGroup>
<h:panelGroup styleClass="table_row" layout="block">
<f:validator for="mobileNumber" validatorId="PhoneNumberValidator" />
</h:inputText>
</div>
+ </h:panelGroup>
- <div class="clear"></div>
-
- <h:panelGroup styleClass="error_container" layout="block">
- <h:message for="mobileNumber" errorClass="errors" fatalClass="errors" warnClass="errors" />
- </h:panelGroup>
+ <h:panelGroup styleClass="error_container" layout="block">
+ <h:message for="mobileNumber" errorClass="errors" fatalClass="errors" warnClass="errors" />
</h:panelGroup>
</fieldset>
</h:panelGroup>
<f:validateLongRange for="providerDialPrefix" minimum="0" maximum="9999" />
</h:inputText>
</div>
+ </h:panelGroup>
- <div class="clear"></div>
-
- <h:panelGroup styleClass="error_container" layout="block">
- <h:message for="providerDialPrefix" errorClass="errors" fatalClass="errors" warnClass="errors" />
- </h:panelGroup>
+ <h:panelGroup styleClass="error_container" layout="block">
+ <h:message for="providerDialPrefix" errorClass="errors" fatalClass="errors" warnClass="errors" />
</h:panelGroup>
<h:panelGroup styleClass="table_row" layout="block">
<h:outputText styleClass="small notice" value="#{msg.ADMIN_ENTER_MOBILE_PROVIDER_PATTERN_EXAMPLE}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="table_row" layout="block">
<div class="table_right_medium">
<h:inputText styleClass="input" id="providerName" size="20" maxlength="100" value="#{adminMobileProviderController.providerName}" required="true" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="table_row" layout="block">
<f:selectItems value="#{countryController.allCountries()}" var="country" itemValue="#{country}" itemLabel="#{country.countryCode} (#{msg[country.countryI18nKey]})" />
</h:selectOneMenu>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
</fieldset>
</h:panelGroup>
<div class="table_right_medium">
<h:inputText styleClass="input" id="userName" size="20" maxlength="255" value="#{adminUserController.userName}" required="true" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
- <div class="para"></div>
-
<h:panelGroup styleClass="table_row" layout="block">
<div class="table_left_medium">
<h:outputLabel for="userPassword" value="#{msg.ADMIN_USER_DATA_ENTER_PASSWORD}" />
<div class="table_right_medium">
<h:inputSecret styleClass="input" id="userPassword" size="10" maxlength="255" value="#{adminUserController.userPassword}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="table_row" layout="block">
<div class="table_right_medium">
<h:inputSecret styleClass="input" id="userPasswordRepeat" size="10" maxlength="255" value="#{adminUserController.userPasswordRepeat}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="table_row" layout="block" rendered="#{featureController.isFeatureEnabled('user_must_change_password')}">
<div class="table_right_medium">
<h:selectBooleanCheckbox styleClass="checkbox" id="userMustChangePassword" value="#{adminUserController.userMustChangePassword}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
- <div class="para notice">
+ <h:panelGroup styleClass="para notice" layout="block">
<ul>
<li><h:outputText value="#{msg.ADMIN_USER_DATA_USER_NAME_NOTICE}" /></li>
<h:outputText value="#{msg.ADMIN_USER_DATA_PASSWORD_ADD_NOTICE}" rendered="#{mode == 'add'}" />
</li>
</ul>
- </div>
+ </h:panelGroup>
</fieldset>
</h:panelGroup>
</ui:composition>
<f:loadBundle var="msg" basename="org.mxchange.localization.bundle" />
<h:outputStylesheet name="/css/default.css" />
- <h:outputStylesheet name="/css/cssLayout.css" />
+ <h:outputStylesheet name="/css/layout.css" />
<title>
<h:outputText value="Pizza-Service" />
</ui:insert>
</div>
</h:panelGroup>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup id="page_footer" layout="block">
<f:validator validatorId="NameValidator" />
</h:inputText>
</div>
+ </h:panelGroup>
- <div class="clear"></div>
-
- <h:panelGroup styleClass="error_container" layout="block">
- <h:message for="firstName" errorClass="errors" fatalClass="errors" warnClass="errors" />
- </h:panelGroup>
+ <h:panelGroup styleClass="error_container" layout="block">
+ <h:message for="firstName" errorClass="errors" fatalClass="errors" warnClass="errors" />
</h:panelGroup>
<h:panelGroup styleClass="table_row" layout="block">
<f:validator for="familyName" validatorId="NameValidator" />
</h:inputText>
</div>
+ </h:panelGroup>
- <div class="clear"></div>
-
- <h:panelGroup styleClass="error_container" layout="block">
- <h:message for="familyName" errorClass="errors" fatalClass="errors" warnClass="errors" />
- </h:panelGroup>
+ <h:panelGroup styleClass="error_container" layout="block">
+ <h:message for="familyName" errorClass="errors" fatalClass="errors" warnClass="errors" />
</h:panelGroup>
<h:panelGroup styleClass="table_row" layout="block">
<f:validator validatorId="NameValidator" />
</h:inputText>
</div>
+ </h:panelGroup>
- <div class="clear"></div>
-
- <h:panelGroup styleClass="error_container" layout="block">
- <h:message for="street" errorClass="errors" fatalClass="errors" warnClass="errors" />
- </h:panelGroup>
+ <h:panelGroup styleClass="error_container" layout="block">
+ <h:message for="street" errorClass="errors" fatalClass="errors" warnClass="errors" />
</h:panelGroup>
<h:panelGroup styleClass="table_row" layout="block">
<f:validateLongRange for="houseNumber" minimum="1" maximum="500" />
</h:inputText>
</div>
+ </h:panelGroup>
- <div class="clear"></div>
-
- <h:panelGroup styleClass="error_container" layout="block">
- <h:message for="houseNumber" errorClass="errors" fatalClass="errors" warnClass="errors" />
- </h:panelGroup>
+ <h:panelGroup styleClass="error_container" layout="block">
+ <h:message for="houseNumber" errorClass="errors" fatalClass="errors" warnClass="errors" />
</h:panelGroup>
<h:panelGroup styleClass="table_row" layout="block">
<div class="table_right_medium">
<h:inputText styleClass="input" id="houseNumberExtension" size="2" maxlength="2" value="#{contactController.houseNumberExtension}" />
</div>
+ </h:panelGroup>
- <div class="clear"></div>
-
- <h:panelGroup styleClass="error_container" layout="block">
- <h:message for="houseNumberExtension" errorClass="errors" fatalClass="errors" warnClass="errors" />
- </h:panelGroup>
+ <h:panelGroup styleClass="error_container" layout="block">
+ <h:message for="houseNumberExtension" errorClass="errors" fatalClass="errors" warnClass="errors" />
</h:panelGroup>
<h:panelGroup styleClass="table_row" layout="block">
<f:validateLongRange minimum="1" maximum="99999" />
</h:inputText>
</div>
+ </h:panelGroup>
- <div class="clear"></div>
-
- <h:panelGroup styleClass="error_container" layout="block">
- <h:message for="zipCode" errorClass="errors" fatalClass="errors" warnClass="errors" />
- </h:panelGroup>
+ <h:panelGroup styleClass="error_container" layout="block">
+ <h:message for="zipCode" errorClass="errors" fatalClass="errors" warnClass="errors" />
</h:panelGroup>
<h:panelGroup styleClass="table_row" layout="block">
<f:validator validatorId="NameValidator" />
</h:inputText>
</div>
-
- <div class="clear"></div>
+ </h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<h:message for="city" errorClass="errors" fatalClass="errors" warnClass="errors" />
</h:panelGroup>
- </h:panelGroup>
<h:panelGroup styleClass="table_row" layout="block">
<div class="table_left_medium">
<f:convertDateTime pattern="#{msg.BIRTHDAY_PATTERN}" />
</h:inputText>
</div>
-
- <div class="clear"></div>
+ </h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<h:message for="birthday" errorClass="errors" fatalClass="errors" warnClass="errors" />
</h:panelGroup>
- </h:panelGroup>
<h:panelGroup styleClass="table_row" layout="block">
<div class="table_left_medium">
<f:selectItems value="#{countryController.allCountries()}" var="country" itemValue="#{country}" itemLabel="#{country.countryCode} (#{msg[country.countryI18nKey]})" />
</h:selectOneMenu>
</div>
-
- <div class="clear"></div>
+ </h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<h:message for="country" errorClass="errors" fatalClass="errors" warnClass="errors" />
</h:panelGroup>
- </h:panelGroup>
<h:panelGroup styleClass="table_row" layout="block">
<div class="table_left_medium">
<f:validator validatorId="PhoneNumberValidator" />
</h:inputText>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<f:validator for="faxNumber" validatorId="PhoneNumberValidator" />
</h:inputText>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<f:validator validatorId="EmailAddressValidator" />
</h:inputText>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<div class="table_right_medium">
<h:inputText styleClass="input" id="emailAddressRepeat" size="20" maxlength="255" value="#{contactController.emailAddressRepeat}" required="true" requiredMessage="#{msg.EMAIL_ADDRESS_REPEAT_NOT_ENTERED}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<li class="footer_copyright">Copyright (c) 2016, 2017 Roland Häder</li>
</ul>
</div>
-
- <div class="clear"></div>
</ui:composition>
<h:link outcome="privacy" target="_blank" value="#{msg.LINK_GUEST_PRIVACY_STATEMENTS}" />
<h:outputText value="#{msg.GUEST_AGREE_READ_PRIVACY_STATEMENT_2}" />
</div>
+ </h:panelGroup>
- <div class="clear"></div>
-
- <h:panelGroup styleClass="error_container" layout="block">
- <h:message for="privacy" errorClass="errors" warnClass="warnings" fatalClass="errors" />
- </h:panelGroup>
+ <h:panelGroup styleClass="error_container" layout="block">
+ <h:message for="privacy" errorClass="errors" warnClass="warnings" fatalClass="errors" />
</h:panelGroup>
<h:panelGroup styleClass="table_row" layout="block">
<h:link outcome="terms" target="_blank" value="#{msg.LINK_GUEST_TERMS_CONDITIONS}" />
<h:outputText value="#{msg.GUEST_AGREE_READ_TERMS_CONDITIONS_2}" />
</div>
+ </h:panelGroup>
- <div class="clear"></div>
-
- <h:panelGroup styleClass="error_container" layout="block">
- <h:message for="terms" errorClass="errors" warnClass="warnings" fatalClass="errors" />
- </h:panelGroup>
+ <h:panelGroup styleClass="error_container" layout="block">
+ <h:message for="terms" errorClass="errors" warnClass="warnings" fatalClass="errors" />
</h:panelGroup>
</fieldset>
</h:panelGroup>
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
- <div id="user_login_content">
- <h:form id="form_user_login" rendered="#{featureController.isFeatureEnabled('user_login_require_user_name')}">
+
+ <h:panelGroup id="user_login_content" layout="block" rendered="#{featureController.isFeatureEnabled('user_login_require_user_name')}">
+ <h:form id="form_user_login">
<h:panelGroup styleClass="table" layout="block">
<div class="table_header">
<h:outputText value="#{msg.GUEST_ENTER_USER_LOGIN_DATA_TITLE}" />
<div class="table_right">
<h:inputText styleClass="input" id="userName" value="#{userController.userName}" size="10" maxlength="20" required="true" requiredMessage="#{msg.LOGIN_NO_USER_NAME_MESSAGE}" />
</div>
+ </h:panelGroup>
- <div class="clear"></div>
-
- <h:panelGroup styleClass="error_container" layout="block">
- <h:message for="userName" errorClass="errors" fatalClass="errors" warnClass="errors" />
- </h:panelGroup>
+ <h:panelGroup styleClass="error_container" layout="block">
+ <h:message for="userName" errorClass="errors" fatalClass="errors" warnClass="errors" />
</h:panelGroup>
<h:panelGroup styleClass="table_row" layout="block">
<div class="table_right">
<h:inputSecret styleClass="input" id="userPassword" value="#{userController.userPassword}" size="10" maxlength="255" required="true" requiredMessage="#{msg.LOGIN_NO_PASSWORD_MESSAGE}" />
</div>
+ </h:panelGroup>
- <div class="clear"></div>
-
- <h:panelGroup styleClass="error_container" layout="block">
- <h:message for="userPassword" errorClass="errors" fatalClass="errors" warnClass="errors" />
- </h:panelGroup>
+ <h:panelGroup styleClass="error_container" layout="block">
+ <h:message for="userPassword" errorClass="errors" fatalClass="errors" warnClass="errors" />
</h:panelGroup>
</fieldset>
<h:panelGroup styleClass="error_container" layout="block" rendered="#{not featureController.isFeatureEnabled('user_login_require_user_name')}">
<h:outputText styleClass="errors" value="#{msg.ERROR_GUEST_USER_NAME_REQUIRED_DISABLED}" />
</h:panelGroup>
- </div>
+ </h:panelGroup>
</ui:composition>
<div class="table_right_medium">
<h:inputText styleClass="input" id="userName" size="20" maxlength="255" value="#{userController.userName}" required="true" requiredMessage="#{msg.GUEST_REGISTRATION_USER_NAME_NOT_ENTERED}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<div class="table_right_medium">
<h:inputSecret styleClass="input" id="userPassword" size="10" maxlength="255" value="#{userController.userPassword}" required="#{not featureController.isFeatureEnabled('allow_user_registration_empty_password')}" requiredMessage="#{msg.GUEST_REGISTRATION_PASSWORD_NOT_ENTERED}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<div class="table_right_medium">
<h:inputSecret styleClass="input" id="userPasswordRepeat" size="10" maxlength="255" value="#{userController.userPasswordRepeat}" required="#{not featureController.isFeatureEnabled('allow_user_registration_empty_password')}" requiredMessage="#{msg.GUEST_REGISTRATION_PASSWORD_REPEAT_NOT_ENTERED}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<div class="table_right">
<h:inputText styleClass="input" id="userName" size="20" maxlength="255" value="#{userController.userName}" required="true" requiredMessage="#{msg.GUEST_REGISTRATION_USER_NAME_NOT_ENTERED}" />
</div>
+ </h:panelGroup>
- <div class="clear"></div>
-
- <h:panelGroup styleClass="error_container" layout="block">
- <h:message for="userName" errorClass="errors" fatalClass="errors" warnClass="errors" />
- </h:panelGroup>
+ <h:panelGroup styleClass="error_container" layout="block">
+ <h:message for="userName" errorClass="errors" fatalClass="errors" warnClass="errors" />
</h:panelGroup>
</ui:fragment>
<div class="table_right">
<h:inputSecret styleClass="input" id="userPassword" size="10" maxlength="255" value="#{userController.userPassword}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<div class="table_right">
<h:inputSecret styleClass="input" id="userPasswordRepeat" size="10" maxlength="255" value="#{userController.userPasswordRepeat}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<div class="para notice">
<ul>
<li><h:outputText value="#{msg.GUEST_REGISTRATION_USER_NAME_NOTICE}" /></li>
+
<ui:fragment rendered="#{featureController.isFeatureEnabled('allow_user_registration_empty_password')}">
<li><h:outputText value="#{msg.GUEST_REGISTRATION_USER_PASSWORDS_EMPTY_ALLOWED}" /></li>
</ui:fragment>
+
<ui:fragment rendered="#{not featureController.isFeatureEnabled('allow_user_registration_empty_password')}">
<li><h:outputText value="#{msg.GUEST_REGISTRATION_USER_PASSWORDS_EMPTY_NOT_ALLOWED}" /></li>
</ui:fragment>
<f:validator validatorId="EmailAddressValidator" />
</h:inputText>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<div class="table_right">
<h:inputText class="input" id="emailAddressRepeat" size="20" maxlength="255" value="#{userEmailChangeController.emailAddressRepeat}" required="true" requiredMessage="#{msg.EMAIL_ADDRESS_REPEAT_NOT_ENTERED}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<!-- <f:validator for="currentPassword" validatorId="FinancialsUserPasswordValidator" /> //-->
</h:inputSecret>
</div>
+ </h:panelGroup>
- <div class="clear"></div>
-
- <h:panelGroup styleClass="error_container" layout="block">
- <h:message for="currentPassword" errorClass="errors" fatalClass="errors" warnClass="errors" />
- </h:panelGroup>
+ <h:panelGroup styleClass="error_container" layout="block">
+ <h:message for="currentPassword" errorClass="errors" fatalClass="errors" warnClass="errors" />
</h:panelGroup>
</fieldset>
</h:panelGroup>
<li class="footer_copyright">Copyright (c) 2016, 2017 Roland Häder</li>
</ul>
</div>
-
- <div class="clear"></div>
</ui:composition>
<div class="table_right75_medium">
<h:inputTextarea id="userDeleteReason" styleClass="input" value="#{adminUserController.userDeleteReason}" rows="8" cols="45" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<div class="table_footer">
<f:selectItems value="#{contactController.selectableContacts()}" var="contact" itemValue="#{contact}" itemLabel="#{contact.contactId}: #{msg[contact.contactPersonalTitle.messageKey]} #{contact.contactFirstName} #{contact.contactFamilyName}" />
</h:selectOneMenu>
</div>
-
- <div class="clear"></div>
</h:panelGroup>
</fieldset>
</h:panelGroup>
<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_right">
<h:inputText styleClass="input" id="email" size="20" maxlength="255" value="#{passwordRecoveryController.emailAddress}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
</fieldset>
+++ /dev/null
-/**
-div, table {
- border: 1px solid #ff0000;
-}
-/**/
-
-#page_title {
- border-bottom: 1px solid #AFAFAF;
-}
-
-#top {
- position: relative;
- background-color: #036fab;
- color: #ffffff;
- padding: 5px;
- margin: 0px 0px 10px 0px;
-}
-
-#page_footer {
- position: relative;
- background-color: #c2dfef;
- padding: 5px;
- margin: 10px 0px 0px 0px;
-}
-
-#left {
- float: left;
- background-color: #ece3a5;
- padding: 5px;
- width: 170px;
-}
-
-#right {
- float: right;
- background-color: #ece3a5;
- padding: 5px;
- width: 150px;
-}
-
-.center_content {
- position: relative;
- background-color: #dddddd;
- padding: 5px;
-}
-
-.left_content {
- padding-right: 5px;
- padding-bottom: 5px;
- margin-left: 190px;
-}
-
-.table_footer {
- margin: 2px;
-}
-
-#top a:link, #top a:visited {
- color: #ffffff;
- font-weight : bold;
- text-decoration: none;
-}
-
-#top a:link:hover, #top a:visited:hover {
- color: #000000;
- font-weight : bold;
- text-decoration : underline;
-}
-
-table, .table, .table_medium {
- margin: 0px;
- padding: 0px;
-}
-
-.table {
- width: 500px;
-}
-
-.table_footer {
- margin: 2px;
-}
-
-.table_medium {
- width: 650px;
-}
-
-.table_full {
- width: 100%;
-}
-
-.table_row {
- width: 100%;
- min-height: 20px;
- margin: 2px;
-}
-
-.table_left {
- width: 250px;
- min-height: 20px;
- float: left;
-}
-
-.table_right {
- width: 200px;
- min-height: 20px;
- float: right;
-}
-
-.table_left25 {
- width: 20px;
- min-height: 20px;
- float: left;
-}
-
-.table_right75 {
- width: 430px;
- min-height: 20px;
- float: right;
-}
-
-.table_left_medium {
- width: 300px;
- min-height: 20px;
- float: left;
-}
-
-.table_right_medium {
- width: 300px;
- min-height: 20px;
- float: right;
-}
-
-.table_left25_medium {
- width: 150px;
- min-height: 20px;
- float: left;
-}
-
-.table_right75_medium {
- width: 490px;
- min-height: 20px;
- float: right;
-}
-
-.para {
- padding: 5px 5px 5px 5px;
-}
-
-.clear {
- clear: both;
-}
-
-ul.footer_nav, ul.mini_nav {
- display: block;
- text-align: center;
- list-style: none;
- margin: 0px;
- padding: 0px;
-}
-
-ul.footer_nav li.footer_link, ul.mini_nav li.mini_link {
- display: block;
- float: left;
-}
-
-ul.footer_nav li.footer_link {
- width: 100px;
-}
-
-ul.mini_nav li.mini_link {
- padding: 1px;
-}
-
-ul.footer_nav li.footer_copyright {
- float: right;
- width: 300px;
- margin-right: 10px;
-}
-
-.menu ul {
- list-style: none;
- padding-left: 5px;
-}
-
-.menu_header {
- font-weight: bold;
-}
-
-.table_header, .table_label, .message_header {
- text-align: center;
- font-weight: bold;
-}
-
-.table_data_label, .table_data_field {
- display: block;
- border: 1px solid #aaaaaa;
- border-top-right-radius: 8px;
- border-bottom-left-radius: 8px;
-}
-
-.table_data_label {
- font-weight: bold;
- background-image: linear-gradient(#eeeeee, #bbbbbb);
- height: 16px;
- padding-left: 4px;
-}
-
-.table_data_field {
- background-color: #f5f5f5;
- vertical-align: top;
- padding-top: 1px;
- padding-bottom: 1px;
- padding-left: 2px;
- padding-right: 1px;
- margin-top: 2px;
- min-height: 15px;
-}
-
-#content_header {
- border-color: #888888;
- background-image: linear-gradient(#eeeeee, #aaaaaa);
- font-weight: bold;
- font-size: 18px;
- margin-bottom: 20px;
- padding-left: 5px;
-}
-
-.table_header_column {
- width: 100px;
-}
-
-.table_header_column25 {
- width: 25%;
-}
-
-.table_data_column {
- width: 100px;
-}
-
-.item_price, .item_total_price {
- text-align: right;
-}
-
-.errors {
- color: red;
-}
-
-.errors:hover {
- cursor: not-allowed;
-}
-
-.fatals {
- color: red;
- font-weight: bold;
-}
-
-.infos {
- color: cornflowerblue;
-}
-
-.warnings {
- color: gold;
-}
-
-.message_box, .message_box_mini {
- border: 1px solid #888888;
- border-top-right-radius: 8px;
- border-bottom-left-radius: 8px;
- background-color: #f0f0fa;
-}
-
-.message_box {
- width: 400px;
-}
-
-.message_box_mini {
- width: 160px;
-}
-
-.message_header {
- border-bottom: 1px solid #888888;
- background-image: linear-gradient(#eeeeee, #aaaaaa);
-}
-
-.okay {
- color: #00aa00;
-}
-
-.user_status_confirmed, .customer_status_confirmed {
- color: #00aa00;
-}
-
-.user_status_unconfirmed, .customer_status_unconfirmed {
- color: #00aaaa;
-}
-
-.user_status_locked, .customer_status_locked {
- color: #aa0000;
-}
-
-.unlink_link {
- color: #aaaa00;
-}
-
-.delete_link {
- color: #aa0000;
-}
-
-.right_space {
- margin-right: 2px;
-}
-
-#content_header, .input, .select, .submit, .reset, .delete_button, .unlink_button, .fieldset {
- border: 1px solid #888888;
- border-top-right-radius: 8px;
- border-bottom-left-radius: 8px;
-}
-
-.checkbox {
- border: 1px solid #888888;
-}
-
-input, textarea, select, option {
- background-color: #fbfbfb;
-}
-
-.submit, .reset, .delete_button, .unlink_button {
- cursor: pointer;
-}
-
-input:hover, textarea:hover, select:hover, option:hover {
- border-color: #666666;
- background-color: #eeeeee;
-}
-
-.delete_button:hover {
- border-color: #dd0000;
- background-color: #aa0000;
- color: #eeeeee;
-}
-
-.unlink_button:hover {
- border-color: #dddd00;
- background-color: #cccc00;
- color: #eeeeee;
-}
-
-.delete_button {
- border-color: #ee0000;
- background-color: #880000;
- color: #ffffff;
-}
-
-.unlink_button {
- border-color: #eeee00;
- background-color: #aaaa00;
- color: #ffffff;
-}
-
-.fieldset {
- padding: 5px;
-}
-
-.input {
- padding-left: 4px;
- padding-right: 4px;
-}
--- /dev/null
+/**
+div, table {
+ border: 1px solid #ff0000;
+}
+/**/
+
+#page_title {
+ border-bottom: 1px solid #AFAFAF;
+}
+
+#top {
+ position: relative;
+ background-color: #036fab;
+ color: #ffffff;
+ padding: 5px;
+ margin: 0px 0px 10px 0px;
+}
+
+#page_footer {
+ position: relative;
+ background-color: #c2dfef;
+ padding: 5px;
+ margin: 10px 0px 0px 0px;
+}
+
+#left {
+ float: left;
+ background-color: #ece3a5;
+ padding: 5px;
+ width: 170px;
+}
+
+#right {
+ float: right;
+ background-color: #ece3a5;
+ padding: 5px;
+ width: 150px;
+}
+
+.center_content {
+ position: relative;
+ background-color: #dddddd;
+ padding: 5px;
+}
+
+.left_content {
+ padding-right: 5px;
+ padding-bottom: 5px;
+ margin-left: 190px;
+}
+
+#menu_content::after {
+ clear: both;
+}
+
+.table_footer {
+ margin: 2px;
+}
+
+#top a:link, #top a:visited {
+ color: #ffffff;
+ font-weight : bold;
+ text-decoration: none;
+}
+
+#top a:link:hover, #top a:visited:hover {
+ color: #000000;
+ font-weight : bold;
+ text-decoration : underline;
+}
+
+table, .table, .table_medium {
+ margin: 0px;
+ padding: 0px;
+}
+
+.table {
+ width: 500px;
+}
+
+.table_footer {
+ margin: 2px;
+}
+
+.table_medium {
+ width: 650px;
+}
+
+.table_full {
+ width: 100%;
+}
+
+.table_row {
+ width: 100%;
+ min-height: 20px;
+ margin: 2px;
+}
+
+.table_row::after {
+ clear: both;
+}
+
+.table_left {
+ width: 250px;
+ min-height: 20px;
+ float: left;
+}
+
+.table_right {
+ width: 200px;
+ min-height: 20px;
+ float: right;
+}
+
+.table_left25 {
+ width: 20px;
+ min-height: 20px;
+ float: left;
+}
+
+.table_right75 {
+ width: 430px;
+ min-height: 20px;
+ float: right;
+}
+
+.table_left_medium {
+ width: 300px;
+ min-height: 20px;
+ float: left;
+}
+
+.table_right_medium {
+ width: 300px;
+ min-height: 20px;
+ float: right;
+}
+
+.table_left25_medium {
+ width: 150px;
+ min-height: 20px;
+ float: left;
+}
+
+.table_right75_medium {
+ width: 490px;
+ min-height: 20px;
+ float: right;
+}
+
+.para {
+ padding: 5px;
+}
+
+ul.footer_nav, ul.mini_nav {
+ display: block;
+ text-align: center;
+ list-style: none;
+ margin: 0px;
+ padding: 0px;
+}
+
+ul.footer_nav li.footer_link, ul.mini_nav li.mini_link {
+ display: block;
+ float: left;
+}
+
+ul.footer_nav li.footer_link {
+ width: 100px;
+}
+
+ul.mini_nav li.mini_link {
+ padding: 1px;
+}
+
+ul.footer_nav li.footer_copyright {
+ float: right;
+ width: 300px;
+ margin-right: 10px;
+}
+
+.menu ul {
+ list-style: none;
+ padding-left: 5px;
+}
+
+.menu_header {
+ font-weight: bold;
+}
+
+.table_header, .table_label, .message_header {
+ text-align: center;
+ font-weight: bold;
+}
+
+.table_data_label, .table_data_field {
+ display: block;
+ border: 1px solid #aaaaaa;
+ border-top-right-radius: 8px;
+ border-bottom-left-radius: 8px;
+}
+
+.table_data_label {
+ font-weight: bold;
+ background-image: linear-gradient(#eeeeee, #bbbbbb);
+ height: 16px;
+ padding-left: 4px;
+}
+
+.table_data_field {
+ background-color: #f5f5f5;
+ vertical-align: top;
+ padding-top: 1px;
+ padding-bottom: 1px;
+ padding-left: 2px;
+ padding-right: 1px;
+ margin-top: 2px;
+ min-height: 15px;
+}
+
+#content_header {
+ border-color: #888888;
+ background-image: linear-gradient(#eeeeee, #aaaaaa);
+ font-weight: bold;
+ font-size: 18px;
+ margin-bottom: 20px;
+ padding-left: 5px;
+}
+
+.table_header_column {
+ width: 100px;
+}
+
+.table_header_column25 {
+ width: 25%;
+}
+
+.table_data_column {
+ width: 100px;
+}
+
+.item_price, .item_total_price {
+ text-align: right;
+}
+
+.errors {
+ color: red;
+}
+
+.errors:hover {
+ cursor: not-allowed;
+}
+
+.fatals {
+ color: red;
+ font-weight: bold;
+}
+
+.infos {
+ color: cornflowerblue;
+}
+
+.warnings {
+ color: gold;
+}
+
+.message_box, .message_box_mini {
+ border: 1px solid #888888;
+ border-top-right-radius: 8px;
+ border-bottom-left-radius: 8px;
+ background-color: #f0f0fa;
+}
+
+.message_box {
+ width: 400px;
+}
+
+.message_box_mini {
+ width: 160px;
+}
+
+.message_header {
+ border-bottom: 1px solid #888888;
+ background-image: linear-gradient(#eeeeee, #aaaaaa);
+}
+
+.okay {
+ color: #00aa00;
+}
+
+.user_status_confirmed, .customer_status_confirmed {
+ color: #00aa00;
+}
+
+.user_status_unconfirmed, .customer_status_unconfirmed {
+ color: #00aaaa;
+}
+
+.user_status_locked, .customer_status_locked {
+ color: #aa0000;
+}
+
+.unlink_link {
+ color: #aaaa00;
+}
+
+.delete_link {
+ color: #aa0000;
+}
+
+.right_space {
+ margin-right: 2px;
+}
+
+#content_header, .input, .select, .submit, .reset, .delete_button, .unlink_button, .fieldset {
+ border: 1px solid #888888;
+ border-top-right-radius: 8px;
+ border-bottom-left-radius: 8px;
+}
+
+.checkbox {
+ border: 1px solid #888888;
+}
+
+input, textarea, select, option {
+ background-color: #fbfbfb;
+}
+
+.submit, .reset, .delete_button, .unlink_button {
+ cursor: pointer;
+}
+
+input:hover, textarea:hover, select:hover, option:hover {
+ border-color: #666666;
+ background-color: #eeeeee;
+}
+
+.delete_button:hover {
+ border-color: #dd0000;
+ background-color: #aa0000;
+ color: #eeeeee;
+}
+
+.unlink_button:hover {
+ border-color: #dddd00;
+ background-color: #cccc00;
+ color: #eeeeee;
+}
+
+.delete_button {
+ border-color: #ee0000;
+ background-color: #880000;
+ color: #ffffff;
+}
+
+.unlink_button {
+ border-color: #eeee00;
+ background-color: #aaaa00;
+ color: #ffffff;
+}
+
+.fieldset {
+ padding: 5px;
+}
+
+.input {
+ padding-left: 4px;
+ padding-right: 4px;
+}
+
+.footer::after {
+ clear: both;
+}
<div class="table_right">
<h:outputText value="#{contactController.emailAddress}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<ui:include src="/WEB-INF/templates/login/user/user_change_email_address_repeat_fields.tpl" />
<div class="table_right">
<h:inputSecret styleClass="input" id="userPassword" size="10" maxlength="255" value="#{userPasswordController.userPassword}" required="true" requiredMessage="#{msg.USER_NEW_PASSWORD_REQUIRED}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
<div class="table_right">
<h:inputSecret styleClass="input" id="userPasswordRepeat" size="10" maxlength="255" value="#{userPasswordController.userPasswordRepeat}" required="true" requiredMessage="#{msg.USER_NEW_PASSWORD_REPEAT_REQUIRED}" />
</div>
-
- <div class="clear"></div>
</h:panelGroup>
<h:panelGroup styleClass="error_container" layout="block">
</h:panelGroup>
</fieldset>
+ <!-- @TODO Get rid of this ugly class=para abuse -->
<div class="para"></div>
<ui:include src="/WEB-INF/templates/login/user/user_enter_current_password.tpl" />