|
|
@ -9,21 +9,24 @@
|
|
|
|
<span>{{getAvailbilityStatus()}}</span>
|
|
|
|
<span>{{getAvailbilityStatus()}}</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<a>
|
|
|
|
|
|
|
|
<img [routerLink]="generateDetailsLink()" id="cardImage" src="{{result.posterPath}}" class="image"
|
|
|
|
<img [routerLink]="generateDetailsLink()" id="cardImage" src="{{result.posterPath}}" class="image"
|
|
|
|
alt="{{result.title}}">
|
|
|
|
alt="{{result.title}}">
|
|
|
|
|
|
|
|
|
|
|
|
<div class="middle">
|
|
|
|
<div class="middle">
|
|
|
|
|
|
|
|
<a class="poster-overlay" [routerLink]="generateDetailsLink()">
|
|
|
|
|
|
|
|
<div class="summary">
|
|
|
|
<div class="title">{{result.title}}</div>
|
|
|
|
<div class="title">{{result.title}}</div>
|
|
|
|
<div class="small-text ellipsis">{{result.overview}}</div>
|
|
|
|
<div class="small-text ellipsis">{{result.overview}}</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</a>
|
|
|
|
<div class="row" *ngIf="!result.available && !result.approved">
|
|
|
|
<div class="row" *ngIf="!result.available && !result.approved">
|
|
|
|
<div class="col-12">
|
|
|
|
<div class="col-12">
|
|
|
|
<button mat-raised-button class="btn-green full-width" (click)="request($event)">
|
|
|
|
<button mat-raised-button class="btn-green full-width poster-request-btn" (click)="request($event)">
|
|
|
|
<mat-icon *ngIf="!loading">cloud_download</mat-icon>
|
|
|
|
<mat-icon *ngIf="!loading">cloud_download</mat-icon>
|
|
|
|
<i *ngIf="loading" class="fa fa-spinner fa-pulse fa-2x fa-fw" aria-hidden="true"></i>
|
|
|
|
<i *ngIf="loading" class="fa fa-spinner fa-pulse fa-2x fa-fw" aria-hidden="true"></i>
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|