]>
Commit | Line | Data |
---|---|---|
a96aed15 C |
1 | <div bsModal #modal="bs-modal" class="modal" tabindex="-1"> |
2 | <div class="modal-dialog"> | |
3 | <div class="modal-content modal-lg"> | |
4 | ||
5 | <div class="modal-header"> | |
6 | <button type="button" class="close" aria-label="Close" (click)="hide()"> | |
7 | <span aria-hidden="true">×</span> | |
8 | </button> | |
9 | <h4 class="modal-title">Download</h4> | |
10 | </div> | |
11 | ||
12 | <div class="modal-body"> | |
13 | <div *ngFor="let file of video.files" class="resolution-block"> | |
14 | <label>{{ file.resolutionLabel }}</label> | |
15 | <a class="btn btn-default " target="_blank" [href]="file.torrentUrl"> | |
16 | <span class="glyphicon glyphicon-download"></span> | |
17 | Torrent file | |
18 | </a> | |
19 | <a class="btn btn-default" target="_blank" [href]="file.fileUrl"> | |
20 | <span class="glyphicon glyphicon-download"></span> | |
21 | Download | |
22 | </a> | |
23 | ||
24 | <!-- Don't display magnet URI for now, this is not compatible with most torrent clients --> | |
25 | <!--<input #magnetUriInput (click)="magnetUriInput.select()" type="text" class="form-control input-sm readonly" readonly [value]="file.magnetUri" />--> | |
26 | </div> | |
27 | </div> | |
28 | </div> | |
29 | </div> | |
30 | </div> |