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;
|
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 {
|
.icon-pause {
|
||||||
background-image: url('../icons/pause.png') !important;
|
background-image: url('../icons/pause.png') !important;
|
||||||
}
|
}
|
||||||
|
@ -367,3 +377,31 @@ dl.singleline dd {
|
||||||
.icon-home {
|
.icon-home {
|
||||||
background-image: url('../icons/home.png') !important;
|
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',
|
id: 'url',
|
||||||
cls: 'x-btn-text-icon',
|
cls: 'x-btn-text-icon',
|
||||||
text: _('Url'),
|
text: _('Url'),
|
||||||
icon: '/icons/add_url.png',
|
iconCls: 'icon-add-url',
|
||||||
handler: this.onUrl,
|
handler: this.onUrl,
|
||||||
scope: this
|
scope: this
|
||||||
}, {
|
}, {
|
||||||
id: 'infohash',
|
id: 'infohash',
|
||||||
cls: 'x-btn-text-icon',
|
cls: 'x-btn-text-icon',
|
||||||
text: _('Infohash'),
|
text: _('Infohash'),
|
||||||
icon: '/icons/add_magnet.png',
|
iconCls: 'icon-add-magnet',
|
||||||
disabled: true
|
disabled: true
|
||||||
}, '->', {
|
}, '->', {
|
||||||
id: 'remove',
|
id: 'remove',
|
||||||
cls: 'x-btn-text-icon',
|
cls: 'x-btn-text-icon',
|
||||||
text: _('Remove'),
|
text: _('Remove'),
|
||||||
icon: '/icons/remove.png',
|
iconCls: 'icon-remove',
|
||||||
handler: this.onRemove,
|
handler: this.onRemove,
|
||||||
scope: this
|
scope: this
|
||||||
}]
|
}]
|
||||||
|
|
|
@ -219,14 +219,14 @@ Copyright:
|
||||||
id: 'cm-add',
|
id: 'cm-add',
|
||||||
cls: 'x-btn-text-icon',
|
cls: 'x-btn-text-icon',
|
||||||
text: _('Add'),
|
text: _('Add'),
|
||||||
icon: '/icons/add.png',
|
iconCls: 'icon-add',
|
||||||
handler: this.onAddClick,
|
handler: this.onAddClick,
|
||||||
scope: this
|
scope: this
|
||||||
}, {
|
}, {
|
||||||
id: 'cm-remove',
|
id: 'cm-remove',
|
||||||
cls: 'x-btn-text-icon',
|
cls: 'x-btn-text-icon',
|
||||||
text: _('Remove'),
|
text: _('Remove'),
|
||||||
icon: '/icons/remove.png',
|
iconCls: 'icon-remove',
|
||||||
handler: this.onRemove,
|
handler: this.onRemove,
|
||||||
disabled: true,
|
disabled: true,
|
||||||
scope: this
|
scope: this
|
||||||
|
@ -234,7 +234,7 @@ Copyright:
|
||||||
id: 'cm-stop',
|
id: 'cm-stop',
|
||||||
cls: 'x-btn-text-icon',
|
cls: 'x-btn-text-icon',
|
||||||
text: _('Stop Daemon'),
|
text: _('Stop Daemon'),
|
||||||
icon: '/icons/error.png',
|
iconCls: 'icon-error',
|
||||||
handler: this.onStop,
|
handler: this.onStop,
|
||||||
disabled: true,
|
disabled: true,
|
||||||
scope: this
|
scope: this
|
||||||
|
|
|
@ -221,33 +221,28 @@ Copyright:
|
||||||
bbar: new Ext.Toolbar({
|
bbar: new Ext.Toolbar({
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
cls: 'x-btn-text-icon',
|
|
||||||
text: _('Up'),
|
text: _('Up'),
|
||||||
icon: '/icons/up.png',
|
iconCls: 'icon-up',
|
||||||
handler: this.onUpClick,
|
handler: this.onUpClick,
|
||||||
scope: this
|
scope: this
|
||||||
}, {
|
}, {
|
||||||
cls: 'x-btn-text-icon',
|
|
||||||
text: _('Down'),
|
text: _('Down'),
|
||||||
icon: '/icons/down.png',
|
iconCls: 'icon-down',
|
||||||
handler: this.onDownClick,
|
handler: this.onDownClick,
|
||||||
scope: this
|
scope: this
|
||||||
}, '->', {
|
}, '->', {
|
||||||
cls: 'x-btn-text-icon',
|
|
||||||
text: _('Add'),
|
text: _('Add'),
|
||||||
icon: '/icons/add.png',
|
iconCls: 'icon-add',
|
||||||
handler: this.onAddClick,
|
handler: this.onAddClick,
|
||||||
scope: this
|
scope: this
|
||||||
}, {
|
}, {
|
||||||
cls: 'x-btn-text-icon',
|
|
||||||
text: _('Edit'),
|
text: _('Edit'),
|
||||||
icon: '/icons/edit_trackers.png',
|
iconCls: 'icon-edit-trackers',
|
||||||
handler: this.onEditClick,
|
handler: this.onEditClick,
|
||||||
scope: this
|
scope: this
|
||||||
}, {
|
}, {
|
||||||
cls: 'x-btn-text-icon',
|
|
||||||
text: _('Remove'),
|
text: _('Remove'),
|
||||||
icon: '/icons/remove.png',
|
iconCls: 'icon-remove',
|
||||||
handler: this.onRemoveClick,
|
handler: this.onRemoveClick,
|
||||||
scope: this
|
scope: this
|
||||||
}
|
}
|
||||||
|
|
|
@ -161,7 +161,7 @@ deluge.menus.torrent = new Ext.menu.Menu({
|
||||||
})
|
})
|
||||||
}, {
|
}, {
|
||||||
text: _('Upload Slot Limit'),
|
text: _('Upload Slot Limit'),
|
||||||
icon: '/icons/upload_slots.png',
|
iconCls: 'icon-upload-slots',
|
||||||
menu: new Ext.menu.Menu({
|
menu: new Ext.menu.Menu({
|
||||||
items: [{
|
items: [{
|
||||||
text: _('0')
|
text: _('0')
|
||||||
|
@ -422,26 +422,26 @@ deluge.menus.filePriorities = new Ext.menu.Menu({
|
||||||
items: [{
|
items: [{
|
||||||
id: 'expandAll',
|
id: 'expandAll',
|
||||||
text: _('Expand All'),
|
text: _('Expand All'),
|
||||||
icon: '/icons/expand_all.png'
|
iconCls: 'icon-expand-all'
|
||||||
}, '-', {
|
}, '-', {
|
||||||
id: 'no_download',
|
id: 'no_download',
|
||||||
text: _('Do Not Download'),
|
text: _('Do Not Download'),
|
||||||
icon: '/icons/no_download.png',
|
iconCls: 'icon-do-not-download',
|
||||||
filePriority: 0
|
filePriority: 0
|
||||||
}, {
|
}, {
|
||||||
id: 'normal',
|
id: 'normal',
|
||||||
text: _('Normal Priority'),
|
text: _('Normal Priority'),
|
||||||
icon: '/icons/normal.png',
|
iconCls: 'icon-normal',
|
||||||
filePriority: 1
|
filePriority: 1
|
||||||
}, {
|
}, {
|
||||||
id: 'high',
|
id: 'high',
|
||||||
text: _('High Priority'),
|
text: _('High Priority'),
|
||||||
icon: '/icons/high.png',
|
iconCls: 'icon-high',
|
||||||
filePriority: 2
|
filePriority: 2
|
||||||
}, {
|
}, {
|
||||||
id: 'highest',
|
id: 'highest',
|
||||||
text: _('Highest Priority'),
|
text: _('Highest Priority'),
|
||||||
icon: '/icons/highest.png',
|
iconCls: 'icon-highest',
|
||||||
filePriority: 5
|
filePriority: 5
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue