Welcome to mirror list, hosted at ThFree Co, Russian Federation.

export.html « templates « ngax « webroot « Server « Duplicati - github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 83f5d37d4a538e303823bd554eb042036c271f22 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<div ng-controller="ExportController" class="exportpage">
    <h1 translate>Export backup configuration</h1>
    <form class="styled">
        <div ng-hide="Completed">
            <div class="input checkbox multiple">
                <div style="display: inline-block">
                    <input type="radio" name="export-type" value="commandline" id="type-commandline" ng-model="ExportType" />
                    <label for="type-commandline" translate>As Command-line</label>
                </div>
            </div>

            <div class="input checkbox multiple">
                <input type="radio" name="export-type" value="file" id="type-file" ng-model="ExportType"/>
                <label for="type-file" translate>To File</label>
            </div>
            <div class="input checkbox multiple" ng-show="ExportType == 'file'">
                <input type="checkbox" name="use-encryption" id="use-encryption" ng-model="UseEncryption"  />
                <label for="use-encryption" translate>Encrypt file</label>
            </div>
            <div class="input text" ng-show="UseEncryption">            
                <label for="encryption-passphrase" translate>Passphrase</label>
                <input type="password" name="encryption-password" id="encryption-passphrase" ng-model="Passphrase" placeholder="{{'Enter encryption passphrase' | translate}}" >
            </div>

            <div class="buttons" ng-hide="Connecting">
                <a href="#" class="submit" translate>Cancel</a>
                <a href ng-click="doExport()" translate>Export</a>
            </div>

            <div class="buttons" ng-show="Connecting">
                <a href translate>Exporting ...</a>
            </div>
        </div>

        <div ng-show="Completed">
            <div class="input textarea commandline" ng-show="CommandLine != null">
                {{CommandLine}}
            </div>

            <div ng-show="DownloadURL != null">
                <div translate>If the backup file was not downloaded automatically,</div>
                <div>
                    <a href="{{DownloadURL}}" target="_blank" translate>right click and choose &quot;Save as ...&quot;</a>
                </div>
            </div>

            <div class="buttons">
                <a href="#" class="submit" translate>Done</a>
            </div>
        </div>

    </form>

    <iframe style="display:none" ng-src="{{DownloadURL}}"></iframe>
</div>