diff options
Diffstat (limited to 'client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.html')
-rw-r--r-- | client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.html | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.html b/client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.html index 409e4de5e..2f0c9abb5 100644 --- a/client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.html +++ b/client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.html | |||
@@ -2,8 +2,16 @@ | |||
2 | <div class="import-video-torrent"> | 2 | <div class="import-video-torrent"> |
3 | <div class="icon icon-upload"></div> | 3 | <div class="icon icon-upload"></div> |
4 | 4 | ||
5 | <div class="form-group"> | 5 | <div class="button-file"> |
6 | <label i18n for="magnetUri">Magnet URI</label> | 6 | <span i18n>Select the torrent to import</span> |
7 | <input #torrentfileInput type="file" name="torrentfile" id="torrentfile" accept=".torrent" (change)="fileChange()" /> | ||
8 | </div> | ||
9 | <span class="button-file-extension">(.torrent)</span> | ||
10 | |||
11 | <div class="torrent-or-magnet">Or</div> | ||
12 | |||
13 | <div class="form-group form-group-magnet-uri"> | ||
14 | <label i18n for="magnetUri">Paste magnet URI</label> | ||
7 | <my-help | 15 | <my-help |
8 | helpType="custom" i18n-customHtml | 16 | helpType="custom" i18n-customHtml |
9 | customHtml="You can import any torrent file that points to a mp4 file. You should make sure you have diffusion rights over the content it points to, otherwise it could cause legal trouble to yourself and your instance." | 17 | customHtml="You can import any torrent file that points to a mp4 file. You should make sure you have diffusion rights over the content it points to, otherwise it could cause legal trouble to yourself and your instance." |