blob: 3ff832c007267bd0b6ed8852919a16c32246f79c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
<a href ng-click="hide()" ng-hide="Testing">< {{'Back' | translate}}</a>
<div class="input select">
<label for="type" translate>Storage Type</label>
<select name="type" id="type" ng-model="Backend" ng-options="backend.DisplayName group by backend.GroupType for backend in SystemInfo.GroupedBackendModules | orderBy: ['OrderKey', 'GroupType', 'DisplayName'] track by backend.Key">
</select>
</div>
<div ng-include="TemplateUrl">
</div>
<div ng-show="TemplateUrl == null && Backend != null">
<h3 translate translate-params-backend="Backend.DisplayName">No editor found for the "{{backend}}" storage type</h3>
</div>
<div ng-show="Backend == null">
<h3 translate>Chose a storage type to get started</h3>
</div>
<div class="input textarea" ng-show="ShowAdvancedTextArea">
<label for="targetOptions" translate>Options</label>
<a href ng-click="ShowAdvancedTextArea = false" class="advanced-toggle" translate>Edit as list</a>
<textarea id="targetOptions" name="targetOptions" string-array-as-text placeholder="{{AppUtils.format(AppUtils.exampleOptionString, '--use-ssl=true')}}" ng-model="AdvancedOptions"></textarea>
</div>
<div class="input" ng-hide="ShowAdvancedTextArea">
<label for="backupOptions" translate>Options</label>
<a href ng-click="ShowAdvancedTextArea = true" class="advanced-toggle" translate>Edit as text</a>
<advanced-options-editor ng-option-list="AdvanceOptionList" ng-model="AdvancedOptions"></advanced-options-editor>
</div>
<div class="buttons" ng-hide="Testing">
<a href ng-click="save()" class="save" translate>OK</a>
<a href ng-click="testConnection()" class="test-connection" translate>Test connection</a>
<a href ng-click="hide()" class="warning cancel" translate>Cancel</a>
</div>
<div class="button testmessage" ng-show="Testing">
<h3 translate>Testing ...</h3>
</div>
|