Model driven indexer settings

This commit is contained in:
Mark McDowall 2013-04-30 17:01:54 -07:00
parent e03ab2ebea
commit 9d5cb6f3e0
14 changed files with 576 additions and 17 deletions

View file

@ -0,0 +1,13 @@
"use strict";
define(['app'], function (app) {
NzbDrone.Settings.Indexers.Model = Backbone.DeepModel.extend({
mutators: {
fields: function () {
return [
{ key: 'username', title: 'Username', helpText: 'HALP!', value: 'mark', index: 0 },
{ key: 'apiKey', title: 'API Key', helpText: 'HALP!', value: '', index: 1 }
];
}
}
});
});