moved series/season monitor toggle.

pull/4/head
kay.one 12 years ago
parent 12dcc1ae6c
commit 53db90e19a

@ -1,8 +1,8 @@
<div class="series-season"> <div class="series-season">
<h2> <h2>
<i class="x-season-monitored clickable" title="Toggle season monitored status" />
{{seasonTitle}} {{seasonTitle}}
<span class="season-actions pull-right"> <span class="season-actions pull-right">
<i class="x-season-monitored" title="Toggle season monitored status" />
<i class="icon-search x-season-search" title="Search for all episodes in season {{seasonNumber}}" /> <i class="icon-search x-season-search" title="Search for all episodes in season {{seasonNumber}}" />
</span> </span>
</h2> </h2>

@ -89,7 +89,7 @@ define(
_setMonitoredState: function () { _setMonitoredState: function () {
var monitored = this.model.get('monitored'); var monitored = this.model.get('monitored');
this.ui.monitored.removeClass('icon-spinner icon-spin'); this.ui.monitored.removeClass('icon-spin');
if (this.model.get('monitored')) { if (this.model.get('monitored')) {
this.ui.monitored.addClass('icon-bookmark'); this.ui.monitored.addClass('icon-bookmark');
@ -109,11 +109,11 @@ define(
_refreshSeries: function () { _refreshSeries: function () {
var self = this; var self = this;
this.ui.refresh.addClass('icon-spinner icon-spin'); this.ui.refresh.addClass('icon-spin');
var promise = CommandController.Execute('refreshseries', { seriesId: this.model.get('id') }); var promise = CommandController.Execute('refreshseries', { seriesId: this.model.get('id') });
promise.always(function () { promise.always(function () {
self.ui.refresh.removeClass('icon-spinner icon-spin'); self.ui.refresh.removeClass('icon-spin');
}); });
} }
}); });

@ -2,10 +2,10 @@
<div class="span11"> <div class="span11">
<div class="row"> <div class="row">
<h1> <h1>
<i class="icon-bookmark x-monitored clickable" title="Toggle monitored state for entire series"/>
{{title}} {{title}}
<span class="series-actions pull-right"> <span class="series-actions pull-right">
<i class="icon-refresh x-refresh" title="Update Series"/> <i class="icon-refresh x-refresh" title="Update Series"/>
<i class="icon-bookmark x-monitored" title="Toggle monitored state for entire series"/>
<i class="icon-nd-edit x-edit" title="Edit series"/> <i class="icon-nd-edit x-edit" title="Edit series"/>
</span> </span>
</h1> </h1>

@ -1,4 +1,4 @@
.clickable() { .clickable {
cursor: pointer; cursor: pointer;
} }

Loading…
Cancel
Save