UI Cleanup - Updated Navbar, Profile, Quality and Release subtrees.

This commit is contained in:
Taloth Saldono 2015-02-13 22:47:42 +01:00
commit 860f55996c
10 changed files with 217 additions and 146 deletions

View file

@ -1,12 +1,13 @@
var Backbone = require('backbone');
var ProfileModel = require('./ProfileModel');
module.exports = (function(){
var ProfileCollection = Backbone.Collection.extend({
model : ProfileModel,
url : window.NzbDrone.ApiRoot + '/profile'
});
var profiles = new ProfileCollection();
profiles.fetch();
return profiles;
}).call(this);
var ProfileCollection = Backbone.Collection.extend({
model : ProfileModel,
url : window.NzbDrone.ApiRoot + '/profile'
});
var profiles = new ProfileCollection();
profiles.fetch();
module.exports = profiles;