NIHVIVO-2829: template and css changes for account-profile association
This commit is contained in:
parent
816ac0d466
commit
1f8428f488
2 changed files with 65 additions and 45 deletions
|
@ -150,3 +150,33 @@ padding-right: 5px;
|
|||
#reset-password p.note {
|
||||
margin-top: 0;
|
||||
}
|
||||
/* ASSOCIATE PROFILE ------> */
|
||||
.explanatoryText {
|
||||
color:#999;
|
||||
font-size:.8em;
|
||||
font-style:bold;
|
||||
width:280px;
|
||||
margin-left:10px;
|
||||
line-height:15px;
|
||||
}
|
||||
#associated {
|
||||
float:right;
|
||||
margin-top:-98px;
|
||||
margin-right:80px;
|
||||
display:none;
|
||||
}
|
||||
#associated label {
|
||||
margin-bottom:5px;
|
||||
}
|
||||
#associationOptions {
|
||||
float:right;
|
||||
margin-top:-98px;
|
||||
margin-right:80px;
|
||||
display:none;
|
||||
}
|
||||
#verifyProfileLink {
|
||||
margin-left:10px;
|
||||
}
|
||||
#externalAuthIdInUse {
|
||||
color: #f70;
|
||||
}
|
||||
|
|
|
@ -2,19 +2,13 @@
|
|||
|
||||
<#-- Template for setting the account reference field, which can also associate a profile with the user account -->
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="externalAuthId">Account Reference</label>
|
||||
${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"" />')}
|
||||
|
||||
<label for="externalAuthId">External Auth. ID / Matching ID</label>
|
||||
<input type="text" name="externalAuthId" value="${externalAuthId}" id="externalAuthId" role="input "/>
|
||||
<p>
|
||||
External Auth. ID or other unique ID. Can associate the account to the user's profile.
|
||||
</p>
|
||||
<p id="externalAuthIdInUse">
|
||||
That Account Reference is already in use.
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<span id="externalAuthIdInUse" style="display: none;" >This Account Reference 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>
|
||||
<#-- If there is an associated profile, show these -->
|
||||
<div id="associated">
|
||||
<p>
|
||||
|
@ -29,12 +23,12 @@
|
|||
<#-- If we haven't selected one, show these instead -->
|
||||
<div id="associationOptions">
|
||||
<p>
|
||||
<label for="associateProfileName">Select an existing profile</label>
|
||||
<label for="associateProfileName">Select the associated profile</label>
|
||||
<input type="text" id="associateProfileName" name="associateProfileName" class="acSelector" size="35">
|
||||
</p>
|
||||
<p> - or - </p>
|
||||
<p>
|
||||
<label for="">Create an associated profile</label>
|
||||
<label for="">Create the associated profile</label>
|
||||
<select name="degreeUri" id="degreeUri" >
|
||||
<option value="" selected="selected">Select one</option>
|
||||
<#list profileTypes?keys as key>
|
||||
|
@ -44,10 +38,6 @@
|
|||
</p>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<script type="text/javascript">
|
||||
var associateProfileFieldsData = {
|
||||
<#if userUri??>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue