mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-26 09:47:39 +00:00
basic width styling for common cells
This commit is contained in:
parent
e1de291f8c
commit
6838298dbc
3 changed files with 21 additions and 5 deletions
|
@ -1,6 +1,8 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
define(['app'], function () {
|
define(['app','Cells/NzbDroneCell'], function () {
|
||||||
NzbDrone.Cells.RelativeDateCell = Backgrid.Cell.extend({
|
NzbDrone.Cells.RelativeDateCell = NzbDrone.Cells.NzbDroneCell.extend({
|
||||||
|
|
||||||
|
className : 'relative-date-cell',
|
||||||
|
|
||||||
render: function () {
|
render: function () {
|
||||||
|
|
||||||
|
|
|
@ -5,3 +5,15 @@
|
||||||
.episode-title-cell {
|
.episode-title-cell {
|
||||||
.btn-link;
|
.btn-link;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.air-date-cell {
|
||||||
|
width: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.relative-date-cell {
|
||||||
|
width: 150px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.quality-cell{
|
||||||
|
width: 130px;
|
||||||
|
}
|
||||||
|
|
|
@ -75,8 +75,10 @@ define(['app', 'Series/SeriesModel'], function () {
|
||||||
}
|
}
|
||||||
}, this));
|
}, this));
|
||||||
|
|
||||||
|
if (this.has('series'))
|
||||||
|
{
|
||||||
json.series = this.get('series').toJSON();
|
json.series = this.get('series').toJSON();
|
||||||
|
}
|
||||||
return json;
|
return json;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue