Style custom tag input
Add description to abr
This commit is contained in:
1 parent
a95320e162
commit
2fad29df51
2 files changed
+12
-8
No files matched your search
@@ -1287,6 +1287,7 @@ Option.Combined = new Class({
|
|||||||
self.inputs = {};
|
self.inputs = {};
|
||||||
self.items = [];
|
self.items = [];
|
||||||
self.labels = {};
|
self.labels = {};
|
||||||
|
self.descriptions = {};
|
||||||
|
|
||||||
self.options.combine.each(function(name){
|
self.options.combine.each(function(name){
|
||||||
|
|
||||||
@@ -1307,9 +1308,12 @@ Option.Combined = new Class({
|
|||||||
|
|
||||||
Object.each(self.inputs, function(input, name){
|
Object.each(self.inputs, function(input, name){
|
||||||
self.labels[name] = input.getPrevious().get('text');
|
self.labels[name] = input.getPrevious().get('text');
|
||||||
|
self.descriptions[name] = (_in = input.getNext()) ? _in.get('text') : '';
|
||||||
|
|
||||||
new Element('abbr', {
|
new Element('abbr', {
|
||||||
'class': name,
|
'class': name,
|
||||||
'text': self.labels[name]
|
'text': self.labels[name],
|
||||||
|
'title': self.descriptions[name]
|
||||||
}).inject(head)
|
}).inject(head)
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -549,8 +549,8 @@
|
|||||||
}
|
}
|
||||||
.page .combined_table .head abbr.host { margin-right: 120px; }
|
.page .combined_table .head abbr.host { margin-right: 120px; }
|
||||||
.page .combined_table input.host { width: 140px; }
|
.page .combined_table input.host { width: 140px; }
|
||||||
.page .section_newznab .combined_table .head abbr.host { margin-right: 200px; }
|
.page .section_newznab .combined_table .head abbr.host { margin-right: 180px; }
|
||||||
.page .section_newznab .combined_table input.host { width: 220px; }
|
.page .section_newznab .combined_table input.host { width: 200px; }
|
||||||
|
|
||||||
.page .combined_table .head abbr.name { margin-right: 57px; }
|
.page .combined_table .head abbr.name { margin-right: 57px; }
|
||||||
.page .combined_table input.name { width: 120px; }
|
.page .combined_table input.name { width: 120px; }
|
||||||
@@ -559,15 +559,15 @@
|
|||||||
.page .combined_table .head abbr.pass_key { margin-right: 71px; }
|
.page .combined_table .head abbr.pass_key { margin-right: 71px; }
|
||||||
.page .combined_table input.pass_key { width: 113px; }
|
.page .combined_table input.pass_key { width: 113px; }
|
||||||
|
|
||||||
.page .section_newznab .combined_table .head abbr.api_key { margin-right: 190px; }
|
.page .section_newznab .combined_table .head abbr.api_key { margin-right: 170px; }
|
||||||
.page .section_newznab .combined_table input.api_key { width: 223px; }
|
.page .section_newznab .combined_table input.api_key { width: 203px; }
|
||||||
|
|
||||||
.page .combined_table .head abbr.extra_score {
|
.page .combined_table .head abbr.extra_score {
|
||||||
margin-right: 25px;
|
margin-right: 15px;
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.page .combined_table input.extra_score {
|
.page .combined_table input.extra_score {
|
||||||
width: 80px;
|
width: 75px;
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.page.show_advanced .combined_table .head .extra_score,
|
.page.show_advanced .combined_table .head .extra_score,
|
||||||
@@ -580,7 +580,7 @@
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.page .combined_table input.custom_tag {
|
.page .combined_table input.custom_tag {
|
||||||
width: 84px;
|
width: 140px;
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.page.show_advanced .combined_table .head .custom_tag,
|
.page.show_advanced .combined_table .head .custom_tag,
|
||||||
|
|||||||
Reference in new issue
Block a user