view src/app/analysis-item/analysis-item.component.html @ 256:6d128e43f4d5

Merge remote-tracking branch 'lucas/feature/determinate-spinner'
author Chris Cannam <cannam@all-day-breakfast.com>
date Fri, 28 Apr 2017 09:23:57 +0100
parents 53ea6406d601
children 2d7da410ba46
line wrap: on
line source
<md-card>
  <md-card-header>
    <md-card-title>{{item.title}}</md-card-title>
    <md-card-subtitle>{{item.description}}</md-card-subtitle>
  </md-card-header>
  <md-card-content>
    <ng-template [ngIf]="isLoading()">
      <ugly-progress-bar
        [isDeterminate]="true"
        [progress]="item.progress"
      ></ugly-progress-bar>
    </ng-template>
    <ng-template [ngIf]="!isLoading()">
      <ugly-waveform
        [timeline]="timeline"
        [trackIdPrefix]=" item.id || item.title"
        [isSubscribedToAudioService]="isActive && item.isRoot"
        [isSubscribedToExtractionService]="isActive && !item.isRoot"
        [isOneShotExtractor]="true"
        [isSeeking]="isActive"
      ></ugly-waveform>
    </ng-template>
  </md-card-content>
</md-card>