episode grid is lining up properly.

pull/2/head
kay.one 12 years ago
parent 8528bb1301
commit c6933f0228

@ -3,6 +3,8 @@
define(['app', 'Episode/Layout'], function () {
NzbDrone.Series.Details.EpisodeStatusCell = Backgrid.Cell.extend({
className: 'episode-status-cell',
events: {
'click': 'showDetails'
},

@ -12,7 +12,9 @@ define(['app', 'Series/Details/EpisodeStatusCell'], function () {
{
name : 'episodeNumber',
label: '#',
cell : 'integer'
cell : Backgrid.IntegerCell.extend({
className: 'episode-number-cell'
})
},
{
@ -23,8 +25,9 @@ define(['app', 'Series/Details/EpisodeStatusCell'], function () {
{
name : 'airDate',
label: 'Air Date',
cell : 'date'
//formatter: new Backgrid.AirDateFormatter()
cell : Backgrid.DateCell.extend({
className: 'episode-air-date-cell'
})
} ,
{
name : 'status',

@ -41,12 +41,12 @@
}
.title {
position:absolute;
left:-10000px;
top:auto;
width:1px;
height:1px;
overflow:hidden;
position: absolute;
left: -10000px;
top: auto;
width: 1px;
height: 1px;
overflow: hidden;
}
.labels {
@ -69,6 +69,7 @@
}
.series-season {
padding-bottom: 20px;
}
}
@ -78,8 +79,8 @@
display: inline-block;
.ended-banner {
color: #EEEEEE;
background-color: #B94A48;
color: #eeeeee;
background-color: #b94a48;
-moz-box-shadow: 2px 2px 20px #888888;
-moz-transform: rotate(45deg);
-moz-transform-origin: 50% 50%;
@ -97,7 +98,7 @@
position: absolute;;
top: 0px;
overflow: hidden;
background-color: #EEEEEE;
background-color: #eeeeee;
width: 100%;
text-align: right;
padding-right: 20px;
@ -106,3 +107,16 @@
}
}
}
.series-season {
.episode-number-cell {
width: 20px;
}
.episode-air-date-cell {
width: 150px;
}
.episode-status-cell {
width: 100px;
}
}

Loading…
Cancel
Save