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.
Lidarr/src/UI/System/Info/SystemInfoLayout.js

24 lines
770 B

var Backbone = require('backbone');
var Marionette = require('marionette');
var AboutView = require('./About/AboutView');
var DiskSpaceLayout = require('./DiskSpace/DiskSpaceLayout');
var HealthLayout = require('./Health/HealthLayout');
var MoreInfoView = require('./MoreInfo/MoreInfoView');
module.exports = Marionette.Layout.extend({
template : 'System/Info/SystemInfoLayoutTemplate',
regions : {
about : '#about',
diskSpace : '#diskspace',
health : '#health',
moreInfo : '#more-info'
},
onRender : function() {
this.health.show(new HealthLayout());
this.diskSpace.show(new DiskSpaceLayout());
this.about.show(new AboutView());
this.moreInfo.show(new MoreInfoView());
}
});