]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/videos/+video-edit/video-add.component.html
Fix mark all as read notifications
[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
b04eabb2 13 <ngb-tabset class="video-add-tabset root-tabset bootstrap" [ngClass]="{ 'hide-nav': secondStepType !== undefined }">
897ec54d 14
7373507f 15 <ngb-tab>
b04eabb2
C
16 <ng-template ngbTabTitle><span i18n>Upload a file</span></ng-template>
17 <ng-template ngbTabContent>
7373507f 18 <my-video-upload #videoUpload (firstStepDone)="onFirstStepDone('upload', $event)" (firstStepError)="onError()"></my-video-upload>
b04eabb2
C
19 </ng-template>
20 </ngb-tab>
897ec54d 21
b04eabb2
C
22 <ngb-tab *ngIf="isVideoImportHttpEnabled()">
23 <ng-template ngbTabTitle><span i18n>Import with URL</span></ng-template>
24 <ng-template ngbTabContent>
7373507f 25 <my-video-import-url #videoImportUrl (firstStepDone)="onFirstStepDone('import-url', $event)" (firstStepError)="onError()"></my-video-import-url>
b04eabb2
C
26 </ng-template>
27 </ngb-tab>
ce33919c 28
b04eabb2
C
29 <ngb-tab *ngIf="isVideoImportTorrentEnabled()">
30 <ng-template ngbTabTitle><span i18n>Import with torrent</span></ng-template>
31 <ng-template ngbTabContent>
7373507f 32 <my-video-import-torrent #videoImportTorrent (firstStepDone)="onFirstStepDone('import-torrent', $event)" (firstStepError)="onError()"></my-video-import-torrent>
b04eabb2
C
33 </ng-template>
34 </ngb-tab>
35 </ngb-tabset>
897ec54d 36</div>