style the add from url window a little more
This commit is contained in:
parent
8398fa91f5
commit
3b32edeed1
File diff suppressed because one or more lines are too long
|
@ -109,13 +109,18 @@ Deluge.Widgets.AddTorrent.Url = new Class({
|
||||||
|
|
||||||
this.form = new Element('form');
|
this.form = new Element('form');
|
||||||
this.urlInput = new Element('input', {
|
this.urlInput = new Element('input', {
|
||||||
type: 'text'
|
type: 'text',
|
||||||
|
id: 'urlInput',
|
||||||
|
name: 'urlInput'
|
||||||
});
|
});
|
||||||
this.okButton = new Element('button');
|
this.okButton = new Element('button');
|
||||||
this.okButton.set('text', _('Ok'));
|
this.okButton.set('text', _('Ok'));
|
||||||
this.cancelButton = new Element('button');
|
this.cancelButton = new Element('button');
|
||||||
this.cancelButton.set('text', _('Cancel'));
|
this.cancelButton.set('text', _('Cancel'));
|
||||||
this.form.grab(new Element('label').set('text', 'Url').addClass('fluid'));
|
this.form.grab(new Element('label', {
|
||||||
|
for: 'urlInput',
|
||||||
|
text: _('Url'),
|
||||||
|
}).addClass('fluid'));
|
||||||
this.form.grab(this.urlInput).grab(new Element('br'));
|
this.form.grab(this.urlInput).grab(new Element('br'));
|
||||||
this.form.grab(this.okButton).grab(this.cancelButton);
|
this.form.grab(this.okButton).grab(this.cancelButton);
|
||||||
this.content.grab(this.form);
|
this.content.grab(this.form);
|
||||||
|
|
|
@ -361,6 +361,12 @@ label.fluid {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#urlInput {
|
||||||
|
margin-top: 5px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
width: 225px;
|
||||||
|
}
|
||||||
|
|
||||||
#createTorrent h3 {
|
#createTorrent h3 {
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue