mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
client side code webstorm code cleanup.
This commit is contained in:
parent
375f887539
commit
445ea4f344
94 changed files with 4355 additions and 4243 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
<div class="control-group">
|
||||
<label class="control-label">Download Client</label>
|
||||
|
||||
<div class="controls">
|
||||
<select class="inputClass x-backlog-setting" name="downloadClient">
|
||||
<option value="0">SABnzbd</option>
|
||||
|
@ -17,8 +18,9 @@
|
|||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label">Unsorted TV Directory</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" placeholder="C:\Unsorted TV" name="downloadClientDropDirectory" class="x-path" />
|
||||
<input type="text" placeholder="C:\Unsorted TV" name="downloadClientDropDirectory" class="x-path"/>
|
||||
<span class="help-inline">
|
||||
<i class="icon-question-sign" title="The directory where your download client downloads TV shows to."></i>
|
||||
</span>
|
||||
|
@ -27,9 +29,10 @@
|
|||
|
||||
<div class="control-group">
|
||||
<label class="control-label">Use Scene Name</label>
|
||||
|
||||
<div class="controls">
|
||||
<div class="switch">
|
||||
<input type="checkbox" name="useSceneName" />
|
||||
<input type="checkbox" name="useSceneName"/>
|
||||
</div>
|
||||
<span class="help-inline-checkbox">
|
||||
<i class="icon-question-sign" title="Use Scene name when adding NZB to queue?"></i>
|
||||
|
@ -43,18 +46,21 @@
|
|||
|
||||
<div class="control-group">
|
||||
<label class="control-label">Auto-Configure</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="button" value="Auto-Configure" class="btn btn-inverse" />
|
||||
<input type="button" value="Auto-Configure" class="btn btn-inverse"/>
|
||||
<span class="help-inline">
|
||||
<i class="icon-question-sign" title="(Windows only) If access to SABnzbd doesn't require a username & password and it is on the same system as NzbDrone, you can auto-configure it"></i>
|
||||
<i class="icon-question-sign"
|
||||
title="(Windows only) If access to SABnzbd doesn't require a username & password and it is on the same system as NzbDrone, you can auto-configure it"></i>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label">Host</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" name="sabHost" />
|
||||
<input type="text" name="sabHost"/>
|
||||
<span class="help-inline">
|
||||
<i class="icon-question-sign" title="Hostname or IP Address running SABnzbd"></i>
|
||||
</span>
|
||||
|
@ -63,8 +69,9 @@
|
|||
|
||||
<div class="control-group">
|
||||
<label class="control-label">Port</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" name="sabPort" />
|
||||
<input type="text" name="sabPort"/>
|
||||
<span class="help-inline">
|
||||
<i class="icon-question-sign" title="Port for the SABnzbd Web Interface"></i>
|
||||
</span>
|
||||
|
@ -73,8 +80,9 @@
|
|||
|
||||
<div class="control-group">
|
||||
<label class="control-label">API Key</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" name="sabApiKey" />
|
||||
<input type="text" name="sabApiKey"/>
|
||||
<span class="help-inline">
|
||||
<i class="icon-question-sign" title="API Key for SABnzbd<br/>Found in Config -> General"></i>
|
||||
</span>
|
||||
|
@ -83,8 +91,9 @@
|
|||
|
||||
<div class="control-group">
|
||||
<label class="control-label">Username</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" name="sabUsername" />
|
||||
<input type="text" name="sabUsername"/>
|
||||
<span class="help-inline">
|
||||
<i class="icon-question-sign" title="Username for the SABnzbd web interface"></i>
|
||||
</span>
|
||||
|
@ -93,8 +102,9 @@
|
|||
|
||||
<div class="control-group">
|
||||
<label class="control-label">Password</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="password" name="sabPassword" />
|
||||
<input type="password" name="sabPassword"/>
|
||||
<span class="help-inline">
|
||||
<i class="icon-question-sign" title="Password for the SABnzbd web interface"></i>
|
||||
</span>
|
||||
|
@ -103,6 +113,7 @@
|
|||
|
||||
<div class="control-group">
|
||||
<label class="control-label">TV Category</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" name="sabTvCategory" placeholder="This is not the dropdownlist you're looking for"/>
|
||||
<span class="help-inline">
|
||||
|
@ -113,6 +124,7 @@
|
|||
|
||||
<div class="control-group">
|
||||
<label class="control-label">Backlog Priority</label>
|
||||
|
||||
<div class="controls">
|
||||
<select name="sabBacklogTvPriority">
|
||||
<option>Default</option>
|
||||
|
@ -130,6 +142,7 @@
|
|||
|
||||
<div class="control-group">
|
||||
<label class="control-label">Recent Priority</label>
|
||||
|
||||
<div class="controls">
|
||||
<select name="sabRecentTvPriority">
|
||||
<option>Default</option>
|
||||
|
@ -147,8 +160,9 @@
|
|||
|
||||
<div class="control-group">
|
||||
<label class="control-label">Test</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="button" value="Test" class="btn btn-inverse" />
|
||||
<input type="button" value="Test" class="btn btn-inverse"/>
|
||||
<span class="help-inline">
|
||||
<i class="icon-question-sign" title="Test SABnzbd settings"></i>
|
||||
</span>
|
||||
|
@ -160,8 +174,9 @@
|
|||
<legend>Blackhole</legend>
|
||||
<div class="control-group">
|
||||
<label class="control-label">Blackhole Directory</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" name="blackholeDirectory" class="x-path" />
|
||||
<input type="text" name="blackholeDirectory" class="x-path"/>
|
||||
<span class="help-inline">
|
||||
<i class="icon-question-sign" title="The directory where your download client will pickup .nzb files"></i>
|
||||
</span>
|
||||
|
@ -173,8 +188,9 @@
|
|||
<legend>Pneumatic</legend>
|
||||
<div class="control-group">
|
||||
<label class="control-label">Nzb Directory</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" name="pneumaticDirectory" class="x-path" />
|
||||
<input type="text" name="pneumaticDirectory" class="x-path"/>
|
||||
<span class="help-inline">
|
||||
<i class="icon-question-sign" title="Directory to save NZBs for Pneumatic<br/>must be accessible from XBMC"></i>
|
||||
</span>
|
||||
|
@ -186,8 +202,9 @@
|
|||
<legend>NZBGet</legend>
|
||||
<div class="control-group">
|
||||
<label class="control-label">Host</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" name="nzbgetHost" />
|
||||
<input type="text" name="nzbgetHost"/>
|
||||
<span class="help-inline">
|
||||
<i class="icon-question-sign" title="Hostname or IP Address running NZBGet"></i>
|
||||
</span>
|
||||
|
@ -196,8 +213,9 @@
|
|||
|
||||
<div class="control-group">
|
||||
<label class="control-label">Port</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" name="nzbgetPort" />
|
||||
<input type="text" name="nzbgetPort"/>
|
||||
<span class="help-inline">
|
||||
<i class="icon-question-sign" title="Port for the NZBGet Web Interface"></i>
|
||||
</span>
|
||||
|
@ -206,8 +224,9 @@
|
|||
|
||||
<div class="control-group">
|
||||
<label class="control-label">API Key</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" name="nzbgetApiKey" />
|
||||
<input type="text" name="nzbgetApiKey"/>
|
||||
<span class="help-inline">
|
||||
<i class="icon-question-sign" title="API Key for NZBGet<br/>Found in Config -> General"></i>
|
||||
</span>
|
||||
|
@ -216,8 +235,9 @@
|
|||
|
||||
<div class="control-group">
|
||||
<label class="control-label">Username</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" name="nzbgetUsername" />
|
||||
<input type="text" name="nzbgetUsername"/>
|
||||
<span class="help-inline">
|
||||
<i class="icon-question-sign" title="Username for the NZBGet web interface"></i>
|
||||
</span>
|
||||
|
@ -226,8 +246,9 @@
|
|||
|
||||
<div class="control-group">
|
||||
<label class="control-label">Password</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="password" name="nzbgetPassword" />
|
||||
<input type="password" name="nzbgetPassword"/>
|
||||
<span class="help-inline">
|
||||
<i class="icon-question-sign" title="Password for the NZBGet web interface"></i>
|
||||
</span>
|
||||
|
@ -236,8 +257,9 @@
|
|||
|
||||
<div class="control-group">
|
||||
<label class="control-label">TV Category</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" name="nzbgetTvCategory" />
|
||||
<input type="text" name="nzbgetTvCategory"/>
|
||||
<span class="help-inline">
|
||||
<i class="icon-question-sign" title="Category to use when sending NZBs to NZBGet"></i>
|
||||
</span>
|
||||
|
@ -246,6 +268,7 @@
|
|||
|
||||
<div class="control-group">
|
||||
<label class="control-label">Backlog Priority</label>
|
||||
|
||||
<div class="controls">
|
||||
<select name="nzbgetBacklogTvPriority">
|
||||
<option>Default</option>
|
||||
|
@ -263,6 +286,7 @@
|
|||
|
||||
<div class="control-group">
|
||||
<label class="control-label">Recent Priority</label>
|
||||
|
||||
<div class="controls">
|
||||
<select name="nzbgetRecentTvPriority">
|
||||
<option>Default</option>
|
||||
|
@ -280,8 +304,9 @@
|
|||
|
||||
<div class="control-group">
|
||||
<label class="control-label">Test</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="button" value="Test" class="btn btn-inverse" />
|
||||
<input type="button" value="Test" class="btn btn-inverse"/>
|
||||
<span class="help-inline">
|
||||
<i class="icon-question-sign" title="Test NZBGet settings"></i>
|
||||
</span>
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
'use strict';
|
||||
|
||||
define([
|
||||
'app', 'Settings/SettingsModel'
|
||||
'app', 'Settings/SettingsModel'
|
||||
|
||||
], function () {
|
||||
|
||||
NzbDrone.Settings.DownloadClient.DownloadClientView = Backbone.Marionette.ItemView.extend({
|
||||
template: 'Settings/DownloadClient/DownloadClientTemplate',
|
||||
template : 'Settings/DownloadClient/DownloadClientTemplate',
|
||||
className: 'form-horizontal',
|
||||
|
||||
ui: {
|
||||
switch: '.switch',
|
||||
tooltip: '[class^="help-inline"] i',
|
||||
switch : '.switch',
|
||||
tooltip : '[class^="help-inline"] i',
|
||||
pathInput: '.x-path'
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue