Upgraded to FontAwesome 4.3.0

This commit is contained in:
Mark McDowall
2015-02-20 18:20:31 -08:00
parent c4ce64d98d
commit 015deacd7b
132 changed files with 2260 additions and 3917 deletions

View File

@@ -1,12 +1,12 @@
{{#if_eq status compare="Completed"}}
{{#if_eq trackedDownloadStatus compare="Warning"}}
<i class="icon-inbox x-import" title="Force import"></i>
<i class="icon-sonarr-import x-import" title="Force import"></i>
{{/if_eq}}
{{/if_eq}}
{{#if_eq status compare="Pending"}}
<i class="icon-download-alt x-grab" title="Add to download queue (Override Delay Profile)"></i>
<i class="icon-nd-delete x-remove" title="Remove pending release"></i>
<i class="icon-sonarr-download x-grab" title="Add to download queue (Override Delay Profile)"></i>
<i class="icon-sonarr-delete x-remove" title="Remove pending release"></i>
{{else}}
<i class="icon-nd-delete x-remove" title="Remove from download client"></i>
<i class="icon-sonarr-delete x-remove" title="Remove from download client"></i>
{{/if_eq}}

View File

@@ -11,43 +11,43 @@ module.exports = NzbDroneCell.extend({
if (this.cellValue) {
var status = this.cellValue.get('status').toLowerCase();
var trackedDownloadStatus = this.cellValue.has('trackedDownloadStatus') ? this.cellValue.get('trackedDownloadStatus').toLowerCase() : 'ok';
var icon = 'icon-nd-downloading';
var icon = 'icon-sonarr-downloading';
var title = 'Downloading';
var itemTitle = this.cellValue.get('title');
var content = itemTitle;
if (status === 'paused') {
icon = 'icon-pause';
icon = 'icon-sonarr-paused';
title = 'Paused';
}
if (status === 'queued') {
icon = 'icon-cloud';
icon = 'icon-sonarr-queued';
title = 'Queued';
}
if (status === 'completed') {
icon = 'icon-inbox';
icon = 'icon-sonarr-downloaded';
title = 'Downloaded';
}
if (status === 'pending') {
icon = 'icon-time';
icon = 'icon-sonarr-pending';
title = 'Pending';
}
if (status === 'failed') {
icon = 'icon-nd-download-failed';
icon = 'icon-sonarr-download-failed';
title = 'Download failed';
}
if (status === 'warning') {
icon = 'icon-nd-download-warning';
icon = 'icon-sonarr-download-warning';
title = 'Download warning: check download client for more details';
}
if (trackedDownloadStatus === 'warning') {
icon += ' icon-nd-warning';
icon += ' icon-sonarr-warning';
this.templateFunction = Marionette.TemplateCache.get(this.template);
content = this.templateFunction(this.cellValue.toJSON());
@@ -55,10 +55,10 @@ module.exports = NzbDroneCell.extend({
if (trackedDownloadStatus === 'error') {
if (status === 'completed') {
icon = 'icon-nd-import-failed';
icon = 'icon-sonarr-import-failed';
title = 'Import failed: ' + itemTitle;
} else {
icon = 'icon-nd-download-failed';
icon = 'icon-sonarr-download-failed';
title = 'Download failed';
}

View File

@@ -31,7 +31,7 @@
</label>
<span class="help-inline-checkbox">
<i class="icon-nd-form-info" title="Do you want to blacklist this release?"/>
<i class="icon-sonarr-form-info" title="Do you want to blacklist this release?"/>
</span>
</div>
</div>
@@ -42,7 +42,7 @@
{{/if}}
</div>
<div class="modal-footer">
<span class="indicator x-indicator"><i class="icon-spinner icon-spin"></i></span>
<span class="indicator x-indicator"><i class="icon-sonarr-spinner fa-spin"></i></span>
<button class="btn" data-dismiss="modal">cancel</button>
<button class="btn btn-danger x-confirm-remove">remove</button>
</div>