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

waitarea.html « templates « ngax « webroot « Server « Duplicati - github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b9a33df708eada8600884c329f49430183757c46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<div class="waitarea">
    <div ng-show="serverstate.activeTask == null || serverstate.activeTask.Item1 != taskid">Waiting for task to begin</div>
    <div ng-show="serverstate.activeTask != null &amp;&amp; serverstate.activeTask.Item1 == taskid">
        <div>{{text || 'Task is running'}}</div>
        <div class="progress" style="border: 1px solid;">
            <span>{{ServerStatus.progress_state_text[serverstate.lastPgEvent.Phase] || serverstate.lastPgEvent.Phase}}</span>

            <div class="progress-bar progress-bar-striped" ng-class="{active: serverstate.lastPgEvent.OverallProgress <= 0}" role="progressbar" aria-valuenow="{{serverstate.lastPgEvent.OverallProgress * 100}}" aria-valuemin="0" aria-valuemax="100" style="width:{{serverstate.lastPgEvent.OverallProgress * 100}}%">
            </div>
        </div>
    </div>

    <div ng-show="serverstate.programState == 'Paused'" >
        Server is currently paused, <a style="cursor: pointer" ng-click="ServerStatus.resume()">resume now</a>
    </div>

    <div ng-show="allowCancel">
        <a href class="button" ng-click="cancelTask()">Cancel</a>
    </div>

</div>