NIHVIVO-2280: Changed div for sections, removed inline styles, fixed display isuses for IE6 and 7 on add/edit account pages

This commit is contained in:
manolobevia 2011-07-21 20:42:03 +00:00
parent 47c5b386d8
commit cf26240fc4
5 changed files with 25 additions and 15 deletions

View file

@ -79,14 +79,14 @@
It will include instructions for activating the account and creating a password.
</p>
<#else>
<div id="passwordContainer">
<section id="passwordContainer" role="region">
<label for="initial-password">Initial password<span class="requiredHint"> *</span></label>
<input type="password" name="initialPassword" value="${initialPassword}" id="initial-password" role="input" />
<p class="note" style="margin-top:-10px">Minimum of ${minimumLength} characters in length.</p>
<p class="note">Minimum of ${minimumLength} characters in length.</p>
<label for="confirm-password">Confirm initial password<span class="requiredHint"> *</span></label>
<input type="password" name="confirmPassword" value="${confirmPassword}" id="confirm-password" role="input" />
</div>
</section>
</#if>
<p><input type="submit" name="submitAdd" value="Add new account" class="submit" /> or <a class="cancel" href="${formUrls.list}">Cancel</a></p>

View file

@ -75,7 +75,7 @@
</#if>
<#if emailIsEnabled??>
<div id="pwdResetContainer" <#if externalAuthOnly?? >class="hidden"</#if> >
<section id="pwdResetContainer" <#if externalAuthOnly?? >class="hidden"</#if> role="region">
<input type="checkbox" name="resetPassword" value="" id="reset-password" role="checkbox" <#if resetPassword??>checked</#if> />
<label class="inline" for="reset-password"> Reset password</label>
@ -84,17 +84,17 @@
be emailed to the address entered above. The password will not
be reset until the user follows the link provided in this email.
</p>
</div>
</section>
<#else>
<div id="passwordContainer" <#if externalAuthOnly?? >class="hidden"</#if> >
<section id="passwordContainer" <#if externalAuthOnly?? >class="hidden"</#if> role="region">
<label for="new-password">New password</label>
<input type="password" name="newPassword" value="${newPassword}" id="new-password" role="input" />
<p class="note" style="margin-top:-10px">Minimum of ${minimumLength} characters in length.<br />
<p class="note">Minimum of ${minimumLength} characters in length.<br />
Leaving this blank means that the password will not be changed.</p>
<label for="confirm-password">Confirm new password</label>
<input type="password" name="confirmPassword" value="${confirmPassword}" id="confirm-password" role="input" />
</div>
</section>
</#if>
<p><input type="submit" name="submitEdit" value="Save changes" class="submit" /> or <a class="cancel" href="${formUrls.list}">Cancel</a></p>