Mercurial > hg > ugly-duckling
view src/app/analysis-item/analysis-item.component.html @ 348:d17d5038b11a
Wire up as necessary to push the handlers down the tree. This is unfinished.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Thu, 25 May 2017 17:56:14 +0100 |
parents | 2d7da410ba46 |
children | 0e20af8a4065 |
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> <div class="content"> <ng-template [ngIf]="!isLoading()"> <ng-template [ngIf]="isActive && isAudioItem()"> <ugly-live-play-head [timeToPixel]="DOES_NOT_BELONG_HERE" [colour]="'#c33c54'" > </ugly-live-play-head> </ng-template> <ugly-waveform *ngIf="isAudioItem(); else showSpinner" [timeline]="timeline" [trackIdPrefix]=" item.id || item.title" [width]="contentWidth" [audioBuffer]="item.audioData" [onSeek]="onSeek" ></ugly-waveform> <ng-template #showSpinner> <ugly-progress-spinner></ugly-progress-spinner> </ng-template> </ng-template> </div> </md-card-content> </md-card>