Mercurial > hg > ugly-duckling
diff src/app/analysis-item/analysis-item.component.html @ 505:cf4a17efb5d4
Update angular deps, fix material api changes. (currently running an earlier TypeScript version due to restrictions from angular)
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Thu, 12 Oct 2017 13:12:33 +0100 |
parents | abbc096e0335 |
children |
line wrap: on
line diff
--- a/src/app/analysis-item/analysis-item.component.html Fri Aug 25 17:10:11 2017 +0100 +++ b/src/app/analysis-item/analysis-item.component.html Thu Oct 12 13:12:33 2017 +0100 @@ -1,9 +1,9 @@ -<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> +<mat-card> + <mat-card-header> + <mat-card-title>{{item.title}}</mat-card-title> + <mat-card-subtitle>{{item.description}}</mat-card-subtitle> + </mat-card-header> + <mat-card-content> <div class="content"> <ng-template [ngIf]="isLoading()"> <ugly-progress-bar @@ -118,16 +118,16 @@ </ugly-waves-play-head> </ng-template> </div> - </md-card-content> - <md-card-actions + </mat-card-content> + <mat-card-actions *ngIf="isAudioItem()"> - <a md-icon-button + <a mat-icon-button *ngIf="isAudioItem() && item.isExportable" [href]="sanitize(item.uri)" [download]="generateFilename(item)" - ><md-icon>file_download</md-icon></a> - <button md-icon-button (click)="remove.emit(item)"> - <md-icon>delete_forever</md-icon> + ><mat-icon>file_download</mat-icon></a> + <button mat-icon-button (click)="remove.emit(item)"> + <mat-icon>delete_forever</mat-icon> </button> - </md-card-actions> -</md-card> + </mat-card-actions> +</mat-card>