EditConnectorTemplate.html revision 8d89152aedd015f0a7da31833db9a6210be4070b
c112934b5bf80ab7765a6a2a98fb7a93dd8038f0Jason Browne <a href="#connectors/">{{t "templates.connector.backToConnectorList"}}</a>
c112934b5bf80ab7765a6a2a98fb7a93dd8038f0Jason Browne <span class="header-icon pull-left"><i class="fa {{connectorIcon.iconClass}}"></i></span>
c112934b5bf80ab7765a6a2a98fb7a93dd8038f0Jason Browne <h4 class="page-type">{{displayConnectorType}} - {{fullversion}}</h4>
c112934b5bf80ab7765a6a2a98fb7a93dd8038f0Jason Browne <a href="#mapping/add/connector/{{connectorName}}">
c112934b5bf80ab7765a6a2a98fb7a93dd8038f0Jason Browne <button type="button" class="btn btn-primary btn-actions">
c112934b5bf80ab7765a6a2a98fb7a93dd8038f0Jason Browne <i class="fa fa-plus"></i> {{t "templates.connector.addMapping"}}
c112934b5bf80ab7765a6a2a98fb7a93dd8038f0Jason Browne <button type="button" class="btn btn-default btn-secondary dropdown-toggle btn-actions" data-toggle="dropdown" aria-expanded="false">
3aae38e328731b2de31fb3ac2fa561062deb8c7ejason.browne <ul class="dropdown-menu pull-right" role="menu">
8d89152aedd015f0a7da31833db9a6210be4070bjason.browne {{#if versionCheck}}
8d89152aedd015f0a7da31833db9a6210be4070bjason.browne {{#each objectTypes}}
8d89152aedd015f0a7da31833db9a6210be4070bjason.browne <li class="data-link"><a href="#resource/system/{{/connectorName}}/{{@key}}/list/"><i class="fa fa-database"></i>{{t "templates.admin.ResourceEdit.data"}} ({{@key}})</a></li>
c112934b5bf80ab7765a6a2a98fb7a93dd8038f0Jason Browne <li id="deleteResource"><a href="#"><i class="fa fa-times"></i>{{t "common.form.delete"}}</a></li>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <ul class="nav nav-tabs" role="tablist"><li class="dropdown pull-right tabdrop hide"><a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="icon-align-justify"></i> <i class="fa fa-ellipsis-v"></i></a><ul class="dropdown-menu"></ul></li>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <a href="#connectorDetailsTab" aria-controls="attributes" role="tab" data-toggle="tab">
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <span class="glyph-title hidden-xs">Details</span>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <a href="#objectTypesTab" aria-controls="object types" role="tab" data-toggle="tab">
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <span class="glyph-title hidden-xs">Object Types</span>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <a href="#syncTab" aria-controls="sync" role="tab" data-toggle="tab">
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <span class="glyph-title hidden-xs">Sync</span>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <div role="tabpanel" class="tab-pane active" id="connectorDetailsTab">
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <form class="form-horizontal" role="form" id="connectorForm">
53b1d44e2fe6186c5adde33b6f157252ca8a32f7jason.browne <div class="panel no-margin-bottom panel-connector panel-default panel-content panel-collapse-group">
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 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 <div id="connectorDetails" class="edit-connector-details"></div>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <a href="#connectors/"><button class="btn btn-default" type="button">{{t 'common.form.cancel'}}</button></a>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <button id="submitConnector" name="submitConnector" class="btn btn-primary" type="button">{{t "templates.connector.saveConnector"}}</button>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <div role="tabpanel" class="tab-pane" id="syncTab">
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <form class="form-horizontal" role="form" id="syncForm">
53b1d44e2fe6186c5adde33b6f157252ca8a32f7jason.browne <div class="panel no-margin-bottom panel-connector panel-default panel-content panel-collapse-group">
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <div class="panel panel-default panel-collapse">
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <div class="panel-heading" role="tab" id="liveSyncScheduleHeading">
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <a data-toggle="collapse" href="#liveSyncSchedule" aria-expanded="true" aria-controls="liveSyncScheduleHeading" class="">{{t "templates.connector.liveSync.schedules"}}</a>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <div id="liveSyncSchedule" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="liveSyncSchedule" aria-expanded="true">
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <p class="nameFieldMessage">{{t "templates.connector.liveSync.noName"}}</p>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <p class="objectTypeFieldMessage">{{t "templates.connector.liveSync.noObjects"}}</p>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <label class="col-sm-3 control-label">{{t "templates.connector.liveSync.addLiveSync"}}</label>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <button class="btn btn-default addLiveSync" type="button">{{t "templates.scheduler.addSchedule"}} <i class="fa fa-plus"></i></button>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <div id="schedules" class="no-validation-block"></div>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <div class="panel panel-default panel-collapse">
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <div class="panel-heading" role="tab" id="liveSyncHeading">
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <a data-toggle="collapse" href="#liveSyncPanel" aria-expanded="true" aria-controls="liveSyncPanel" class="">{{t "templates.connector.liveSync.title"}}</a>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <div id="liveSyncPanel" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="liveSyncHeading" aria-expanded="true">
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <label class="col-sm-3 control-label" for="retryOptions">{{t "templates.connector.liveSync.liveSyncFailure"}}</label>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <select id="retryOptions" class="form-control retryOptions">
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <option value="0">{{t "templates.connector.liveSync.doNotReattempt"}}</option>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <option value="-1">{{t "templates.connector.liveSync.retryIndefinitely"}}</option>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <option value="*" selected>{{t "templates.connector.liveSync.specificAmount"}}</option>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <label class="col-sm-3 control-label" for="syncFailureHandler.maxRetries">{{t "templates.connector.liveSync.retryAttempts"}}</label>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <input class="form-control maxRetries" type="text" name="syncFailureHandler.maxRetries" value="5" />
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <label class="col-sm-3 control-label" for="syncFailureHandler.postRetryAction">{{t "templates.connector.liveSync.action"}}</label>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <select name="syncFailureHandler.postRetryAction" class="form-control postRetryAction">
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <option value="logged-ignore">logged-ignore</option>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <option value="dead-letter-queue">dead-letter-queue</option>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <div style="display:none;" class="col-sm-12 script"></div>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <a href="#connectors/"><button class="btn btn-default" type="button">{{t 'common.form.cancel'}}</button></a>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <button id="updateSync" name="updateSync" class="btn btn-primary" type="button">{{t "templates.connector.saveSync"}}</button>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <div role="tabpanel" class="tab-pane" id="objectTypesTab">
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne {{#if objectTypeDefaultConfigs}}
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <form class="form-inline" style="margin-bottom: 20px;">
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <label for="selectObjectConfig" class="light">{{t "templates.connector.objectTypes.objectTypeConfigs"}}:</label>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <select class="form-control" data-type="{{objectTypeDefaultConfigs.0.type}}" id="selectObjectConfig" required>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne {{#each objectTypeDefaultConfigs}}
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <option value="{{fileName}}">{{displayName}}</option>
a17959109d686b5f807be35b9f2ea5dfaed6a9fejason.browne <table id="objectTypeTable" class="group-field-block table">
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne {{#each objectTypes}}
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <button class="btn btn-link edit-objectType"><i class="fa fa-pencil"></i></button>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <button class="btn btn-link delete-objectType"><i class="fa fa-times"></i></button>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <button id="addObjectType" name="addObjectType" class="btn btn-default"><i class="fa fa-plus"></i>{{t "templates.connector.addObjectType"}}</button>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <a href="#connectors/"><button class="btn btn-default" type="button">{{t 'common.form.cancel'}}</button></a>
0e23018cef7ae0d019ca7da5d9e7eaefdc8946bejason.browne <button id="updateObjectTypes" name="updateObjectTypes" class="btn btn-primary" type="button">{{t "templates.connector.saveObjectType"}}</button>
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>