1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

fixed card styling for import series

This commit is contained in:
Keivan Beigi 2013-06-04 18:04:34 -07:00
parent 9160343a51
commit 942679d4bd
3 changed files with 15 additions and 10 deletions

View File

@ -1,4 +1,4 @@
<div class="search-item">
<div class="search-item {{#unless isExisting}}search-item-new{{/unless}}">
<div class="row">
<div class="span2">
<a href="{{traktUrl}}" target="_blank">

View File

@ -49,6 +49,7 @@
}
.unmapped-folder-view {
.card;
margin-top: 20px;
padding: 20px;
.folder-header {
@ -65,8 +66,6 @@
.search-item {
.card;
padding-bottom: 20px;
a {
color: #343434;
@ -79,6 +78,10 @@
}
}
.search-item-new {
.card;
}
.new-series-overview {
text-overflow: ellipsis;
white-space: pre-line;
@ -91,7 +94,6 @@
}
.new-series-loadmore {
.card;
.clickable;
font-size: 30px;
font-weight: 300;

View File

@ -25,10 +25,13 @@ define(['app'], function () {
return start.format('{h}.{mm}{tt}');
},
end : function () {
if (this.has('series')) {
var start = Date.create(this.get('airDate'));
var runtime = this.get('series').runtime;
return start.addMinutes(runtime);
}
},
statusLevel : function () {
var episodeFileId = this.get('episodeFileId');