Proof of concept - User accounts
This commit is contained in:
parent
bf2ed5c339
commit
8f1f084c5b
45 changed files with 826 additions and 610 deletions
|
@ -2,20 +2,22 @@
|
|||
|
||||
<#-- Template for setting the account reference field, which can also associate a profile with the user account -->
|
||||
|
||||
<#assign strings = i18n() />
|
||||
|
||||
${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" />')}
|
||||
<section id="externalAuthMatchId">
|
||||
<div id="associateProfileBackgroundOne">
|
||||
<div id="alignExternalAuthId">
|
||||
<#if showAssociation??>
|
||||
<label for="externalAuthId">External Auth. ID / Matching ID</label>
|
||||
<label for="externalAuthId">${strings.auth_matching_id_label}</label>
|
||||
<input type="text" name="externalAuthId" value="${externalAuthId}" id="externalAuthId" role="input "/>
|
||||
<span id="externalAuthIdInUse" >This Identifier is already in use.</span>
|
||||
<p class="explanatoryText">Can be used to associate the account with the user's profile via the matching property.</p>
|
||||
<span id="externalAuthIdInUse" >${strings.auth_id_in_use}</span>
|
||||
<p class="explanatoryText">${strings.auth_id_explanation}</p>
|
||||
<#else>
|
||||
<label for="externalAuthId">External Authentication ID</label>
|
||||
<label for="externalAuthId">${strings.auth_id_label}</label>
|
||||
<input type="text" name="externalAuthId" value="${externalAuthId}" id="externalAuthId" role="input "/>
|
||||
<span id="externalAuthIdInUse" >This Identifier is already in use.</span>
|
||||
<span id="externalAuthIdInUse" >${strings.auth_id_in_use}</span>
|
||||
</#if>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -24,10 +26,10 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/edit/forms/css/auto
|
|||
<section id="associated">
|
||||
<div id="associateProfileBackgroundTwo">
|
||||
<p>
|
||||
<label for="associatedProfileName">Associated profile:</label>
|
||||
<label for="associatedProfileName">${strings.associated_profile_label}</label>
|
||||
<span class="acSelectionInfo" id="associatedProfileName"></span>
|
||||
<a href="" id="verifyProfileLink" title="verify this match">(verify this match)</a>
|
||||
<a href="" id="changeProfileLink" title="change profile">(change profile)</a>
|
||||
<a href="" id="verifyProfileLink" title="${strings.verify_this_match_title}">(${strings.verify_this_match})</a>
|
||||
<a href="" id="changeProfileLink" title="${strings.change_profile_title}">(${strings.change_profile})</a>
|
||||
</p>
|
||||
<input type="hidden" id="associatedProfileUri" name="associatedProfileUri" value="" />
|
||||
</div>
|
||||
|
@ -37,16 +39,16 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/edit/forms/css/auto
|
|||
<section id="associationOptions">
|
||||
<div id="associateProfileBackgroundThree">
|
||||
<p>
|
||||
<label for="associateProfileName">Select the associated profile</label>
|
||||
<label for="associateProfileName">${strings.select_associated_profile}</label>
|
||||
<input type="text" id="associateProfileName" name="associateProfileName" class="acSelector" size="35">
|
||||
</p>
|
||||
</div>
|
||||
<div id="associateProfileBackgroundFour">
|
||||
<p> - or - </p>
|
||||
<p> - ${strings.or} - </p>
|
||||
<p>
|
||||
<label for="">Create the associated profile</label>
|
||||
<label for="">${strings.create_associated_profile}</label>
|
||||
<select name="newProfileClassUri" id="newProfileClassUri" >
|
||||
<option value="" selected="selected">Select one</option>
|
||||
<option value="" selected="selected">${strings.select_one}</option>
|
||||
<#list profileTypes?keys as key>
|
||||
<option value="${key}" <#if newProfileClassUri = key> selected </#if> >${profileTypes[key]}</option>
|
||||
</#list>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue