mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
basic width styling for common cells
This commit is contained in:
parent
e1de291f8c
commit
6838298dbc
@ -1,6 +1,8 @@
|
||||
"use strict";
|
||||
define(['app'], function () {
|
||||
NzbDrone.Cells.RelativeDateCell = Backgrid.Cell.extend({
|
||||
define(['app','Cells/NzbDroneCell'], function () {
|
||||
NzbDrone.Cells.RelativeDateCell = NzbDrone.Cells.NzbDroneCell.extend({
|
||||
|
||||
className : 'relative-date-cell',
|
||||
|
||||
render: function () {
|
||||
|
||||
|
@ -5,3 +5,15 @@
|
||||
.episode-title-cell {
|
||||
.btn-link;
|
||||
}
|
||||
|
||||
.air-date-cell {
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.relative-date-cell {
|
||||
width: 150px;
|
||||
}
|
||||
|
||||
.quality-cell{
|
||||
width: 130px;
|
||||
}
|
||||
|
@ -74,9 +74,11 @@ define(['app', 'Series/SeriesModel'], function () {
|
||||
json[name] = _.bind(this.mutators[name], this)();
|
||||
}
|
||||
}, this));
|
||||
|
||||
json.series = this.get('series').toJSON();
|
||||
|
||||
|
||||
if (this.has('series'))
|
||||
{
|
||||
json.series = this.get('series').toJSON();
|
||||
}
|
||||
return json;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user