mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
Finishing collection UI.
This commit is contained in:
parent
2c84019a4a
commit
e6de84213d
@ -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>
|
||||
|
@ -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.
Loading…
x
Reference in New Issue
Block a user