]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/videos/+video-edit/video-add.component.html
Remove deprecated NgbTabsetModule module
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-edit / video-add.component.html
CommitLineData
27e1a06c 1<div class="margin-content">
cd3d847d
C
2 <div class="alert alert-warning" *ngIf="isRootUser()" i18n>
3 We recommend you to not use the <strong>root</strong> user to publish your videos, since it's the super-admin account of your instance.
4 <br />
5 Instead, <a routerLink="/admin/users">create a dedicated account</a> to upload your videos.
6 </div>
7
8 <div class="title-page title-page-single" *ngIf="isInSecondStep()">
541006e3 9 <ng-container *ngIf="secondStepType === 'import-url' || secondStepType === 'import-torrent'" i18n>Import {{ videoName }}</ng-container>
fbad87b0 10 <ng-container *ngIf="secondStepType === 'upload'" i18n>Upload {{ videoName }}</ng-container>
27e1a06c 11 </div>
897ec54d 12
45c6bcf3
C
13 <div ngbNav #nav="ngbNav" class="nav-tabs video-add-nav" [ngClass]="{ 'hide-nav': secondStepType !== undefined }">
14 <ng-container ngbNavItem>
15 <a ngbNavLink>
16 <span i18n>Upload a file</span>
17 </a>
897ec54d 18
45c6bcf3 19 <ng-template ngbNavContent>
7373507f 20 <my-video-upload #videoUpload (firstStepDone)="onFirstStepDone('upload', $event)" (firstStepError)="onError()"></my-video-upload>
b04eabb2 21 </ng-template>
45c6bcf3 22 </ng-container>
897ec54d 23
45c6bcf3
C
24 <ng-container ngbNavItem *ngIf="isVideoImportHttpEnabled()">
25 <a ngbNavLink>
26 <span i18n>Import with URL</span>
27 </a>
28
29 <ng-template ngbNavContent>
7373507f 30 <my-video-import-url #videoImportUrl (firstStepDone)="onFirstStepDone('import-url', $event)" (firstStepError)="onError()"></my-video-import-url>
b04eabb2 31 </ng-template>
45c6bcf3
C
32 </ng-container>
33
34 <ng-container ngbNavItem *ngIf="isVideoImportTorrentEnabled()">
35 <a ngbNavLink>
36 <span i18n>Import with torrent</span>
37 </a>
ce33919c 38
45c6bcf3 39 <ng-template ngbNavContent>
7373507f 40 <my-video-import-torrent #videoImportTorrent (firstStepDone)="onFirstStepDone('import-torrent', $event)" (firstStepError)="onError()"></my-video-import-torrent>
b04eabb2 41 </ng-template>
45c6bcf3
C
42 </ng-container>
43 </div>
44
45 <div [ngbNavOutlet]="nav"></div>
897ec54d 46</div>