I feel pretty,

Oh, so pretty,
I feel pretty and witty and gay!
And I pity
Any girl who isn't me today.
This commit is contained in:
kay.one 2013-06-06 22:15:07 -07:00
commit f63869bcfa
7 changed files with 36 additions and 17 deletions

View file

@ -1,5 +1,5 @@
"use strict";
define(['app', 'Series/Details/SeasonCollectionView','Shared/LoadingView'], function () {
define(['app', 'Series/Details/SeasonCollectionView', 'Shared/LoadingView'], function () {
NzbDrone.Series.Details.SeriesDetailsLayout = Backbone.Marionette.Layout.extend({
itemViewContainer: '.x-series-seasons',
@ -9,10 +9,19 @@ define(['app', 'Series/Details/SeasonCollectionView','Shared/LoadingView'], func
seasons: '#seasons'
},
onShow: function () {
ui: {
header: '.x-header'
},
initialize: function () {
$('body').addClass('backdrop');
},
onShow: function () {
var self = this;
$.backstretch(this.model.get('fanArt'));
this.seasons.show(new NzbDrone.Shared.LoadingView());
this.seasonCollection = new NzbDrone.Series.SeasonCollection();
@ -30,6 +39,7 @@ define(['app', 'Series/Details/SeasonCollectionView','Shared/LoadingView'], func
onClose: function () {
$('.backstretch').remove();
$('body').removeClass('backdrop');
}
});
}

View file

@ -1,10 +1,5 @@
<div class="row series-page-header">
<div class="span3">
<a href="{{traktUrl}}" target="_blank">
<img class="series-poster" src="{{poster}}" {{defaultImg}}>
</a>
</div>
<div class="offset1 span7">
<div class="span11">
<div class="row">
<h1>{{title}}</h1>
</div>

View file

@ -18,14 +18,19 @@
}
.series-page-header {
.card;
padding: 30px 0px;
background: #000000;
color: #ffffff;
opacity: 0.9;
padding: 30px 30px;
margin: 50px 10px;
opacity: 0.9;
}
.series-season {
.card;
margin: 80px 10px;
padding: 20px 40px;
opacity: 0.9;
}
@ -124,3 +129,4 @@
.series-detail-overview {
margin-bottom: 50px;
}