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
@@ -9,7 +9,7 @@ module.exports = NzbDroneCell.extend({
render : function() {
this.$el.empty();
this.$el.html('<i class="icon-nd-delete"></i>');
this.$el.html('<i class="icon-sonarr-delete"></i>');
return this;
},
+1 -1
View File
@@ -83,7 +83,7 @@ module.exports = Marionette.Layout.extend({
items : [
{
title : 'Clear Blacklist',
icon : 'icon-trash',
icon : 'icon-sonarr-clear',
command : 'clearBlacklist'
}
]
@@ -10,7 +10,7 @@ module.exports = NzbDroneCell.extend({
render : function() {
this.$el.empty();
this.$el.html('<i class="icon-info-sign"></i>');
this.$el.html('<i class="icon-sonarr-info"></i>');
return this;
},
+5 -5
View File
@@ -99,35 +99,35 @@ module.exports = Marionette.Layout.extend({
key : 'all',
title : '',
tooltip : 'All',
icon : 'icon-circle-blank',
icon : 'icon-sonarr-all',
callback : this._setFilter
},
{
key : 'grabbed',
title : '',
tooltip : 'Grabbed',
icon : 'icon-nd-downloading',
icon : 'icon-sonarr-downloading',
callback : this._setFilter
},
{
key : 'imported',
title : '',
tooltip : 'Imported',
icon : 'icon-nd-imported',
icon : 'icon-sonarr-imported',
callback : this._setFilter
},
{
key : 'failed',
title : '',
tooltip : 'Failed',
icon : 'icon-nd-download-failed',
icon : 'icon-sonarr-download-failed',
callback : this._setFilter
},
{
key : 'deleted',
title : '',
tooltip : 'Deleted',
icon : 'icon-nd-deleted',
icon : 'icon-sonarr-deleted',
callback : this._setFilter
}
]
@@ -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}}
+10 -10
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';
}
@@ -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>