AddConnectorTemplate.html revision 90929d4c6b284dd318f4a78c2aa407afb7423747
90929d4c6b284dd318f4a78c2aa407afb7423747oliver.bradley<!-- Copyright 2015 ForgeRock AS.
90929d4c6b284dd318f4a78c2aa407afb7423747oliver.bradley License terms: https://forgerock.org/cddlv1-0/ -->
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <a href="#connectors/">{{t "templates.connector.backToConnectorList"}}</a>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <h1>{{t "templates.connector.addConnectorTitle"}}</h1>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <form class="form-horizontal" role="form" id="connectorForm">
fb32970675bb7407585778313fc051ed5cc0768cjason.browne <div class="panel panel-collapse-group has-border">
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <div class="panel panel-default panel-collapse">
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <div class="panel-heading" role="tab" id="connectorGeneralHeading">
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <a data-toggle="collapse" href="#connectorGeneralDetails" aria-expanded="true" aria-controls="connectorGeneralDetails" class="">{{t "common.form.generalDetails"}}</a>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <div id="connectorGeneralDetails" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="connectorGeneralDetails" aria-expanded="true">
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <label class="col-sm-3 control-label" for="connectorName">{{t "templates.connector.connectorName"}}</label>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <input class="form-control" type="text" id="connectorName" name="name" value="{{connectorName}}" {{#if editState}} disabled="true" {{else}}data-validator="required spaceCheck" data-validator-event="keyup blur" required autofocus {{/if}} autofocus />
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne {{#unless editState}}
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <span class="error form-control-feedback"><i class='fa validation-icon'></i></span>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <label for="connectorType" class="col-sm-3 control-label">{{t "templates.connector.connectorEnabled"}}</label>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <select class="form-control" data-validator="required" data-validator-event="changed" id="connectorEnabled" name="enabled">
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne {{#staticSelect enabled}}
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <option value="true">{{t "common.form.true"}}</option>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <option value="false">{{t "common.form.false"}}</option>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne {{/staticSelect}}
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <label for="connectorType" class="col-sm-3 control-label">{{t "templates.connector.connectorType"}}</label>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <select name="connectorType" class="form-control" id="connectorType">
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne {{#each versionDisplay}}
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne {{#each versions}}
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <option value="{{connectorName}}_{{bundleVersion}}" connectorTypeName="{{connectorName}}" bundleVersion="{{bundleVersion}}" systemType="{{systemType}}" {{#if selected}} selected{{/if}}>{{displayName}} - {{bundleVersion}}</option>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <a href="#connectors/"><button class="btn btn-default" type="button">{{t 'common.form.cancel'}}</button></a>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <input id="submitConnector" name="submitConnector" disabled="true" class="btn btn-primary" type="submit" value="{{t "templates.connector.addConnectorTitle"}}" />
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <div role="alert" id="connectorErrorMessage" class="alert alert-danger" style="display:none;">
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <i class='fa fa-exclamation-circle'></i><strong>{{t "common.form.error" }}</strong>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <div role="alert" id="connectorWarningMessage" class="alert alert-warning" style="display:none;">
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <i class='fa fa-exclamation-circle'></i><strong>{{t "common.form.warning" }}</strong>