Design video update
[oweals/peertube.git] / client / src / app / videos / +video-watch / video-download.component.html
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">&times;</span>
8         </button>
9         <h4 class="title-page title-page-single">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
16           <a class="orange-button-link " target="_blank" [href]="file.torrentUrl">
17             <span class="icon icon-download"></span>
18             Torrent file
19           </a>
20           <a class="orange-button-link" target="_blank" [href]="file.fileUrl">
21             <span class="icon icon-download"></span>
22             Download
23           </a>
24
25           <!-- Don't display magnet URI for now, this is not compatible with most torrent clients -->
26           <!--<input #magnetUriInput (click)="magnetUriInput.select()" type="text" class="form-control input-sm readonly" readonly [value]="file.magnetUri" />-->
27         </div>
28       </div>
29     </div>
30   </div>
31 </div>