mirror of https://github.com/Ombi-app/Ombi
commit
85ffac91ec
@ -1,24 +1,32 @@
|
||||
<p-skeleton *ngIf="!fullyLoaded" width="100%" height="315px"></p-skeleton>
|
||||
|
||||
<div *ngIf="fullyLoaded" class="ombi-card dark-card c" [style.display]="hide ? 'none' : 'block'">
|
||||
<div class="ribbon {{getStatusClass()}} ribbon-top-right"><span>
|
||||
{{getAvailbilityStatus()}}
|
||||
</span></div>
|
||||
<a>
|
||||
<div class="card-top-info">
|
||||
<div class="top-left">
|
||||
{{RequestType[result.type] | humanize}}
|
||||
</div>
|
||||
<div class="{{getStatusClass()}} top-right">
|
||||
<span>{{getAvailbilityStatus()}}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<img [routerLink]="generateDetailsLink()" id="cardImage" src="{{result.posterPath}}" class="image"
|
||||
alt="{{result.title}}">
|
||||
<div class="top-left">{{RequestType[result.type] | humanize}}</div>
|
||||
|
||||
<div class="middle">
|
||||
<div class="title">{{result.title}}</div>
|
||||
<div class="small-text ellipsis">{{result.overview}}</div>
|
||||
<a class="poster-overlay" [routerLink]="generateDetailsLink()">
|
||||
<div class="summary">
|
||||
<div class="title">{{result.title}}</div>
|
||||
<div class="small-text ellipsis">{{result.overview}}</div>
|
||||
</div>
|
||||
</a>
|
||||
<div class="row" *ngIf="!result.available && !result.approved">
|
||||
<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>
|
||||
<i *ngIf="loading" class="fa fa-spinner fa-pulse fa-2x fa-fw" aria-hidden="true"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
@ -1,19 +1,6 @@
|
||||
@import "~styles/variables.scss";
|
||||
|
||||
.viewon-btn {
|
||||
background-color: transparent;
|
||||
margin-top: 7px;
|
||||
text-decoration: none;
|
||||
a.media-icons:hover{
|
||||
color:$ombi-active;
|
||||
}
|
||||
|
||||
.viewon-btn.plex {
|
||||
border: 1px solid #ffd740;
|
||||
color: #ffd740;
|
||||
}
|
||||
.viewon-btn.emby {
|
||||
border: 1px solid #52b54a;
|
||||
color: #52b54a;
|
||||
}
|
||||
.viewon-btn.jellyfin {
|
||||
border: 1px solid #00a4dc;
|
||||
color: #00a4dc;
|
||||
}
|
@ -1,3 +1,14 @@
|
||||
.large-text {
|
||||
font: 500 40px/30px Roboto, "Helvetica Neue", sans-serif;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width:571px){
|
||||
.title-top-banner{
|
||||
padding-left:330px;
|
||||
margin-left:0px;
|
||||
}}
|
||||
|
||||
@media (max-width:571px){
|
||||
.title-top-banner{
|
||||
text-align:center;
|
||||
}}
|
Loading…
Reference in new issue