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: 124e12ec5d7673d78e5f645aa3898b7a0eae398c (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
56
<div ng-controller="ExportController" class="exportpage">
    <h1>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">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">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">Encrypt file</label>
            </div>
            <div class="input text" ng-show="UseEncryption">            
                <label for="encryption-passphrase">Passphrase</label>
                <input type="password" name="encryption-password" id="encryption-passphrase" ng-model="Passphrase" placeholder="Enter encryption passphrase" >
            </div>

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

            <div class="buttons" ng-show="Connecting">
                <a href>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>If the backup file was not downloaded automatically,</div>
                <div>
                    <a href="{{DownloadURL}}" target="_blank">right click and choose &quot;Save as ...&quot;</a>
                </div>
            </div>

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

    </form>

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