EditConnectorTemplate.html revision a17959109d686b5f807be35b9f2ea5dfaed6a9fe
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">
c112934b5bf80ab7765a6a2a98fb7a93dd8038f0Jason Browne <ul class="dropdown-menu pull-rightAd" role="menu">
c112934b5bf80ab7765a6a2a98fb7a93dd8038f0Jason Browne {{#each objectTypes}}
c112934b5bf80ab7765a6a2a98fb7a93dd8038f0Jason 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-icon glyph-icon-active fa fa-list"></span>
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-icon glyph-icon-active fa fa-cube"></span>
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-icon glyph-icon-active fa fa-clock-o"></span>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <span class="glyph-title hidden-xs">Sync</span>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <div role="tabpanel" class="tab-pane active" id="connectorDetailsTab">
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <form class="form-horizontal" role="form" id="connectorForm">
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <div class="panel panel-connector panel-default panel-content panel-collapse-group">
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <div class="panel panel-default panel-collapse">
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <div class="panel-heading" role="tab" id="connectorGeneralHeading">
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <a data-toggle="collapse" href="#connectorGeneralDetails" aria-expanded="true" aria-controls="connectorGeneralDetails" class="">{{t "common.form.generalDetails"}}</a>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <div id="connectorGeneralDetails" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="connectorGeneralDetails" aria-expanded="true">
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <label for="connectorType" class="col-sm-3 control-label">{{t "templates.connector.connectorEnabled"}}</label>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <select class="form-control" data-validator="required" data-validator-event="changed" id="connectorEnabled" name="enabled">
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne {{#staticSelect enabled}}
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <option value="true">{{t "common.form.true"}}</option>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <option value="false">{{t "common.form.false"}}</option>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne {{/staticSelect}}
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <label for="connectorType" class="col-sm-3 control-label">{{t "templates.connector.connectorType"}}</label>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <select name="connectorType" class="form-control" id="connectorType">
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne {{#each versionDisplay}}
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne {{#each versions}}
1e80314f6b8449684f9baac9e8bcae33f0b4e507Jason Browne <option value="{{connectorName}}_{{bundleVersion}}" connectorTypeName="{{connectorName}}" bundleVersion="{{bundleVersion}}" systemType="{{systemType}}" {{#if selected}} selected{{/if}}>{{displayName}} - {{bundleVersion}}</option>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <div id="connectorDetails" class="edit-connector-details"></div>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <div class="tab-pane-footer tab-pane-button-footer">
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <a href="#resources/"><button class="btn btn-default" type="button">{{t 'common.form.cancel'}}</button></a>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <button id="submitConnector" name="submitConnector" class="btn btn-primary" type="button">{{t "templates.connector.saveConnector"}}</button>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <div role="tabpanel" class="tab-pane" id="syncTab">
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <form class="form-horizontal" role="form" id="syncForm">
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <div class="panel panel-connector panel-default panel-content panel-collapse-group">
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <div class="panel panel-default panel-collapse">
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <div class="panel-heading" role="tab" id="liveSyncScheduleHeading">
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <a data-toggle="collapse" href="#liveSyncSchedule" aria-expanded="true" aria-controls="liveSyncScheduleHeading" class="">{{t "templates.connector.liveSync.schedules"}}</a>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <div id="liveSyncSchedule" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="liveSyncSchedule" aria-expanded="true">
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <p class="nameFieldMessage">{{t "templates.connector.liveSync.noName"}}</p>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <p class="objectTypeFieldMessage">{{t "templates.connector.liveSync.noObjects"}}</p>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason 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>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <div id="schedules" class="no-validation-block"></div>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <div class="panel panel-default panel-collapse">
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <div class="panel-heading" role="tab" id="liveSyncHeading">
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <a data-toggle="collapse" href="#liveSyncPanel" aria-expanded="true" aria-controls="liveSyncPanel" class="">{{t "templates.connector.liveSync.title"}}</a>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <div id="liveSyncPanel" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="liveSyncHeading" aria-expanded="true">
fffe7a91d7ab1b41921595895b4e43bfa7390f46Jason Browne <label class="col-sm-3 control-label" for="retryOptions">{{t "templates.connector.liveSync.liveSyncFailure"}}</label>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <select id="retryOptions" class="form-control retryOptions">
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <option value="0">{{t "templates.connector.liveSync.doNotReattempt"}}</option>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <option value="-1">{{t "templates.connector.liveSync.retryIndefinitely"}}</option>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <option value="*" selected>{{t "templates.connector.liveSync.specificAmount"}}</option>
fffe7a91d7ab1b41921595895b4e43bfa7390f46Jason Browne <label class="col-sm-3 control-label" for="syncFailureHandler.maxRetries">{{t "templates.connector.liveSync.retryAttempts"}}</label>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <input class="form-control maxRetries" type="text" name="syncFailureHandler.maxRetries" value="5" />
fffe7a91d7ab1b41921595895b4e43bfa7390f46Jason Browne <label class="col-sm-3 control-label" for="syncFailureHandler.postRetryAction">{{t "templates.connector.liveSync.action"}}</label>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <select name="syncFailureHandler.postRetryAction" class="form-control postRetryAction">
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <option value="logged-ignore">logged-ignore</option>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <option value="dead-letter-queue">dead-letter-queue</option>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <div style="display:none;" class="col-sm-12 script"></div>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <div class="tab-pane-footer tab-pane-button-footer">
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <a href="#resources/"><button class="btn btn-default" type="button">{{t 'common.form.cancel'}}</button></a>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <button id="updateSync" name="updateSync" class="btn btn-primary" type="button">{{t "templates.connector.saveSync"}}</button>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason 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>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <div class="tab-pane-footer tab-pane-button-footer">
c470401bf1bdda23b4f5ace8b5d0f5524ce05fadjason.browne <a href="#connectors/"><button class="btn btn-default" type="button">{{t 'common.form.cancel'}}</button></a>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <button id="updateObjectTypes" name="updateObjectTypes" class="btn btn-primary" type="button">{{t "templates.connector.saveObjectType"}}</button>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne<div role="alert" id="connectorErrorMessage" class="alert alert-danger" style="display:none;">
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <i class='fa fa-exclamation-circle'></i><strong>{{t "common.form.error" }}</strong>
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne<div role="alert" id="connectorWarningMessage" class="alert alert-warning" style="display:none;">
450b61c67b9e44df8df53d6dc501d5263f098e97Jason Browne <i class='fa fa-exclamation-circle'></i><strong>{{t "common.form.warning" }}</strong>