mirror of https://github.com/lidarr/Lidarr
indexer settings is dynamically generated
This commit is contained in:
parent
1877f70403
commit
7696fb54dc
|
@ -24,6 +24,7 @@ module.exports = function (grunt) {
|
|||
'UI/JsLibraries/backbone.backgrid.paginator.js' : 'http://raw.github.com/wyuenho/backgrid/master/lib/extensions/paginator/backgrid-paginator.js',
|
||||
'UI/JsLibraries/backbone.backgrid.filter.js' : 'http://raw.github.com/wyuenho/backgrid/master/lib/extensions/filter/backgrid-filter.js',
|
||||
'UI/JsLibraries/messenger.js' : 'http://raw.github.com/HubSpot/messenger/master/build/js/messenger.js',
|
||||
'UI/JsLibraries/lunr.js' : 'http://raw.github.com/olivernn/lunr.js/master/lunr.js',
|
||||
'UI/Content/messenger.css' : 'http://raw.github.com/HubSpot/messenger/master/build/css/messenger.css',
|
||||
'UI/Content/bootstrap.toggle-switch.css' : 'http://raw.github.com/ghinda/css-toggle-switch/gh-pages/toggle-switch.css',
|
||||
'UI/Content/messenger.future.css' : 'http://raw.github.com/HubSpot/messenger/master/build/css/messenger-theme-future.css'
|
||||
|
|
|
@ -97,6 +97,7 @@
|
|||
<script src="/JsLibraries/backbone.mutators.js"></script>
|
||||
<script src="/JsLibraries/backbone.marionette.js"></script>
|
||||
<script src="/JsLibraries/backbone.pageable.js"></script>
|
||||
<script src="/JsLibraries/lunr.js"></script>
|
||||
<script src="/JsLibraries/backbone.backgrid.js"></script>
|
||||
<script src="/JsLibraries/backbone.backgrid.paginator.js"></script>
|
||||
<script src="/JsLibraries/backbone.backgrid.filter.js"></script>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -4,7 +4,6 @@ define([
|
|||
'Missing/Collection',
|
||||
'Series/Index/Table/AirDateCell',
|
||||
'Series/Index/Table/SeriesStatusCell',
|
||||
'Shared/Toolbar/ToolbarView',
|
||||
'Shared/Toolbar/ToolbarLayout'
|
||||
],
|
||||
function () {
|
||||
|
|
|
@ -6,7 +6,6 @@ define([
|
|||
'Series/Index/EmptyView',
|
||||
'Series/Index/Table/AirDateCell',
|
||||
'Series/Index/Table/SeriesStatusCell',
|
||||
'Shared/Toolbar/ToolbarView',
|
||||
'Shared/Toolbar/ToolbarLayout',
|
||||
'Config'
|
||||
],
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
{{#each fields}}
|
||||
<div class="control-group">
|
||||
<label class="control-label">{{title}}</label>
|
||||
<label class="control-label">{{label}}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" name="fields.{{@index}}.value"/>
|
||||
|
|
|
@ -9,11 +9,6 @@ define([
|
|||
NzbDrone.Settings.Indexers.ItemView = Backbone.Marionette.ItemView.extend({
|
||||
template : 'Settings/Indexers/ItemTemplate',
|
||||
initialize: function () {
|
||||
this.model.set('fields', [
|
||||
{ key: 'username', title: 'Username', helpText: 'HALP!', value: 'mark' },
|
||||
{ key: 'apiKey', title: 'API Key', helpText: 'HALP!', value: 'private' }
|
||||
]);
|
||||
|
||||
NzbDrone.vent.on(NzbDrone.Commands.SaveSettings, this.saveSettings, this);
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue