]> git.mxchange.org Git - jfinancials-war.git/commitdiff
Continued a bit:
authorRoland Häder <roland@mxchange.org>
Fri, 6 May 2016 08:08:27 +0000 (10:08 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 7 May 2016 10:02:22 +0000 (12:02 +0200)
- in admin area it should be medium-sized to have more room
- email address is already in contact data template

Signed-off-by: Roland Häder <roland@mxchange.org>
web/WEB-INF/templates/admin/contact/admin_form_contact_data.tpl
web/WEB-INF/templates/admin/user/admin_form_user_data.tpl

index 04aeab1438c9abc04e08c67e10bacabbb55af71b..0eae8720f1f5b3b72ff35d57a02077fe6d435ca0 100644 (file)
                        <legend title="#{msg.ADMIN_CONTACT_PERSONAL_DATA_LEGEND_TITLE}">#{msg.ADMIN_CONTACT_PERSONAL_DATA_LEGEND}</legend>
 
                        <div class="table_row">
-                               <div class="table_left">
+                               <div class="table_left_medium">
                                        <h:outputLabel for="gender" value="#{msg.ADMIN_PERSONAL_DATA_GENDER}" />
                                </div>
 
-                               <div class="table_right">
+                               <div class="table_right_medium">
                                        <ui:include src="/WEB-INF/templates/generic/gender_selection_box.tpl">
                                                <ui:param name="targetController" value="#{adminContactController}" />
                                        </ui:include>
                        </div>
 
                        <div class="table_row">
-                               <div class="table_left">
+                               <div class="table_left_medium">
                                        <h:outputLabel for="firstName" value="#{msg.ADMIN_PERSONAL_DATA_FIRST_NAME}" />
                                </div>
 
-                               <div class="table_right">
+                               <div class="table_right_medium">
                                        <h:inputText styleClass="input" id="firstName" size="10" maxlength="255" value="#{adminContactController.firstName}" />
                                </div>
 
                        </div>
 
                        <div class="table_row">
-                               <div class="table_left">
+                               <div class="table_left_medium">
                                        <h:outputLabel for="familyName" value="#{msg.ADMIN_PERSONAL_DATA_FAMILY_NAME}" />
                                </div>
 
-                               <div class="table_right">
+                               <div class="table_right_medium">
                                        <h:inputText styleClass="input" id="familyName" size="10" maxlength="255" value="#{adminContactController.familyName}" />
                                </div>
 
                        </div>
 
                        <div class="table_row">
-                               <div class="table_left">
+                               <div class="table_left_medium">
                                        <h:outputLabel for="street" value="#{msg.ADMIN_PERSONAL_DATA_STREET}" />
                                </div>
 
-                               <div class="table_right">
+                               <div class="table_right_medium">
                                        <h:inputText styleClass="input" id="street" size="20" maxlength="255" value="#{adminContactController.street}" />
                                </div>
 
                        </div>
 
                        <div class="table_row">
-                               <div class="table_left">
+                               <div class="table_left_medium">
                                        <h:outputLabel for="houseNumber" value="#{msg.ADMIN_PERSONAL_DATA_HOUSE_NUMBER}" />
                                </div>
 
-                               <div class="table_right">
+                               <div class="table_right_medium">
                                        <h:inputText styleClass="input" id="houseNumber" size="3" maxlength="5" value="#{adminContactController.houseNumber}" validatorMessage="#{msg.ENTERED_HOUSE_NUMBER_INVALID}">
                                                <f:validateLongRange for="houseNumber" minimum="1" maximum="500" />
                                        </h:inputText>
                        </div>
 
                        <div class="table_row">
-                               <div class="table_left">
+                               <div class="table_left_medium">
                                        <h:outputLabel for="zipCode" value="#{msg.ADMIN_PERSONAL_DATA_ZIP_CODE}" />
                                </div>
 
-                               <div class="table_right">
+                               <div class="table_right_medium">
                                        <h:inputText styleClass="input" id="zipCode" size="5" maxlength="6" value="#{adminContactController.zipCode}" validatorMessage="#{msg.ENTERED_ZIP_CODE_INVALID}">
                                                <f:validateLongRange for="zipCode" minimum="1" maximum="99999" />
                                        </h:inputText>
                        </div>
 
                        <div class="table_row">
-                               <div class="table_left">
+                               <div class="table_left_medium">
                                        <h:outputLabel for="city" value="#{msg.ADMIN_PERSONAL_DATA_CITY}" />
                                </div>
 
-                               <div class="table_right">
+                               <div class="table_right_medium">
                                        <h:inputText styleClass="input" id="city" size="10" maxlength="255" value="#{adminContactController.city}" />
                                </div>
 
                        </div>
 
                        <div class="table_row">
-                               <div class="table_left">
+                               <div class="table_left_medium">
                                        <h:outputLabel for="country" value="#{msg.ADMIN_PERSONAL_DATA_COUNTRY_CODE}" />
                                </div>
 
-                               <div class="table_right">
+                               <div class="table_right_medium">
                                        <h:selectOneMenu  styleClass="select" id="country" value="#{adminContactController.country}" converter="CountryConverter">
                                                <f:selectItem itemValue="" itemLabel="#{msg.NONE_SELECTED}" />
                                                <f:selectItems value="#{countryController.allCountries()}" var="c" itemValue="#{c}" itemLabel="#{c.countryCode} (#{msg[c.countryI18nkey]})" />
                        </div>
 
                        <div class="table_row">
-                               <div class="table_left">
+                               <div class="table_left_medium">
                                        <h:outputLabel value="#{msg.ADMIN_PERSONAL_DATA_PHONE_NUMBER}" />
                                </div>
 
-                               <div class="table_right">
+                               <div class="table_right_medium">
                                        <h:selectOneMenu styleClass="select" id="countryPhoneCode" value="#{adminContactController.phoneCountry}" converter="CountryConverter">
                                                <f:selectItem itemValue="" itemLabel="#{msg.NONE_SELECTED}" />
                                                <f:selectItems value="#{countryController.allCountries()}" var="c" itemValue="#{c}" itemLabel="#{c.countryAbroadDialPrefix}#{c.countryPhoneCode}" />
                        </div>
 
                        <div class="table_row">
-                               <div class="table_left">
+                               <div class="table_left_medium">
                                        <h:outputLabel for="faxNumber" value="#{msg.ADMIN_PERSONAL_DATA_FAX_NUMBER}" />
                                </div>
 
-                               <div class="table_right">
+                               <div class="table_right_medium">
                                        <h:selectOneMenu styleClass="select" id="faxCountryCode" value="#{adminContactController.faxCountry}" converter="CountryConverter">
                                                <f:selectItem itemValue="" itemLabel="#{msg.NONE_SELECTED}" />
                                                <f:selectItems value="#{countryController.allCountries()}" var="c" itemValue="#{c}" itemLabel="#{c.countryAbroadDialPrefix}#{c.countryPhoneCode}" />
                        </div>
 
                        <div class="table_row">
-                               <div class="table_left">
+                               <div class="table_left_medium">
                                        <h:outputLabel for="cellphoneNumber" value="#{msg.ADMIN_PERSONAL_DATA_CELLPHONE_NUMBER}" />
                                </div>
 
-                               <div class="table_right">
+                               <div class="table_right_medium">
                                        <ui:include src="/WEB-INF/templates/generic/mobile_selection_box.tpl">
                                                <ui:param name="targetController" value="#{adminContactController}" />
                                        </ui:include>
                        </div>
 
                        <div class="table_row">
-                               <div class="table_left">
+                               <div class="table_left_medium">
                                        <h:outputLabel for="emailAddress" value="#{msg.ADMIN_PERSONAL_DATA_EMAIL_ADDRESS}" />
                                </div>
 
-                               <div class="table_right">
+                               <div class="table_right_medium">
                                        <h:inputText styleClass="input" id="emailAddress" size="10" maxlength="255" value="#{adminContactController.emailAddress}" />
                                </div>
 
index 8ff1740d55eadbdf0e7ae934f75c9c1a38515806..d84b063f0631805d87aa07a6d941e39efe50d7af 100644 (file)
 
                                <div class="para"></div>
 
-                               <ui:fragment rendered="#{mode == 'add'}">
-                                       <div class="table_row">
-                                               <div class="table_left_medium">
-                                                       <h:outputLabel for="emailAddress" value="#{msg.ADMIN_PERSONAL_DATA_ENTER_EMAIL_ADDRESS}" />
-                                               </div>
-
-                                               <div class="table_right">
-                                                       <h:inputText styleClass="input" id="emailAddress" size="20" maxlength="255" value="#{adminContactController.emailAddress}" required="true" />
-                                               </div>
-
-                                               <div class="clear"></div>
-                                       </div>
-
-                                       <div class="para"></div>
-                               </ui:fragment>
-
                                <div class="table_row">
                                        <div class="table_left">
                                                <h:outputLabel for="password1" value="#{msg.ADMIN_USER_DATA_ENTER_PASSWORD1}" />
                                                        <h:outputText value="#{msg.ADMIN_USER_DATA_PASSWORD_ADD_NOTICE}" rendered="#{mode == 'add'}" />
                                                </li>
 
-                                               <ui:fragment rendered="#{mode == 'add'}">
-                                                       <li>
-                                                               <h:outputText value="#{msg.ADMIN_USER_DATA_EMAIL_ADDRESS_NOTICE}" />
-                                                       </li>
-                                               </ui:fragment>
+                                               <li>
+                                                       <h:outputText value="#{msg.ADMIN_USER_DATA_EMAIL_ADDRESS_NOTICE}" />
+                                               </li>
                                        </ul>
                                </div>
                        </fieldset>