removed inline style and changed two divs to sections

This commit is contained in:
tworrall 2011-07-18 19:32:45 +00:00
parent 7d963f83e9
commit 2cf8beb96a
2 changed files with 18 additions and 12 deletions

View file

@ -168,6 +168,7 @@ padding-right: 5px;
width:280px; width:280px;
margin-left:10px; margin-left:10px;
line-height:15px; line-height:15px;
margin-top:-8px !important;
} }
#associated { #associated {
float:right; float:right;
@ -185,6 +186,10 @@ padding-right: 5px;
} }
#externalAuthIdInUse { #externalAuthIdInUse {
color: #f70; color: #f70;
display: none;
}
#alignExternalAuthId {
margin-left:8px;
} }
#associateProfileBackgroundOne { #associateProfileBackgroundOne {
background-color:#fff; background-color:#fff;
@ -251,6 +256,9 @@ padding-right: 5px;
-webkit-border-bottom-left-radius: 5px; -webkit-border-bottom-left-radius: 5px;
-webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-right-radius: 5px;
} }
#externalAuthId {
width: 12em;
}
/* MISCELLANEOUS ------> */ /* MISCELLANEOUS ------> */
form.customForm input[name="firstName"], form.customForm input[name="firstName"],
@ -259,6 +267,3 @@ form.customForm input[name="newPassword"],
form.customForm input[name="confirmPassword"] { form.customForm input[name="confirmPassword"] {
width: 10em; width: 10em;
} }
#externalAuthId {
width: 12em;
}

View file

@ -4,23 +4,24 @@
${stylesheets.add('<link rel="stylesheet" href="${urls.base}/edit/forms/css/autocomplete.css" />', ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/edit/forms/css/autocomplete.css" />',
'<link rel="stylesheet" href="${urls.base}/js/jquery-ui/css/smoothness/jquery-ui-1.8.9.custom.css" />')} '<link rel="stylesheet" href="${urls.base}/js/jquery-ui/css/smoothness/jquery-ui-1.8.9.custom.css" />')}
<section id="externalAuthMatchId">
<div id="associateProfileBackgroundOne"> <div id="associateProfileBackgroundOne">
<div style="margin-left:8px"> <div id="alignExternalAuthId">
<#if showAssociation??> <#if showAssociation??>
<label for="externalAuthId">External Auth. ID / Matching ID</label> <label for="externalAuthId">External Auth. ID / Matching ID</label>
<input type="text" name="externalAuthId" value="${externalAuthId}" id="externalAuthId" role="input "/> <input type="text" name="externalAuthId" value="${externalAuthId}" id="externalAuthId" role="input "/>
<span id="externalAuthIdInUse" style="display: none;" >This Identifier is already in use.</span> <span id="externalAuthIdInUse" >This Identifier is already in use.</span>
<p class="explanatoryText" style="margin-top:-8px">Can be used to associate the account with the user's profile via the matching property.</p> <p class="explanatoryText">Can be used to associate the account with the user's profile via the matching property.</p>
<#else> <#else>
<label for="externalAuthId">External Authentication ID</label> <label for="externalAuthId">External Authentication ID</label>
<input type="text" name="externalAuthId" value="${externalAuthId}" id="externalAuthId" role="input "/> <input type="text" name="externalAuthId" value="${externalAuthId}" id="externalAuthId" role="input "/>
<span id="externalAuthIdInUse" style="display: none;" >This Identifier is already in use.</span> <span id="externalAuthIdInUse" >This Identifier is already in use.</span>
</#if> </#if>
</div> </div>
</div> </div>
</section>
<#-- If there is an associated profile, show these --> <#-- If there is an associated profile, show these -->
<div id="associated"> <section id="associated">
<div id="associateProfileBackgroundTwo"> <div id="associateProfileBackgroundTwo">
<p> <p>
<label for="associatedProfileName">Associated profile:</label> <label for="associatedProfileName">Associated profile:</label>
@ -30,10 +31,10 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/edit/forms/css/auto
</p> </p>
<input type="hidden" id="associatedProfileUri" name="associatedProfileUri" value="" /> <input type="hidden" id="associatedProfileUri" name="associatedProfileUri" value="" />
</div> </div>
</div> </section>
<#-- If we haven't selected one, show these instead --> <#-- If we haven't selected one, show these instead -->
<div id="associationOptions"> <section id="associationOptions">
<div id="associateProfileBackgroundThree"> <div id="associateProfileBackgroundThree">
<p> <p>
<label for="associateProfileName">Select the associated profile</label> <label for="associateProfileName">Select the associated profile</label>
@ -52,7 +53,7 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/edit/forms/css/auto
</select> </select>
</p> </p>
</div> </div>
</div> </section>
<script type="text/javascript"> <script type="text/javascript">
var associateProfileFieldsData = { var associateProfileFieldsData = {