aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-edit/video-add.component.html
blob: 7a50372e9435ed0bdf85c0d80391be918857e4b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<div class="margin-content">
  <div class="title-page title-page-single">
    <ng-container *ngIf="secondStepType === 'import'" i18n>Import {{ videoName }}</ng-container>
    <ng-container *ngIf="secondStepType === 'upload'" i18n>Upload {{ videoName }}</ng-container>
  </div>

  <tabset class="video-add-tabset root-tabset bootstrap" [ngClass]="{ 'hide-nav': secondStepType !== undefined }">

    <tab i18n-heading heading="Upload a file">
      <my-video-upload #videoUpload (firstStepDone)="onFirstStepDone('upload', $event)"></my-video-upload>
    </tab>

    <tab *ngIf="isVideoImportEnabled()" i18n-heading heading="Import with URL">
      <my-video-import-url #videoImportUrl (firstStepDone)="onFirstStepDone('import-url', $event)"></my-video-import-url>
    </tab>
  </tabset>
</div>