]>
Commit | Line | Data |
---|---|---|
a96aed15 C |
1 | <div bsModal #modal="bs-modal" class="modal" tabindex="-1"> |
2 | <div class="modal-dialog"> | |
5f0805d3 | 3 | <div class="modal-content"> |
a96aed15 C |
4 | |
5 | <div class="modal-header"> | |
5f0805d3 C |
6 | <span class="close" aria-hidden="true" (click)="hide()"></span> |
7 | <h4 class="modal-title">Download video</h4> | |
a96aed15 C |
8 | </div> |
9 | ||
10 | <div class="modal-body"> | |
5f0805d3 C |
11 | <div class="peertube-select-container"> |
12 | <select [(ngModel)]="resolution"> | |
13 | <option *ngFor="let file of video.files" [value]="file.resolution">{{ file.resolutionLabel }}</option> | |
14 | </select> | |
15 | </div> | |
16 | ||
17 | <div class="download-type"> | |
18 | <div class="peertube-radio-container"> | |
19 | <input type="radio" name="download" id="download-torrent" [(ngModel)]="downloadType" value="torrent"> | |
20 | <label for="download-torrent">Torrent</label> | |
21 | </div> | |
22 | ||
23 | <div class="peertube-radio-container"> | |
24 | <input type="radio" name="download" id="download-direct" [(ngModel)]="downloadType" value="direct"> | |
25 | <label for="download-direct">Direct download</label> | |
26 | </div> | |
27 | </div> | |
0727cab0 | 28 | |
5f0805d3 C |
29 | <div class="form-group inputs"> |
30 | <span class="action-button action-button-cancel" (click)="hide()"> | |
31 | Cancel | |
32 | </span> | |
a96aed15 | 33 | |
5f0805d3 C |
34 | <input |
35 | type="submit" value="Download" class="action-button-submit" | |
36 | (click)="download()" | |
37 | > | |
a96aed15 C |
38 | </div> |
39 | </div> | |
40 | </div> | |
41 | </div> | |
42 | </div> |