You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mo...@apache.org on 2009/09/19 10:05:05 UTC
svn commit: r816869 - in
/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile:
EditBillToAddress.ftl EditPostalAddress.ftl EditProfile.ftl
EditShipToAddress.ftl NewCustomer.ftl
Author: mor
Date: Sat Sep 19 08:05:05 2009
New Revision: 816869
URL: http://svn.apache.org/viewvc?rev=816869&view=rev
Log:
Markup improvements. Implementation done by Deepak Dixit.
Modified:
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/EditBillToAddress.ftl
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/EditPostalAddress.ftl
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/EditProfile.ftl
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/EditShipToAddress.ftl
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/NewCustomer.ftl
Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/EditBillToAddress.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/EditBillToAddress.ftl?rev=816869&r1=816868&r2=816869&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/EditBillToAddress.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/EditBillToAddress.ftl Sat Sep 19 08:05:05 2009
@@ -26,26 +26,26 @@
<input type="hidden" name="productStoreId" value="${productStoreId?if_exists}" />
<div>
<label for="billToAddress1">${uiLabelMap.PartyAddressLine1}*</label>
- <input type="text" class="left required" name="address1" id="billToAddress1" value="${billToAddress1?if_exists}" size="30" maxlength="30" />
+ <input type="text" class="required" name="address1" id="billToAddress1" value="${billToAddress1?if_exists}" maxlength="30" />
<span id="advice-required-billToAddress1" style="display: none" class="errorMessage">(required)</span>
</div>
<div>
<label for="billToAddress2">${uiLabelMap.PartyAddressLine2}</label>
- <input type="text" class="left" name="address2" id="billToAddress2" value="${billToAddress2?if_exists}" size="30" maxlength="30" />
+ <input type="text" name="address2" id="billToAddress2" value="${billToAddress2?if_exists}" maxlength="30" />
</div>
<div>
<label for="billToCity">${uiLabelMap.PartyCity}*</label>
- <input type="text" class="left required" name="city" id="billToCity" value="${billToCity?if_exists}" size="30" maxlength="30" />
+ <input type="text" class="required" name="city" id="billToCity" value="${billToCity?if_exists}" maxlength="30" />
<span id="advice-required-billToCity" style="display: none" class="errorMessage">(required)</span>
</div>
<div>
<label for="billToPostalCode">${uiLabelMap.PartyZipCode}*</label>
- <input type="text" class="left required" name="postalCode" id="billToPostalCode" value="${billToPostalCode?if_exists}" size="12" maxlength="10" />
+ <input type="text" class="required" name="postalCode" id="billToPostalCode" value="${billToPostalCode?if_exists}" maxlength="10" />
<span id="advice-required-billToPostalCode" style="display: none" class="errorMessage">(required)</span>
</div>
<div>
<label for="billToCountryGeoId">${uiLabelMap.PartyCountry}*</label>
- <select name="countryGeoId" id="billToCountryGeoId" class="left required" style="width: 70%">
+ <select name="countryGeoId" id="billToCountryGeoId" class="required">
<#if billToCountryGeoId??>
<option value='${billToCountryGeoId!}'>${billToCountryProvinceGeo!(billToCountryGeoId!)}</option>
</#if>
@@ -55,7 +55,7 @@
</div>
<div id="billToStates">
<label for="billToStateProvinceGeoId">${uiLabelMap.PartyState}*<span id="advice-required-billToStateProvinceGeoId" style="display: none" class="errorMessage">(required)</span></label>
- <select name="stateProvinceGeoId" id="billToStateProvinceGeoId" style="width: 70%">
+ <select name="stateProvinceGeoId" id="billToStateProvinceGeoId">
<#if billToStateProvinceGeoId?has_content>
<option value='${billToStateProvinceGeoId!}'>${billToStateProvinceGeo!(billToStateProvinceGeoId!)}</option>
<#else>
Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/EditPostalAddress.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/EditPostalAddress.ftl?rev=816869&r1=816868&r2=816869&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/EditPostalAddress.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/EditPostalAddress.ftl Sat Sep 19 08:05:05 2009
@@ -27,26 +27,26 @@
<input type="hidden" name="productStoreId" value="${productStoreId?if_exists}" />
<div>
<label for="address1_${contactMech.contactMechId}">${uiLabelMap.PartyAddressLine1}*</label>
- <input type="text" class="left required" name="address1" id="address1_${contactMech.contactMechId}" value="${postalAddress.address1?if_exists}" style="width: 50%" size="30" maxlength="30" />
+ <input type="text" class="required" name="address1" id="address1_${contactMech.contactMechId}" value="${postalAddress.address1?if_exists}" maxlength="30" />
<span id="advice-required-address1_${contactMech.contactMechId}" style="display: none" class="errorMessage">(required)</span>
</div>
<div>
<label for="additionalAddress2_${contactMech.contactMechId}">${uiLabelMap.PartyAddressLine2}</label>
- <input type="text" class="left" name="address2" id="additionalAddress2_${contactMech.contactMechId}" value="${postalAddress.address2?if_exists}" style="width: 50%" size="30" maxlength="30" />
+ <input type="text" name="address2" id="additionalAddress2_${contactMech.contactMechId}" value="${postalAddress.address2?if_exists}" maxlength="30" />
</div>
<div>
<label for="city_${contactMech.contactMechId}">${uiLabelMap.PartyCity}*</label>
- <input type="text" class="left required" name="city" id="city_${contactMech.contactMechId}" value="${postalAddress.city?if_exists}" size="30" maxlength="30" />
+ <input type="text" class="required" name="city" id="city_${contactMech.contactMechId}" value="${postalAddress.city?if_exists}" maxlength="30" />
<span id="advice-required-city_${contactMech.contactMechId}" style="display: none" class="errorMessage">(required)</span>
</div>
<div>
<label for="postalCode_${contactMech.contactMechId}">${uiLabelMap.PartyZipCode}*</label>
- <input type="text" class="left required" name="postalCode" id="postalCode_${contactMech.contactMechId}" value="${postalAddress.postalCode?if_exists}" size="12" maxlength="10" />
+ <input type="text" class="required" name="postalCode" id="postalCode_${contactMech.contactMechId}" value="${postalAddress.postalCode?if_exists}" maxlength="10" />
<span id="advice-required-postalCode_${contactMech.contactMechId}" style="display: none" class="errorMessage">(required)</span>
</div>
<div>
<label for="countryGeoId_${contactMech.contactMechId}">${uiLabelMap.PartyCountry}*</label>
- <select name="countryGeoId" id="countryGeoId_${contactMech.contactMechId}" class="left required" style="width: 70%">
+ <select name="countryGeoId" id="countryGeoId_${contactMech.contactMechId}" class="required">
<#if postalAddress.countryGeoId??>
<#assign geo = delegator.findOne("Geo", Static["org.ofbiz.base.util.UtilMisc"].toMap("geoId", postalAddress.countryGeoId), true) />
<option value="${postalAddress.countryGeoId}">${geo.geoName!(postalAddress.countryGeoId)}</option>
@@ -57,7 +57,7 @@
</div>
<div id="states_${contactMech.contactMechId}">
<label for="stateProvinceGeoId_${contactMech.contactMechId}">${uiLabelMap.PartyState}*</label>
- <select name="stateProvinceGeoId" id="stateProvinceGeoId_${contactMech.contactMechId}" style="width: 70%">
+ <select name="stateProvinceGeoId" id="stateProvinceGeoId_${contactMech.contactMechId}">
<#if postalAddress.stateProvinceGeoId??>
<#assign geo = delegator.findOne("Geo", Static["org.ofbiz.base.util.UtilMisc"].toMap("geoId", postalAddress.stateProvinceGeoId), true) />
<option value="${postalAddress.stateProvinceGeoId}">${geo.geoName!(postalAddress.stateProvinceGeoId)}</option>
Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/EditProfile.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/EditProfile.ftl?rev=816869&r1=816868&r2=816869&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/EditProfile.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/EditProfile.ftl Sat Sep 19 08:05:05 2009
@@ -26,18 +26,18 @@
<h3>${uiLabelMap.PartyContactInformation}</h3>
<div>
<label for="firstName">${uiLabelMap.PartyFirstName}*<span id="advice-required-firstName" style="display: none" class="errorMessage">(required)</span></label>
- <input type="text" name="firstName" id="firstName" class="required" value="${firstName?if_exists}" size="30" maxlength="30" />
+ <input type="text" name="firstName" id="firstName" class="required" value="${firstName?if_exists}" maxlength="30" />
</div>
<div>
<label for="lastName">${uiLabelMap.PartyLastName}*<span id="advice-required-lastName" style="display: none" class="errorMessage">(required)</span></label>
- <input type="text" name="lastName" id="lastName" class="required" value="${lastName?if_exists}" size="30" maxlength="30" />
+ <input type="text" name="lastName" id="lastName" class="required" value="${lastName?if_exists}" maxlength="30" />
</div>
<div>
<label for="emailAddress">${uiLabelMap.CommonEmail}*
<span id="advice-required-emailAddress" style="display: none" class="errorMessage">(required)</span>
<span id="advice-validate-email-emailAddress" class="errorMessage" style="display:none">${uiLabelMap.PartyEmailAddressNotFormattedCorrectly}</span>
</label>
- <input type="text" class="required validate-email" name="emailAddress" id="emailAddress" value="${emailAddress?if_exists}" size="30" maxlength="255" />
+ <input type="text" class="required validate-email" name="emailAddress" id="emailAddress" value="${emailAddress?if_exists}" maxlength="255" />
</div>
</fieldset>
@@ -45,19 +45,19 @@
<h3>${uiLabelMap.EcommerceAccountInformation}</h3>
<div>
<label for="userLoginId">${uiLabelMap.CommonUsername}*</label>
- <input type="text" name="userLoginId" id="userLoginId" value="${userLogin.userLoginId?if_exists}" size="30" maxlength="255" <#if userLogin.userLoginId?exists>disabled="disabled"</#if> />
+ <input type="text" name="userLoginId" id="userLoginId" value="${userLogin.userLoginId?if_exists}" maxlength="255" <#if userLogin.userLoginId?exists>disabled="disabled"</#if> />
</div>
<div>
<label for="currentPassword">${uiLabelMap.CommonCurrentPassword}*</label>
- <input type="password" name="currentPassword" id="currentPassword" value="" size="30" maxlength="16" />
+ <input type="password" name="currentPassword" id="currentPassword" value="" maxlength="16" />
</div>
<div>
<label for="newPassword">${uiLabelMap.CommonNewPassword}*</label>
- <input type="password" name="newPassword" id="newPassword" value="" size="30" maxlength="16" />
+ <input type="password" name="newPassword" id="newPassword" value="" maxlength="16" />
</div>
<div>
<label for="newPasswordVerify">${uiLabelMap.CommonNewPasswordVerify}*</label>
- <input type="password" name="newPasswordVerify" id="newPasswordVerify" value="" size="30" maxlength="16" />
+ <input type="password" name="newPasswordVerify" id="newPasswordVerify" value="" maxlength="16" />
</div>
</fieldset>
<div><a id="submitEditUserForm" href="javascript:void(0);" class="button">${uiLabelMap.CommonSubmit}</a></div>
Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/EditShipToAddress.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/EditShipToAddress.ftl?rev=816869&r1=816868&r2=816869&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/EditShipToAddress.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/EditShipToAddress.ftl Sat Sep 19 08:05:05 2009
@@ -26,26 +26,26 @@
<input type="hidden" name="productStoreId" value="${productStoreId?if_exists}" />
<div>
<label for="shipToAddress1">${uiLabelMap.PartyAddressLine1}*</label>
- <input type="text" class="left required" name="address1" id="shipToAddress1" value="${shipToAddress1?if_exists}" size="30" maxlength="30" />
+ <input type="text" class="required" name="address1" id="shipToAddress1" value="${shipToAddress1?if_exists}" maxlength="30" />
<span id="advice-required-shipToAddress1" style="display: none" class="errorMessage">(required)</span>
</div>
<div>
<label for="shipToAddress2">${uiLabelMap.PartyAddressLine2}</label>
- <input type="text" class="left" name="address2" id="shipToAddress2" value="${shipToAddress2?if_exists}" size="30" maxlength="30" />
+ <input type="text" name="address2" id="shipToAddress2" value="${shipToAddress2?if_exists}" maxlength="30" />
</div>
<div>
<label for="shipToCity">${uiLabelMap.PartyCity}*</label>
- <input type="text" class="left required" name="city" id="shipToCity" value="${shipToCity?if_exists}" size="30" maxlength="30" />
+ <input type="text" class="required" name="city" id="shipToCity" value="${shipToCity?if_exists}" maxlength="30" />
<span id="advice-required-shipToCity" style="display: none" class="errorMessage">(required)</span>
</div>
<div>
<label for="shipToPostalCode">${uiLabelMap.PartyZipCode}*</label>
- <input type="text" class="left required" name="postalCode" id="shipToPostalCode" value="${shipToPostalCode?if_exists}" size="12" maxlength="10" />
+ <input type="text" class="required" name="postalCode" id="shipToPostalCode" value="${shipToPostalCode?if_exists}" maxlength="10" />
<span id="advice-required-shipToPostalCode" style="display: none" class="errorMessage">(required)</span>
</div>
<div>
<label for="shipToCountryGeoId">${uiLabelMap.PartyCountry}*</label>
- <select name="countryGeoId" id="shipToCountryGeoId" class="left required" style="width: 70%">
+ <select name="countryGeoId" id="shipToCountryGeoId" class="required">
<#if shipToCountryGeoId??>
<option value="${shipToCountryGeoId!}">${shipToCountryProvinceGeo!(shipToCountryGeoId!)}</option>
</#if>
@@ -55,7 +55,7 @@
</div>
<div id="shipToStates">
<label for="shipToStateProvinceGeoId">${uiLabelMap.PartyState}*<span id="advice-required-shipToStateProvinceGeoId" style="display: none" class="errorMessage">(required)</span></label>
- <select name="stateProvinceGeoId" id="shipToStateProvinceGeoId" style="width: 70%">
+ <select name="stateProvinceGeoId" id="shipToStateProvinceGeoId">
<#if shipToStateProvinceGeoId?has_content>
<option value='${shipToStateProvinceGeoId!}'>${shipToStateProvinceGeo!(shipToStateProvinceGeoId!)}</option>
<#else>
Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/NewCustomer.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/NewCustomer.ftl?rev=816869&r1=816868&r2=816869&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/NewCustomer.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/NewCustomer.ftl Sat Sep 19 08:05:05 2009
@@ -29,17 +29,17 @@
<input type="hidden" name="productStoreId" value="${productStoreId?if_exists}" />
<div>
<label for="firstName">${uiLabelMap.PartyFirstName}* <span id="advice-required-firstName" style="display: none" class="errorMessage">(required)</span></label>
- <input type="text" name="firstName" id="firstName" class="required" value="${parameters.firstName?if_exists}" size="30" maxlength="30" />
+ <input type="text" name="firstName" id="firstName" class="required" value="${parameters.firstName?if_exists}" maxlength="30" />
</div>
<div>
<label for="lastName">${uiLabelMap.PartyLastName}* <span id="advice-required-lastName" style="display: none" class="errorMessage">(required)</span></label>
- <input type="text" name="lastName" id="lastName" class="required" value="${parameters.lastName?if_exists}" size="30" maxlength="30" />
+ <input type="text" name="lastName" id="lastName" class="required" value="${parameters.lastName?if_exists}" maxlength="30" />
</div>
<div>
<label for="emailAddress">${uiLabelMap.CommonEmail}*
<span id="advice-required-emailAddress" style="display: none" class="errorMessage">(required)</span>
</label>
- <input type="text" class="required validate-email" name="emailAddress" id="emailAddress" value="${parameters.emailAddress?if_exists}" size="30" maxlength="255" />
+ <input type="text" class="required validate-email" name="emailAddress" id="emailAddress" value="${parameters.emailAddress?if_exists}" maxlength="255" />
</div>
<span id="advice-validate-email-emailAddress" class="errorMessage" style="display:none">${uiLabelMap.PartyEmailAddressNotFormattedCorrectly}</span>
</fieldset>
@@ -47,7 +47,7 @@
<legend>${uiLabelMap.EcommerceAccountInformation}</legend>
<div>
<label for="username">${uiLabelMap.CommonUsername}* <span id="advice-required-username" style="display: none" class="errorMessage">(required)</span></label>
- <input type="text" name="username" id="username" class="required" value="${parameters.username?if_exists}" size="30" maxlength="255" />
+ <input type="text" name="username" id="username" class="required" value="${parameters.username?if_exists}" maxlength="255" />
</div>
<div>
<label for="password">${uiLabelMap.CommonPassword}* <span id="advice-required-password" style="display: none" class="errorMessage">(required)</span></label>