remove the last of the resources that used absolute paths and move them to css with relative paths
This commit is contained in:
parent
3e4f2f94dd
commit
4005003003
|
@ -296,6 +296,16 @@ dl.singleline dd {
|
|||
background-image: url('../icons/add.png') !important;
|
||||
}
|
||||
|
||||
.icon-add-url {
|
||||
background-image: url('../icons/add_url.png') !important;
|
||||
}
|
||||
|
||||
.icon-add-magnet {
|
||||
background-image: url('../icons/add_magnet.png') !important;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.icon-pause {
|
||||
background-image: url('../icons/pause.png') !important;
|
||||
}
|
||||
|
@ -367,3 +377,31 @@ dl.singleline dd {
|
|||
.icon-home {
|
||||
background-image: url('../icons/home.png') !important;
|
||||
}
|
||||
|
||||
.icon-error {
|
||||
background-image: url('../icons/error.png') !important;
|
||||
}
|
||||
|
||||
.icon-upload-slots {
|
||||
background-image: url('../icons/upload_slots.png') !important;
|
||||
}
|
||||
|
||||
.icon-expand-all {
|
||||
background-image: url('../icons/expand_all.png') !important;
|
||||
}
|
||||
|
||||
.icon-do-not-download {
|
||||
background-image: url('../icons/no_download.png') !important;
|
||||
}
|
||||
|
||||
.icon-normal {
|
||||
background-image: url('../icons/normal.png') !important;
|
||||
}
|
||||
|
||||
.icon-high {
|
||||
background-image: url('../icons/high.png') !important;
|
||||
}
|
||||
|
||||
.icon-highest {
|
||||
background-image: url('../icons/highest.png') !important;
|
||||
}
|
||||
|
|
|
@ -433,20 +433,20 @@ Deluge.add.AddWindow = Ext.extend(Deluge.add.Window, {
|
|||
id: 'url',
|
||||
cls: 'x-btn-text-icon',
|
||||
text: _('Url'),
|
||||
icon: '/icons/add_url.png',
|
||||
iconCls: 'icon-add-url',
|
||||
handler: this.onUrl,
|
||||
scope: this
|
||||
}, {
|
||||
id: 'infohash',
|
||||
cls: 'x-btn-text-icon',
|
||||
text: _('Infohash'),
|
||||
icon: '/icons/add_magnet.png',
|
||||
iconCls: 'icon-add-magnet',
|
||||
disabled: true
|
||||
}, '->', {
|
||||
id: 'remove',
|
||||
cls: 'x-btn-text-icon',
|
||||
text: _('Remove'),
|
||||
icon: '/icons/remove.png',
|
||||
iconCls: 'icon-remove',
|
||||
handler: this.onRemove,
|
||||
scope: this
|
||||
}]
|
||||
|
|
|
@ -219,14 +219,14 @@ Copyright:
|
|||
id: 'cm-add',
|
||||
cls: 'x-btn-text-icon',
|
||||
text: _('Add'),
|
||||
icon: '/icons/add.png',
|
||||
iconCls: 'icon-add',
|
||||
handler: this.onAddClick,
|
||||
scope: this
|
||||
}, {
|
||||
id: 'cm-remove',
|
||||
cls: 'x-btn-text-icon',
|
||||
text: _('Remove'),
|
||||
icon: '/icons/remove.png',
|
||||
iconCls: 'icon-remove',
|
||||
handler: this.onRemove,
|
||||
disabled: true,
|
||||
scope: this
|
||||
|
@ -234,7 +234,7 @@ Copyright:
|
|||
id: 'cm-stop',
|
||||
cls: 'x-btn-text-icon',
|
||||
text: _('Stop Daemon'),
|
||||
icon: '/icons/error.png',
|
||||
iconCls: 'icon-error',
|
||||
handler: this.onStop,
|
||||
disabled: true,
|
||||
scope: this
|
||||
|
|
|
@ -221,33 +221,28 @@ Copyright:
|
|||
bbar: new Ext.Toolbar({
|
||||
items: [
|
||||
{
|
||||
cls: 'x-btn-text-icon',
|
||||
text: _('Up'),
|
||||
icon: '/icons/up.png',
|
||||
iconCls: 'icon-up',
|
||||
handler: this.onUpClick,
|
||||
scope: this
|
||||
}, {
|
||||
cls: 'x-btn-text-icon',
|
||||
text: _('Down'),
|
||||
icon: '/icons/down.png',
|
||||
iconCls: 'icon-down',
|
||||
handler: this.onDownClick,
|
||||
scope: this
|
||||
}, '->', {
|
||||
cls: 'x-btn-text-icon',
|
||||
text: _('Add'),
|
||||
icon: '/icons/add.png',
|
||||
iconCls: 'icon-add',
|
||||
handler: this.onAddClick,
|
||||
scope: this
|
||||
}, {
|
||||
cls: 'x-btn-text-icon',
|
||||
text: _('Edit'),
|
||||
icon: '/icons/edit_trackers.png',
|
||||
iconCls: 'icon-edit-trackers',
|
||||
handler: this.onEditClick,
|
||||
scope: this
|
||||
}, {
|
||||
cls: 'x-btn-text-icon',
|
||||
text: _('Remove'),
|
||||
icon: '/icons/remove.png',
|
||||
iconCls: 'icon-remove',
|
||||
handler: this.onRemoveClick,
|
||||
scope: this
|
||||
}
|
||||
|
|
|
@ -161,7 +161,7 @@ deluge.menus.torrent = new Ext.menu.Menu({
|
|||
})
|
||||
}, {
|
||||
text: _('Upload Slot Limit'),
|
||||
icon: '/icons/upload_slots.png',
|
||||
iconCls: 'icon-upload-slots',
|
||||
menu: new Ext.menu.Menu({
|
||||
items: [{
|
||||
text: _('0')
|
||||
|
@ -422,26 +422,26 @@ deluge.menus.filePriorities = new Ext.menu.Menu({
|
|||
items: [{
|
||||
id: 'expandAll',
|
||||
text: _('Expand All'),
|
||||
icon: '/icons/expand_all.png'
|
||||
iconCls: 'icon-expand-all'
|
||||
}, '-', {
|
||||
id: 'no_download',
|
||||
text: _('Do Not Download'),
|
||||
icon: '/icons/no_download.png',
|
||||
iconCls: 'icon-do-not-download',
|
||||
filePriority: 0
|
||||
}, {
|
||||
id: 'normal',
|
||||
text: _('Normal Priority'),
|
||||
icon: '/icons/normal.png',
|
||||
iconCls: 'icon-normal',
|
||||
filePriority: 1
|
||||
}, {
|
||||
id: 'high',
|
||||
text: _('High Priority'),
|
||||
icon: '/icons/high.png',
|
||||
iconCls: 'icon-high',
|
||||
filePriority: 2
|
||||
}, {
|
||||
id: 'highest',
|
||||
text: _('Highest Priority'),
|
||||
icon: '/icons/highest.png',
|
||||
iconCls: 'icon-highest',
|
||||
filePriority: 5
|
||||
}]
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue