You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.9 KiB
59 lines
1.9 KiB
var NzbDroneController = require('./Shared/NzbDroneController');
|
|
var AppLayout = require('./AppLayout');
|
|
var Marionette = require('marionette');
|
|
var ActivityLayout = require('./Activity/ActivityLayout');
|
|
var SettingsLayout = require('./Settings/SettingsLayout');
|
|
var AddSeriesLayout = require('./AddSeries/AddSeriesLayout');
|
|
var WantedLayout = require('./Wanted/WantedLayout');
|
|
var CalendarLayout = require('./Calendar/CalendarLayout');
|
|
var ReleaseLayout = require('./Release/ReleaseLayout');
|
|
var SystemLayout = require('./System/SystemLayout');
|
|
var SeasonPassLayout = require('./SeasonPass/SeasonPassLayout');
|
|
var SeriesEditorLayout = require('./Series/Editor/SeriesEditorLayout');
|
|
|
|
module.exports = NzbDroneController.extend({
|
|
addSeries : function(action) {
|
|
this.setTitle('Add Series');
|
|
this.showMainRegion(new AddSeriesLayout({ action : action }));
|
|
},
|
|
|
|
calendar : function() {
|
|
this.setTitle('Calendar');
|
|
this.showMainRegion(new CalendarLayout());
|
|
},
|
|
|
|
settings : function(action) {
|
|
this.setTitle('Settings');
|
|
this.showMainRegion(new SettingsLayout({ action : action }));
|
|
},
|
|
|
|
wanted : function(action) {
|
|
this.setTitle('Wanted');
|
|
this.showMainRegion(new WantedLayout({ action : action }));
|
|
},
|
|
|
|
activity : function(action) {
|
|
this.setTitle('Activity');
|
|
this.showMainRegion(new ActivityLayout({ action : action }));
|
|
},
|
|
|
|
rss : function() {
|
|
this.setTitle('RSS');
|
|
this.showMainRegion(new ReleaseLayout());
|
|
},
|
|
|
|
system : function(action) {
|
|
this.setTitle('System');
|
|
this.showMainRegion(new SystemLayout({ action : action }));
|
|
},
|
|
|
|
seasonPass : function() {
|
|
this.setTitle('Season Pass');
|
|
this.showMainRegion(new SeasonPassLayout());
|
|
},
|
|
|
|
seriesEditor : function() {
|
|
this.setTitle('Series Editor');
|
|
this.showMainRegion(new SeriesEditorLayout());
|
|
}
|
|
}); |