Finishing collection UI.

This commit is contained in:
Zoe Roux 2019-10-13 23:19:46 +02:00
parent 2c84019a4a
commit e6de84213d
5 changed files with 4 additions and 2 deletions

View File

@ -1,9 +1,9 @@
<div class="container-fluid">
<div class="row justify-content-center">
<div class="col-md-4 col-lg-3 collection-info">
<div class="col-md-4 col-lg-3 col-xl-2 collection-info">
<img src="poster/{{collection.slug}}" />
</div>
<div class="col-md-8 col-lg-9">
<div class="col-md-8 col-lg-9 col-xl-10">
<h3 class="text-center text-md-left p-2 p-md-3">{{collection.name}}</h3>
<h5 class="date" *ngIf="collection.endYear; else elseBlock">{{collection.startYear}} - {{collection.endYear}}</h5>
<ng-template #elseBlock><h5 class="date">{{collection.startYear}}</h5></ng-template>

View File

@ -5,5 +5,7 @@ export interface Collection
slug: string;
name: string;
overview: string;
startYear: number,
endYear: number,
shows: Show[];
}

Binary file not shown.

Binary file not shown.

Binary file not shown.