aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/video-watch/video-share.component.html
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-11-20 16:09:38 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-11-21 22:09:45 +0100
commitcf02fbfb17f9e04312f771f245778d31bc1b69d2 (patch)
treeffffcc63bb328be864a1f0b7ffd6a70448afc9a0 /client/src/app/videos/video-watch/video-share.component.html
parent900f0d2b3cc5035568ffa0853101a12c6abcffdc (diff)
downloadPeerTube-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-share.component.html')
-rw-r--r--client/src/app/videos/video-watch/video-share.component.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/client/src/app/videos/video-watch/video-share.component.html b/client/src/app/videos/video-watch/video-share.component.html
new file mode 100644
index 000000000..2e83e9a45
--- /dev/null
+++ b/client/src/app/videos/video-watch/video-share.component.html
@@ -0,0 +1,25 @@
1<div bsModal #modal="bs-modal" class="modal" tabindex="-1">
2 <div class="modal-dialog modal-lg">
3 <div class="modal-content">
4
5 <div class="modal-header">
6 <button type="button" class="close" aria-label="Close" (click)="hideModal()">
7 <span aria-hidden="true">&times;</span>
8 </button>
9 <h4 class="modal-title">Share</h4>
10 </div>
11
12 <div class="modal-body">
13 <div class="form-group">
14 <label>URL</label>
15 <input #urlInput (click)="urlInput.select()" type="text" class="form-control input-sm readonly" readonly [value]="getVideoUrl()" />
16 </div>
17
18 <div class="form-group">
19 <label>Embed</label>
20 <input #shareInput (click)="shareInput.select()" type="text" class="form-control input-sm readonly" readonly [value]="getVideoIframeCode()" />
21 </div>
22 </div>
23 </div>
24 </div>
25</div>