mirror of https://github.com/Ombi-app/Ombi
parent
857e388dcb
commit
2f5dc4a498
@ -0,0 +1,56 @@
|
||||
<div mat-dialog-content class="background">
|
||||
<div class="row">
|
||||
<div class="col-4">
|
||||
<img id="cardImage" src="{{data.posterPath}}" class="poster" alt="{{data.title}}">
|
||||
</div>
|
||||
<div class="col-8">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<h3><strong>{{data.title}}</strong></h3>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row top-spacing details">
|
||||
<div class="col-6">
|
||||
<strong>Availability:</strong> Unavailable
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<strong>Studio: </strong> Studio1
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<strong>Request Status: </strong> Studio1
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<strong>Director: </strong> Studio1
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<strong>In Cinemas: </strong> Studio1
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<strong>Writer: </strong> Studio1
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row top-spacing">
|
||||
<div class="col-12">
|
||||
{{data.overview}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div mat-dialog-actions>
|
||||
<div class="action-buttons-right">
|
||||
<div class="col-md-12">
|
||||
<button mat-raised-button (click)="onNoClick()" class="request-btn">
|
||||
<mat-icon>add</mat-icon>
|
||||
Request
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
@ -0,0 +1,31 @@
|
||||
$ombi-primary:#3f3f3f;
|
||||
$ombi-primary-700:#313131;
|
||||
$ombi-accent-700:#166d50;
|
||||
.poster {
|
||||
max-width: 100%;
|
||||
border-radius: 2%;
|
||||
}
|
||||
|
||||
.details {
|
||||
background: $ombi-primary-700;
|
||||
padding: 2%;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.details strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
h3 strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.request-btn {
|
||||
background-color: $ombi-accent-700;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.action-buttons-right {
|
||||
width: 100%;
|
||||
text-align: right;
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
import { Component, Inject } from "@angular/core";
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from "@angular/material";
|
||||
import { IDiscoverCardResult } from "../interfaces";
|
||||
|
||||
@Component({
|
||||
selector: "discover-card-details",
|
||||
templateUrl: "./discover-card-details.component.html",
|
||||
styleUrls: ["./discover-card-details.component.scss"],
|
||||
})
|
||||
export class DiscoverCardDetailsComponent {
|
||||
constructor(
|
||||
public dialogRef: MatDialogRef<DiscoverCardDetailsComponent>,
|
||||
@Inject(MAT_DIALOG_DATA) public data: IDiscoverCardResult) { }
|
||||
|
||||
onNoClick(): void {
|
||||
this.dialogRef.close();
|
||||
}
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
<div class="small-middle-container">
|
||||
<div *ngIf="discoverResults" class="row top-spacing full-height">
|
||||
<div class="col-lg-1 col-md-4 col-6" *ngFor="let result of discoverResults" [@slideIn]>
|
||||
<div class="col-lg-1 col-md-2 col-4 small-padding" *ngFor="let result of discoverResults" [@slideIn]>
|
||||
<discover-card [result]="result"></discover-card>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in new issue