add a home icon and corresponding icon class
adjust the file browser window title and add the remaining toolbar items
This commit is contained in:
parent
3a56af99c0
commit
24ce77cdf0
|
@ -363,3 +363,7 @@ dl.singleline dd {
|
||||||
.icon-forward {
|
.icon-forward {
|
||||||
background-image: url('../icons/forward.png') !important;
|
background-image: url('../icons/forward.png') !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.icon-home {
|
||||||
|
background-image: url('../icons/home.png') !important;
|
||||||
|
}
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 752 B |
|
@ -1,7 +1,7 @@
|
||||||
Ext.namespace('Deluge');
|
Ext.namespace('Deluge');
|
||||||
Deluge.FileBrowser = Ext.extend(Ext.Window, {
|
Deluge.FileBrowser = Ext.extend(Ext.Window, {
|
||||||
|
|
||||||
title: 'Filebrowser',
|
title: _('File Browser'),
|
||||||
|
|
||||||
width: 500,
|
width: 500,
|
||||||
height: 400,
|
height: 400,
|
||||||
|
@ -12,11 +12,17 @@ Deluge.FileBrowser = Ext.extend(Ext.Window, {
|
||||||
this.add({
|
this.add({
|
||||||
xtype: 'toolbar',
|
xtype: 'toolbar',
|
||||||
items: [{
|
items: [{
|
||||||
cls: 'x-btn-icon',
|
text: _('Back'),
|
||||||
iconCls: 'icon-back'
|
iconCls: 'icon-back'
|
||||||
}, {
|
}, {
|
||||||
cls: 'x-btn-icon',
|
text: _('Forward'),
|
||||||
iconCls: 'icon-forward'
|
iconCls: 'icon-forward'
|
||||||
|
}, {
|
||||||
|
text: _('Up'),
|
||||||
|
iconCls: 'icon-up'
|
||||||
|
}, {
|
||||||
|
text: _('Home'),
|
||||||
|
iconCls: 'icon-home'
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue