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

import.html « templates « ngax « webroot « Server « Duplicati - github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: db8bbeba4b160a84aae3b978a9a08b73e6ce6c41 (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
<div ng-controller="ImportController" class="importpage">
    <h1 translate>Import backup configuration</h1>
    <form enctype="multipart/form-data" id="import-form" class="styled" method="POST" action="{{ImportURL}}" target="submit-target">

        <div class="input text">
            <label for="file" translate>Configuration file:</label>
            <input type="file" name="config"  id="file" />
        </div>

        <div class="input text">            
            <label for="passphrase" translate>Passphrase (if encrypted)</label>
            <input type="password" name="passphrase" id="passphrase" placeholder="{{'Enter encryption passphrase' | translate}}" >
        </div>

        <input type="hidden" name="callback" value="{{CallbackMethod}}">

        <div class="buttons" ng-hide="Connecting">
            <a href="#" class="submit" translate>Cancel</a>
            <a href ng-click="doSubmit()" translate>Import</a>
        </div>
    
        <div class="buttons" ng-show="Connecting">
            <a href translate>Importing ...</a>
        </div>
    </form>

    <iframe style="display:none" id="submit-target" name="submit-target"></iframe>

<div>