1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-25 22:37:27 -04:00

Fixed: A lot of small ui errors (e.g. More not showing) (Revert of #1959)

This commit is contained in:
Leonardo Galli
2017-08-24 07:57:31 +02:00
parent 38af8edd59
commit a5823bb15f
246 changed files with 2679 additions and 2276 deletions
@@ -1,6 +1,6 @@
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="close">&times;</button>
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h3>Add Download Client</h3>
</div>
<div class="modal-body">
@@ -4,27 +4,27 @@
</div>
<div class="pull-right">
{{#if_gt presets.length compare=0}}
<button class="btn btn-xs btn-default x-custom">
Custom
<button class="btn btn-xs btn-default x-custom">
Custom
</button>
<div class="btn-group">
<button class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown">
Presets
<span class="caret"></span>
</button>
<div class="btn-group">
<button class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown">
Presets
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
{{#each presets}}
<li class="x-preset" data-id="{{name}}">
<a>{{name}}</a>
</li>
{{/each}}
</ul>
</div>
<ul class="dropdown-menu">
{{#each presets}}
<li class="x-preset" data-id="{{name}}">
<a>{{name}}</a>
</li>
{{/each}}
</ul>
</div>
{{/if_gt}}
{{#if infoLink}}
<a class="btn btn-xs btn-default x-info" href="{{infoLink}}">
<i class="icon-sonarr-form-info"></i>
</a>
<a class="btn btn-xs btn-default x-info" href="{{infoLink}}">
<i class="icon-sonarr-form-info"/>
</a>
{{/if}}
</div>
</div>
</div>
@@ -1,7 +1,7 @@
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="close">&times;</button>
<h3>Delete download client</h3>
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h3>Delete Download Client</h3>
</div>
<div class="modal-body">
<p>Are you sure you want to delete '{{name}}'?</p>
@@ -1,16 +1,16 @@
<fieldset>
<legend>Download clients</legend>
<legend>Download Clients</legend>
<div class="row">
<div class="col-md-12">
<ul class="download-client-list thingies">
<li>
<div class="download-client-item thingy add-card x-add-card">
<span class="center well">
<i class="icon-sonarr-add"></i>
<i class="icon-sonarr-add"/>
</span>
</div>
</li>
</ul>
</div>
</div>
</fieldset>
</fieldset>
@@ -1,10 +1,13 @@
<div class="download-client-item thingy">
<h3>{{name}}</h3>
<div>
<h3>{{name}}</h3>
</div>
<div class="settings">
{{#if enable}}
<span class="label label-success">Enabled</span>
{{else}}
<span class="label label-default">Not enabled</span>
<span class="label label-default">Not Enabled</span>
{{/if}}
</div>
</div>
@@ -2,6 +2,6 @@ var SettingsModelBase = require('../SettingsModelBase');
module.exports = SettingsModelBase.extend({
url : window.NzbDrone.ApiRoot + '/config/downloadclient',
successMessage : 'Download client settings saved.',
errorMessage : 'Failed to save download client settings.'
});
successMessage : 'Download client settings saved',
errorMessage : 'Failed to save download client settings'
});
@@ -1,61 +1,71 @@
<fieldset>
<legend>Completed download handling</legend>
<legend>Completed Download Handling</legend>
<div class="form-group">
<label class="col-sm-3 control-label">Enable</label>
<div class="col-sm-8">
<div class="input-group">
<label class="checkbox toggle well">
<input type="checkbox" name="enableCompletedDownloadHandling" class="x-completed-download-handling">
<input type="checkbox" name="enableCompletedDownloadHandling" class="x-completed-download-handling"/>
<p>
<span>Yes</span>
<span>No</span>
</p>
<div class="btn btn-primary slide-button"></div>
<div class="btn btn-primary slide-button"/>
</label>
<span class="help-inline-checkbox">
<i class="icon-sonarr-form-info" title="Automatically import completed downloads from download client."></i>
<i class="icon-sonarr-form-info" title="Automatically import completed downloads from download client"/>
</span>
</div>
</div>
</div>
<div class="x-completed-download-options advanced-setting">
<div class="form-group">
<label class="col-sm-3 control-label">Remove</label>
<div class="col-sm-8">
<div class="input-group">
<label class="checkbox toggle well">
<input type="checkbox" name="removeCompletedDownloads">
<input type="checkbox" name="removeCompletedDownloads"/>
<p>
<span>Yes</span>
<span>No</span>
</p>
<div class="btn btn-primary slide-button"></div>
<div class="btn btn-primary slide-button"/>
</label>
<span class="help-inline-checkbox">
<i class="icon-sonarr-form-info" title="Remove imported downloads from download client history."></i>
<i class="icon-sonarr-form-info" title="Remove imported downloads from download client history"/>
</span>
</div>
</div>
</div>
</div>
</fieldset>
<fieldset>
<legend>Failed download handling</legend>
<legend>Failed Download Handling</legend>
<div class="form-group">
<label class="col-sm-3 control-label">Redownload</label>
<div class="col-sm-8">
<div class="input-group">
<label class="checkbox toggle well">
<input type="checkbox" name="autoRedownloadFailed" class="x-failed-auto-redownload">
<input type="checkbox" name="autoRedownloadFailed" class="x-failed-auto-redownload"/>
<p>
<span>Yes</span>
<span>No</span>
</p>
<div class="btn btn-primary slide-button"></div>
<div class="btn btn-primary slide-button"/>
</label>
<span class="help-inline-checkbox">
<i class="icon-sonarr-form-info" title="Automatically search and attempt to download a different release."></i>
</span>
<span class="help-inline-checkbox">
<i class="icon-sonarr-form-info" title="Automatically search for and attempt to download a different release"/>
</span>
</div>
</div>
</div>
@@ -65,18 +75,19 @@
<div class="col-sm-8">
<div class="input-group">
<label class="checkbox toggle well">
<input type="checkbox" name="removeFailedDownloads">
<input type="checkbox" name="removeFailedDownloads"/>
<p>
<span>Yes</span>
<span>No</span>
</p>
<div class="btn btn-primary slide-button"></div>
<div class="btn btn-primary slide-button"/>
</label>
<span class="help-inline-checkbox">
<i class="icon-sonarr-form-info" title="Remove failed downloads from download client history."></i>
<i class="icon-sonarr-form-info" title="Remove failed downloads from download client history"/>
</span>
</div>
</div>
</div>
</div>
</fieldset>
</fieldset>
@@ -1,27 +1,32 @@
<fieldset class="advanced-setting">
<legend>Drone Factory options</legend>
<legend>Drone Factory Options</legend>
<div class="alert alert-warning">
Drone Factory is deprecated and should be disabled, use Wanted -> Manual Import to manually import arbitrary directories. See <a href="https://github.com/Radarr/Radarr/wiki/Health-Checks#drone-factory-is-deprecated">the wiki for further details</a>.
</div>
<div class="form-group">
<label class="col-sm-3 control-label">Drone Factory</label>
<div class="col-sm-1 col-sm-push-8 help-inline">
<i class="icon-sonarr-form-info" title="Optional folder to periodically scan for possible imports."></i>
<i class="icon-sonarr-form-warning" title="Do not use the folder that contains some or all of your sorted and named movies - doing so could cause data loss."></i>
<i class="icon-sonarr-form-warning" title="Download client history items that are stored in the drone factory will be ignored."></i>
<i class="icon-sonarr-form-info" title="Optional folder to periodically scan for possible imports"/>
<i class="icon-sonarr-form-warning" title="Do not use the folder that contains some or all of your sorted and named movies - doing so could cause data loss"></i>
<i class="icon-sonarr-form-warning" title="Download client history items that are stored in the drone factory will be ignored."/>
</div>
<div class="col-sm-8 col-sm-pull-1">
<input type="text" name="downloadedMoviesFolder" class="form-control x-path">
<input type="text" name="downloadedMoviesFolder" class="form-control x-path" />
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">Drone Factory interval</label>
<label class="col-sm-3 control-label">Drone Factory Interval</label>
<div class="col-sm-1 col-sm-push-2 help-inline">
<i class="icon-sonarr-form-info" title="Interval in minutes to scan the Drone Factory. Set to zero to disable."></i>
<i class="icon-sonarr-form-info" title="Interval in minutes to scan the Drone Factory. Set to zero to disable."/>
<i class="icon-sonarr-form-warning" title="Setting a high interval or disabling scanning will prevent movies from being imported."></i>
</div>
<div class="col-sm-2 col-sm-pull-1">
<input type="number" name="downloadedMoviesScanInterval" class="form-control">
<input type="number" name="downloadedMoviesScanInterval" class="form-control" />
</div>
</div>
</fieldset>
</fieldset>
@@ -1,6 +1,6 @@
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="close">&times;</button>
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
{{#if id}}
<h3>Edit - {{implementation}}</h3>
{{else}}
@@ -9,29 +9,36 @@
</div>
<div class="modal-body download-client-modal">
{{formMessage message}}
<div class="form-horizontal">
<div class="form-group">
<label class="col-sm-3 control-label">Name</label>
<div class="col-sm-5">
<input type="text" name="name" class="form-control">
<input type="text" name="name" class="form-control"/>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">Enable</label>
<div class="col-sm-5">
<div class="input-group">
<label class="checkbox toggle well">
<input type="checkbox" name="enable">
<input type="checkbox" name="enable"/>
<p>
<span>Yes</span>
<span>No</span>
</p>
<div class="btn btn-primary slide-button"></div>
<div class="btn btn-primary slide-button"/>
</label>
</div>
</div>
</div>
<hr>
{{formBuilder}}
</div>
</div>
@@ -42,14 +49,10 @@
<button class="btn pull-left x-back">Back</button>
{{/if}}
<span class="indicator x-indicator">
<i class="icon-sonarr-spinner fa-spin" aria-hidden="true"></i>
</span>
<button class="btn x-test">
<i class="x-test-icon icon-sonarr-test" aria-hidden="true"></i>
Test
</button>
<span class="indicator x-indicator"><i class="icon-sonarr-spinner fa-spin"></i></span>
<button class="btn x-test">test <i class="x-test-icon icon-sonarr-test"/></button>
<button class="btn" data-dismiss="modal">Cancel</button>
<div class="btn-group">
<button class="btn btn-primary x-save">Save</button>
<button class="btn btn-icon-only btn-primary dropdown-toggle" data-toggle="dropdown">
@@ -57,7 +60,7 @@
</button>
<ul class="dropdown-menu">
<li class="save-and-add x-save-and-add">
Save and add
save and add
</li>
</ul>
</div>
@@ -1,13 +1,13 @@
<fieldset class="advanced-setting">
<legend>Remote path mappings</legend>
<legend>Remote Path Mappings</legend>
<div class="col-md-12">
<div class="rule-setting-list">
<div class="rule-setting-header x-header hidden-xs">
<div class="row">
<span class="col-sm-2">Host</span>
<span class="col-sm-5">Remote path</span>
<span class="col-sm-4">Local path</span>
<span class="col-sm-5">Remote Path</span>
<span class="col-sm-4">Local Path</span>
</div>
</div>
<div class="rows x-rows">
@@ -15,10 +15,10 @@
<div class="rule-setting-footer">
<div class="pull-right">
<span class="add-rule-setting-mapping">
<i class="icon-sonarr-add x-add" title="Add new mapping."></i>
<i class="icon-sonarr-add x-add" title="Add new mapping" />
</span>
</div>
</div>
</div>
</div>
</fieldset>
</fieldset>
@@ -1,7 +1,7 @@
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="close">&times;</button>
<h3>Delete mapping</h3>
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h3>Delete Mapping</h3>
</div>
<div class="modal-body">
<p>Are you sure you want to delete the mapping for '{{localPath}}'?</p>
@@ -1,48 +1,50 @@
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="close">&times;</button>
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
{{#if id}}
<h3>Edit mapping</h3>
<h3>Edit Mapping</h3>
{{else}}
<h3>Add aapping</h3>
<h3>Add Mapping</h3>
{{/if}}
</div>
<div class="modal-body remotepath-mapping-modal">
<div class="form-horizontal">
<p>Use this feature if you have a remotely running download client. Radarr will use the information provided to translate the paths provided by the download client API to something Radarr can access and import.</p>
<div>
<p>Use this feature if you have a remotely running Download Client. Radarr will use the information provided to translate the paths provided by the Download Client API to something Radarr can access and import.</p>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">Host</label>
<div class="col-sm-1 col-sm-push-3 help-inline">
<i class="icon-sonarr-form-info" title="Host you specified for the remote download client."></i>
<i class="icon-sonarr-form-info" title="Host you specified for the remote Download Client." />
</div>
<div class="col-sm-3 col-sm-pull-1">
<input type="text" name="host" class="form-control">
<input type="text" name="host" class="form-control"/>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">Remote path</label>
<label class="col-sm-3 control-label">Remote Path</label>
<div class="col-sm-1 col-sm-push-5 help-inline">
<i class="icon-sonarr-form-info" title="Root path to the directory that the download client can access."></i>
<i class="icon-sonarr-form-info" title="Root path to the directory that the Download Client accesses." />
</div>
<div class="col-sm-5 col-sm-pull-1">
<input type="text" name="remotePath" class="form-control">
<input type="text" name="remotePath" class="form-control"/>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">Local path</label>
<label class="col-sm-3 control-label">Local Path</label>
<div class="col-sm-1 col-sm-push-5 help-inline">
<i class="icon-sonarr-form-info" title="Path that Radarr should use to access the same directory remotely."></i>
<i class="icon-sonarr-form-info" title="Path that Radarr should use to access the same directory remotely." />
</div>
<div class="col-sm-5 col-sm-pull-1">
<input type="text" name="localPath" class="form-control x-path">
<input type="text" name="localPath" class="form-control x-path"/>
</div>
</div>
</div>
@@ -58,4 +60,4 @@
<button class="btn btn-primary x-save">Save</button>
</div>
</div>
</div>
</div>
@@ -8,7 +8,5 @@
{{localPath}}
</div>
<div class="col-sm-1">
<div class="pull-right">
<i class="icon-sonarr-edit x-edit" title="Edit mapping."></i>
</div>
</div>
<div class="pull-right"><i class="icon-sonarr-edit x-edit" title="" data-original-title="Edit Mapping"></i></div>
</div>