diff options
Diffstat (limited to 'client/src/app/videos/video-watch/video-watch.component.html')
-rw-r--r-- | client/src/app/videos/video-watch/video-watch.component.html | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/client/src/app/videos/video-watch/video-watch.component.html b/client/src/app/videos/video-watch/video-watch.component.html index 14947da88..d75ed3538 100644 --- a/client/src/app/videos/video-watch/video-watch.component.html +++ b/client/src/app/videos/video-watch/video-watch.component.html | |||
@@ -50,7 +50,7 @@ | |||
50 | </div> | 50 | </div> |
51 | 51 | ||
52 | <div id="video-actions" class="col-md-4 text-right"> | 52 | <div id="video-actions" class="col-md-4 text-right"> |
53 | <button title="Get magnet URI" id="magnet-uri" class="btn btn-default"> | 53 | <button title="Get magnet URI" id="magnet-uri" class="btn btn-default" (click)="showMagnetUriModal()"> |
54 | <span class="glyphicon glyphicon-magnet"></span> Magnet | 54 | <span class="glyphicon glyphicon-magnet"></span> Magnet |
55 | </button> | 55 | </button> |
56 | </div> | 56 | </div> |
@@ -72,3 +72,20 @@ | |||
72 | </div> | 72 | </div> |
73 | </div> | 73 | </div> |
74 | 74 | ||
75 | <div *ngIf="video !== null" bsModal #magnetUriModal="bs-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="magnetUriModal" aria-hidden="true"> | ||
76 | <div class="modal-dialog"> | ||
77 | <div class="modal-content"> | ||
78 | |||
79 | <div class="modal-header"> | ||
80 | <button type="button" class="close" aria-label="Close" (click)="hideMagnetUriModal()"> | ||
81 | <span aria-hidden="true">×</span> | ||
82 | </button> | ||
83 | <h4 class="modal-title">Magnet Uri</h4> | ||
84 | </div> | ||
85 | |||
86 | <div class="modal-body"> | ||
87 | <input #magnetUriInput (click)="magnetUriInput.select()" type="text" class="form-control input-sm" readonly [value]="video.magnetUri" /> | ||
88 | </div> | ||
89 | </div> | ||
90 | </div> | ||
91 | </div> | ||