mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-27 03:36:16 +00:00
add buttons to the form
This commit is contained in:
parent
9885e530cb
commit
485a1f3487
@ -344,7 +344,6 @@ Deluge.Add.Options = new Ext.TabPanel({
|
|||||||
border: false,
|
border: false,
|
||||||
labelWidth: 10,
|
labelWidth: 10,
|
||||||
defaultType: 'checkbox',
|
defaultType: 'checkbox',
|
||||||
width: 190,
|
|
||||||
items: [{
|
items: [{
|
||||||
fieldLabel: '',
|
fieldLabel: '',
|
||||||
labelSeparator: '',
|
labelSeparator: '',
|
||||||
@ -355,6 +354,14 @@ Deluge.Add.Options = new Ext.TabPanel({
|
|||||||
labelSeparator: '',
|
labelSeparator: '',
|
||||||
boxLabel: _('Prioritize First/Last Piece'),
|
boxLabel: _('Prioritize First/Last Piece'),
|
||||||
id: 'prioritize_first_last'
|
id: 'prioritize_first_last'
|
||||||
|
}, {
|
||||||
|
xtype: 'button',
|
||||||
|
text: _('Apply to All'),
|
||||||
|
style: 'margin-left: 20px; margin-top: 5px;'
|
||||||
|
}, {
|
||||||
|
xtype: 'button',
|
||||||
|
text: _('Revert to Defaults'),
|
||||||
|
style: 'margin-left: 20px; margin-top: 5px;'
|
||||||
}]
|
}]
|
||||||
}]
|
}]
|
||||||
}]
|
}]
|
||||||
@ -402,7 +409,7 @@ Deluge.Add.File.form = new Ext.form.FormPanel({
|
|||||||
fieldLabel: _('File'),
|
fieldLabel: _('File'),
|
||||||
name: 'file',
|
name: 'file',
|
||||||
buttonCfg: {
|
buttonCfg: {
|
||||||
text: _('Browse...')
|
text: _('Browse') + '...'
|
||||||
}
|
}
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
@ -488,7 +495,7 @@ Deluge.Add.Url.Window = new Ext.Window({
|
|||||||
|
|
||||||
Deluge.Add.Window = new Ext.Window({
|
Deluge.Add.Window = new Ext.Window({
|
||||||
layout: 'border',
|
layout: 'border',
|
||||||
width: 460,
|
width: 500,
|
||||||
height: 450,
|
height: 450,
|
||||||
bodyStyle: 'padding: 10px 5px;',
|
bodyStyle: 'padding: 10px 5px;',
|
||||||
buttonAlign: 'right',
|
buttonAlign: 'right',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user