Created
January 24, 2019 04:18
-
-
Save saimon24/8715f76e12d4ec5156a249fab1931ab5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <ion-header> | |
| <ion-toolbar color="primary"> | |
| <ion-buttons slot="start"> | |
| <ion-back-button defaultHref="/"></ion-back-button> | |
| </ion-buttons> | |
| <ion-title>{{ information?.Genre }}</ion-title> | |
| </ion-toolbar> | |
| </ion-header> | |
| <ion-content padding> | |
| <ion-card *ngIf="information"> | |
| <ion-card-header> | |
| <ion-card-title> | |
| {{ information.Title }} | |
| </ion-card-title> | |
| <ion-card-subtitle> | |
| {{ information.Year }} | |
| </ion-card-subtitle> | |
| </ion-card-header> | |
| <ion-card-content text-center> | |
| <img [src]="information.Poster" class="info-img"> | |
| {{ information.Plot }} | |
| <ion-item lines="none"> | |
| <ion-icon name="star-half" slot="start"></ion-icon> | |
| <ion-label>{{ information.imdbRating }}</ion-label> | |
| </ion-item> | |
| <ion-item lines="none"> | |
| <ion-icon name="clipboard" slot="start"></ion-icon> | |
| <ion-label text-wrap>{{ information.Director }}</ion-label> | |
| </ion-item> | |
| <ion-item lines="none"> | |
| <ion-icon name="contacts" slot="start"></ion-icon> | |
| <ion-label text-wrap>{{ information.Actors }}</ion-label> | |
| </ion-item> | |
| <ion-button expand="full" (click)="openWebsite()" *ngIf="information.Website && information.Website != 'N/A'"> | |
| <ion-icon name="open" slot="start"></ion-icon> | |
| Open Website | |
| </ion-button> | |
| </ion-card-content> | |
| </ion-card> | |
| </ion-content> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment