diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-11-20 16:09:38 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-11-21 22:09:45 +0100 |
commit | cf02fbfb17f9e04312f771f245778d31bc1b69d2 (patch) | |
tree | ffffcc63bb328be864a1f0b7ffd6a70448afc9a0 /client/src/app/videos/video-watch/video-magnet.component.html | |
parent | 900f0d2b3cc5035568ffa0853101a12c6abcffdc (diff) | |
download | PeerTube-cf02fbfb17f9e04312f771f245778d31bc1b69d2.tar.gz PeerTube-cf02fbfb17f9e04312f771f245778d31bc1b69d2.tar.zst PeerTube-cf02fbfb17f9e04312f771f245778d31bc1b69d2.zip |
Client: move video watch modals in their own component
Diffstat (limited to 'client/src/app/videos/video-watch/video-magnet.component.html')
-rw-r--r-- | client/src/app/videos/video-watch/video-magnet.component.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/client/src/app/videos/video-watch/video-magnet.component.html b/client/src/app/videos/video-watch/video-magnet.component.html new file mode 100644 index 000000000..9108c7258 --- /dev/null +++ b/client/src/app/videos/video-watch/video-magnet.component.html | |||
@@ -0,0 +1,17 @@ | |||
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)="hideModal()"> | ||
7 | <span aria-hidden="true">×</span> | ||
8 | </button> | ||
9 | <h4 class="modal-title">Magnet Uri</h4> | ||
10 | </div> | ||
11 | |||
12 | <div class="modal-body"> | ||
13 | <input #magnetUriInput (click)="magnetUriInput.select()" type="text" class="form-control input-sm readonly" readonly [value]="video.magnetUri" /> | ||
14 | </div> | ||
15 | </div> | ||
16 | </div> | ||
17 | </div> | ||