mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-12 08:07:10 -07:00
System page added, with link to logs
This commit is contained in:
parent
625acef635
commit
a9ac2500d5
9 changed files with 132 additions and 5 deletions
|
@ -13,16 +13,18 @@ define(
|
|||
'Calendar/CalendarLayout',
|
||||
'Logs/Layout',
|
||||
'Release/Layout',
|
||||
'System/Layout',
|
||||
'Shared/NotFoundView',
|
||||
'Shared/Modal/Region'
|
||||
], function (App, Marionette, HistoryLayout, SettingsLayout, AddSeriesLayout, SeriesIndexLayout, SeriesDetailsLayout, MissingLayout, SeriesModel, CalendarLayout,
|
||||
LogsLayout, ReleaseLayout, NotFoundView) {
|
||||
LogsLayout, ReleaseLayout, SystemLayout, NotFoundView) {
|
||||
return Marionette.Controller.extend({
|
||||
|
||||
series : function () {
|
||||
this._setTitle('NzbDrone');
|
||||
App.mainRegion.show(new SeriesIndexLayout());
|
||||
},
|
||||
|
||||
seriesDetails: function (query) {
|
||||
|
||||
var self = this;
|
||||
|
@ -74,12 +76,16 @@ define(
|
|||
App.mainRegion.show(new LogsLayout());
|
||||
},
|
||||
|
||||
system: function () {
|
||||
this._setTitle('system');
|
||||
App.mainRegion.show(new SystemLayout());
|
||||
},
|
||||
|
||||
notFound: function () {
|
||||
this._setTitle('Not Found');
|
||||
App.mainRegion.show(new NotFoundView(this));
|
||||
},
|
||||
|
||||
|
||||
_setTitle: function (title) {
|
||||
//$('#title-region').html(title);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue