mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
begin the layout of the options tab form
This commit is contained in:
parent
9b107359a4
commit
de733b0fae
1 changed files with 77 additions and 3 deletions
|
@ -386,10 +386,84 @@ Deluge.Details.Panel = new Ext.TabPanel({
|
||||||
autoScroll:true,
|
autoScroll:true,
|
||||||
margins: '0 0 0 0',
|
margins: '0 0 0 0',
|
||||||
listeners: {'render': {fn: Deluge.Details.Peers.onRender, scope: Deluge.Details.Peers}}
|
listeners: {'render': {fn: Deluge.Details.Peers.onRender, scope: Deluge.Details.Peers}}
|
||||||
}),{
|
}), new Ext.form.FormPanel({
|
||||||
id: 'options',
|
id: 'options',
|
||||||
title: _('Options')
|
title: _('Options'),
|
||||||
}],
|
frame: true,
|
||||||
|
items: [{
|
||||||
|
layout: 'column',
|
||||||
|
border: false,
|
||||||
|
defaults: {
|
||||||
|
columnWidth: '.33',
|
||||||
|
border: false
|
||||||
|
},
|
||||||
|
|
||||||
|
items: [{
|
||||||
|
bodyStyle: 'padding-right:5px;',
|
||||||
|
items: [{
|
||||||
|
xtype: 'fieldset',
|
||||||
|
title: _('Bandwidth'),
|
||||||
|
autoHeight: true,
|
||||||
|
defaultType: 'uxspinner',
|
||||||
|
items: [{
|
||||||
|
fieldLabel: _('Max Download Speed'),
|
||||||
|
name: 'max_download_speed'
|
||||||
|
}, {
|
||||||
|
fieldLabel: _('Max Upload Speed'),
|
||||||
|
name: 'max_upload_speed'
|
||||||
|
}, {
|
||||||
|
fieldLabel: _('Max Connections'),
|
||||||
|
name: 'max_connections'
|
||||||
|
}, {
|
||||||
|
fieldLabel: _('Max Upload Slots'),
|
||||||
|
name: 'max_upload_slots'
|
||||||
|
}]
|
||||||
|
}]
|
||||||
|
}, {
|
||||||
|
bodyStyle: 'padding-left: 5px; padding-right:5px;',
|
||||||
|
items: [{
|
||||||
|
xtype: 'fieldset',
|
||||||
|
title: _('Queue'),
|
||||||
|
autoHeight: true,
|
||||||
|
defaultType: 'checkbox',
|
||||||
|
items: [{
|
||||||
|
fieldLabel: '',
|
||||||
|
boxLabel: _('Auto Managed'),
|
||||||
|
name: 'auto_managed'
|
||||||
|
}, {
|
||||||
|
fieldLabel: '',
|
||||||
|
boxLabel: _('Stop seed at ratio'),
|
||||||
|
name: 'stop_ratio'
|
||||||
|
}, {
|
||||||
|
fieldLabel: '',
|
||||||
|
boxLabel: _('Remove at ratio'),
|
||||||
|
name: 'remove_ratio'
|
||||||
|
}, {
|
||||||
|
fieldLabel: '',
|
||||||
|
boxLabel: _('Move Completed'),
|
||||||
|
name: 'move_completed'
|
||||||
|
}]
|
||||||
|
}]
|
||||||
|
}, {
|
||||||
|
bodyStyle: 'padding-left:5px;',
|
||||||
|
items: [{
|
||||||
|
xtype: 'fieldset',
|
||||||
|
title: _('General'),
|
||||||
|
autoHeight: true,
|
||||||
|
defaultType: 'checkbox',
|
||||||
|
items: [{
|
||||||
|
fieldLabel: '',
|
||||||
|
boxLabel: _('Private'),
|
||||||
|
name: 'private'
|
||||||
|
}, {
|
||||||
|
fieldLabel: '',
|
||||||
|
boxLabel: _('Prioritize First/Last'),
|
||||||
|
name: 'prioritize_first'
|
||||||
|
}]
|
||||||
|
}]
|
||||||
|
}],
|
||||||
|
}]
|
||||||
|
})],
|
||||||
listeners: {
|
listeners: {
|
||||||
'render': {fn: Deluge.Details.onRender, scope: Deluge.Details},
|
'render': {fn: Deluge.Details.onRender, scope: Deluge.Details},
|
||||||
'tabchange': {fn: Deluge.Details.onTabChange, scope: Deluge.Details}
|
'tabchange': {fn: Deluge.Details.onTabChange, scope: Deluge.Details}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue