PropertyMappingDialogEditTemplate.html revision 1a664a90d2e672c6e1d0f039da5a104f0c6c5925
<form action="" class="form center no-margin" method="post" onsubmit="return false" id="propertyEditForm" autocomplete="off">
<div id="mappingDialogTabs" role="tabpanel">
<ul class="nav nav-tabs" role="tablist">
<li role="presentation"><a href="#Property_List">{{t "templates.mapping.propertyEdit.propertyListHeader"}}</a></li>
<li role="presentation"><a href="#Transformation_Script">{{t "templates.mapping.propertyEdit.transformationHeader"}}</a></li>
<li class="conditionScript" role="presentation"><a href="#Condition_Script">{{t "templates.mapping.propertyEdit.conditionalUpdateHeader"}}</a></li>
<li role="presentation"><a href="#Default_Values">{{t "templates.mapping.propertyEdit.defaultValuesHeader"}}</a></li>
</ul>
<div class="tab-content">
<div role="tabpanel" class="tab-pane" id="Property_List">
<div class="row">
<div class="col-sm-11">
</div>
<div class="col-sm-5">
<div class="validation-message"></div>
</div>
<div class="col-sm-11">
<div id="arrayAssociationTabs" style="display:none">
<ul>
</ul>
<div class="arrayAssociations" id="arrayAssociations">
<ul></ul>
</div>
<div id="valuePrecedence">
<ul></ul>
</div>
</div>
<!-- <span class="error">x</span> -->
</div>
</div>
</div>
<div role="tabpanel" class="tab-pane" id="Transformation_Script">
<div class="row">
<div class="col-sm-11">
</div>
<div class="col-sm-5">
<label for="currentSourceDisplay">{{t "templates.mapping.propertyEdit.currentSourceValue"}}: </label>
<span class="text-muted"><i>{{#if property.source}}{{property.source}}{{else}}Complete User Object{{/if}}</i></span>
</div>
<div class="col-sm-11">
<div id="transformationScriptHolder"></div>
</div>
<!--
<div id="script_output" class="script_output offset10">
<label style="display:inline" for="exampleResult">{{t "templates.mapping.propertyEdit.exampleResult"}}:</label>
<input type="text" id="exampleResult" readonly value="" style="width:350px">
</div>
<div class="validation-message script_output"></div>
-->
</div>
<!--
<br clear="both">
<p>
</p>
-->
</div>
<div role="tabpanel" class="tab-pane" id="Condition_Script">
<div class="btn-group btn-group-tabs" data-toggle="buttons" id="conditionTabButtons" role="tablist">
<label class="btn btn-default">
<input data-target="noneTab" type="radio" name="conditionalUpdate" id="conditionalNone" value="none" class="conditionalUpdateType" aria-controls="conditions-scripts-tab" role="tab" data-toggle="tab"/> {{t "templates.correlation.noCondition"}}
</label>
<label class="btn btn-default">
<input data-target="conditionFilterTab" type="radio" name="conditionalUpdate" id="conditionalFilter" value="conditionalFilter" aria-controls="conditions-scripts-tab" role="tab" data-toggle="tab" class="conditionalUpdateType"/> {{t "templates.correlation.conditionFilter"}}
</label>
<label class="btn btn-default">
<input data-target="conditionScriptTab" type="radio" name="conditionalUpdate" id="conditionalScript" value="script" aria-controls="conditions-scripts-tab" role="tab" data-toggle="tab" class="conditionalUpdateType" /> {{t "templates.correlation.script"}}
</label>
</div>
<div class="tab-content">
<div style="display:none;" id="noneTab" class="tab-none">
</div>
<div style="display:none;" id="conditionFilterTab" class="conditionalFilter">
<div class="col-sm-12 filter-form form-horizontal" id="conditionFilterHolder">
</div>
<div class="clearfix"></div>
</div>
<div style="display:none;" id="conditionScriptTab" class="conditionalScript">
<div id="conditionScriptHolder"></div>
<!--
<div id="condition_script_output" class="script_output">
<label style="display:inline" for="conditionResult">{{t "templates.mapping.propertyEdit.conditionScriptAction"}} {{sampleUserFullName}}:</label>
<span id="conditionResult"></span>
</div>
-->
<!-- <div class="validation-message script_output"></div>
<p>{{t "templates.mapping.propertyEdit.conditionScriptNote"}}</p> -->
</div>
</div>
</div>
<div role="tabpanel" class="tab-pane" id="Default_Values">
<div class="row">
<div class="col-sm-11">
</div>
<div class="col-sm-5">
<span class="ok" id="default_desc" style="display:none"></span>
</div>
</div>
</div>
</div>
</div>
</form>