1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-16 21:15:33 -04:00

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

@@ -45,7 +45,7 @@ module.exports = Marionette.Layout.extend({
items : [
{
title : 'Backup',
icon : 'icon-file-text',
icon : 'icon-sonarr-file-text',
command : 'backup',
properties : { type : 'manual' },
successMessage : 'Database and settings were backed up successfully',

View File

@@ -6,16 +6,16 @@ module.exports = NzbDroneCell.extend({
render : function() {
this.$el.empty();
var icon = 'icon-time';
var icon = 'icon-sonarr-backup-scheduled';
var title = 'Scheduled';
var type = this.model.get(this.column.get('name'));
if (type === 'manual') {
icon = 'icon-book';
icon = 'icon-sonarr-backup-manual';
title = 'Manual';
} else if (type === 'update') {
icon = 'icon-retweet';
icon = 'icon-sonarr-backup-update';
title = 'Before update';
}

View File

@@ -5,7 +5,7 @@ module.exports = NzbDroneCell.extend({
render : function() {
var level = this._getValue();
this.$el.html('<i class="icon-nd-health-{0}" title="{1}"/>'.format(this._getValue().toLowerCase(), level));
this.$el.html('<i class="icon-sonarr-health-{0}" title="{1}"/>'.format(this._getValue().toLowerCase(), level));
return this;
}

View File

@@ -64,13 +64,13 @@ module.exports = Marionette.Layout.extend({
items : [
{
title : 'Refresh',
icon : 'icon-refresh',
icon : 'icon-sonarr-refresh',
ownerContext : this,
callback : this._refreshTable
},
{
title : 'Clear Log Files',
icon : 'icon-trash',
icon : 'icon-sonarr-clear',
command : this.deleteFilesCommand,
successMessage : 'Log files have been deleted',
errorMessage : 'Failed to delete log files'

View File

@@ -5,7 +5,7 @@ module.exports = NzbDroneCell.extend({
render : function() {
var level = this._getValue();
this.$el.html('<i class="icon-{0}" title="{1}"/>'.format(this._getValue().toLowerCase(), level));
this.$el.html('<i class="icon-sonarr-log-{0}" title="{1}"/>'.format(this._getValue().toLowerCase(), level));
return this;
}

View File

@@ -93,28 +93,28 @@ module.exports = Marionette.Layout.extend({
key : 'all',
title : '',
tooltip : 'All',
icon : 'icon-circle-blank',
icon : 'icon-sonarr-all',
callback : this._setFilter
},
{
key : 'info',
title : '',
tooltip : 'Info',
icon : 'icon-info',
icon : 'icon-sonarr-log-info',
callback : this._setFilter
},
{
key : 'warn',
title : '',
tooltip : 'Warn',
icon : 'icon-warn',
icon : 'icon-sonarr-log-warn',
callback : this._setFilter
},
{
key : 'error',
title : '',
tooltip : 'Error',
icon : 'icon-error',
icon : 'icon-sonarr-log-error',
callback : this._setFilter
}
]
@@ -126,13 +126,13 @@ module.exports = Marionette.Layout.extend({
items : [
{
title : 'Refresh',
icon : 'icon-refresh',
icon : 'icon-sonarr-refresh',
ownerContext : this,
callback : this._refreshTable
},
{
title : 'Clear Logs',
icon : 'icon-trash',
icon : 'icon-sonarr-clear',
command : 'clearLog'
}
]

View File

@@ -7,15 +7,15 @@
<li class="lifecycle-controls pull-right">
<div class="btn-group">
<button class="btn btn-default btn-icon-only x-shutdown" title="Shutdown">
<i class="icon-nd-shutdown"></i>
<i class="icon-sonarr-shutdown"></i>
</button>
<button class="btn btn-default btn-icon-only x-restart" title="Restart">
<i class="icon-nd-restart"></i>
<i class="icon-sonarr-restart"></i>
</button>
{{#if_eq authentication compare="forms"}}
<a href="{{UrlBase}}/logout" class="btn btn-default btn-icon-only" title="Logout">
<i class="icon-lock"></i>
<i class="icon-sonarr-logout"></i>
</a>
{{/if_eq}}
</div>

View File

@@ -14,7 +14,7 @@ module.exports = NzbDroneCell.extend({
var name = this.model.get('name');
var task = this.model.get('taskName');
this.$el.html('<i class="icon-refresh icon-can-spin x-execute" title="Execute {0}"></i>'.format(name));
this.$el.html('<i class="icon-sonarr-refresh icon-can-spin x-execute" title="Execute {0}"></i>'.format(name));
CommandController.bindToCommand({
element : this.$el.find('.x-execute'),