mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 09:03:49 -07:00
Model driven indexer settings
This commit is contained in:
parent
e03ab2ebea
commit
9d5cb6f3e0
14 changed files with 576 additions and 17 deletions
13
UI/Settings/Indexers/Model.js
Normal file
13
UI/Settings/Indexers/Model.js
Normal 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 }
|
||||
];
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue