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 | 13 |
1 files changed, 6 insertions, 7 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 c290fd4b1..1d9384161 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 | |||
@@ -1,14 +1,13 @@ | |||
1 | <div *ngIf="!hasImportedVideo" class="upload-video-container"> | 1 | <div *ngIf="!hasImportedVideo" class="upload-video-container" dragDrop (onFileDropped)="setTorrentFile($event)"> |
2 | <div class="first-step-block"> | 2 | <div class="first-step-block"> |
3 | <my-global-icon class="upload-icon" iconName="upload"></my-global-icon> | 3 | <my-global-icon class="upload-icon" iconName="upload"></my-global-icon> |
4 | 4 | ||
5 | <div class="button-file"> | 5 | <div class="button-file form-control" [ngbTooltip]="'(extensions: .torrent)'"> |
6 | <span i18n>Select the torrent to import</span> | 6 | <span i18n>Select the torrent to import</span> |
7 | <input #torrentfileInput type="file" name="torrentfile" id="torrentfile" accept=".torrent" (change)="fileChange()" /> | 7 | <input #torrentfileInput type="file" name="torrentfile" id="torrentfile" accept=".torrent" (change)="fileChange()" /> |
8 | </div> | 8 | </div> |
9 | <span class="button-file-extension">(.torrent)</span> | ||
10 | 9 | ||
11 | <div class="torrent-or-magnet" i18n>Or</div> | 10 | <div class="torrent-or-magnet" i18n-data-content data-content="OR"></div> |
12 | 11 | ||
13 | <div class="form-group form-group-magnet-uri"> | 12 | <div class="form-group form-group-magnet-uri"> |
14 | <label i18n for="magnetUri">Paste magnet URI</label> | 13 | <label i18n for="magnetUri">Paste magnet URI</label> |
@@ -21,13 +20,13 @@ | |||
21 | </ng-template> | 20 | </ng-template> |
22 | </my-help> | 21 | </my-help> |
23 | 22 | ||
24 | <input type="text" id="magnetUri" [(ngModel)]="magnetUri" /> | 23 | <input type="text" id="magnetUri" [(ngModel)]="magnetUri" class="form-control" /> |
25 | </div> | 24 | </div> |
26 | 25 | ||
27 | <div class="form-group"> | 26 | <div class="form-group"> |
28 | <label i18n for="first-step-channel">Channel</label> | 27 | <label i18n for="first-step-channel">Channel</label> |
29 | <div class="peertube-select-container"> | 28 | <div class="peertube-select-container"> |
30 | <select id="first-step-channel" [(ngModel)]="firstStepChannelId"> | 29 | <select id="first-step-channel" [(ngModel)]="firstStepChannelId" class="form-control"> |
31 | <option *ngFor="let channel of userVideoChannels" [value]="channel.id">{{ channel.label }}</option> | 30 | <option *ngFor="let channel of userVideoChannels" [value]="channel.id">{{ channel.label }}</option> |
32 | </select> | 31 | </select> |
33 | </div> | 32 | </div> |
@@ -36,7 +35,7 @@ | |||
36 | <div class="form-group"> | 35 | <div class="form-group"> |
37 | <label i18n for="first-step-privacy">Privacy</label> | 36 | <label i18n for="first-step-privacy">Privacy</label> |
38 | <div class="peertube-select-container"> | 37 | <div class="peertube-select-container"> |
39 | <select id="first-step-privacy" [(ngModel)]="firstStepPrivacyId"> | 38 | <select id="first-step-privacy" [(ngModel)]="firstStepPrivacyId" class="form-control"> |
40 | <option *ngFor="let privacy of videoPrivacies" [value]="privacy.id">{{ privacy.label }}</option> | 39 | <option *ngFor="let privacy of videoPrivacies" [value]="privacy.id">{{ privacy.label }}</option> |
41 | </select> | 40 | </select> |
42 | </div> | 41 | </div> |