mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-25 06:35:57 -05:00
same size and hopefully the stair casing is fixed. (picture 3 in ticket #181)
This commit is contained in:
parent
3ba6992c2b
commit
32817b0826
@ -48,6 +48,9 @@ select {
|
|||||||
#buttons {
|
#buttons {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
#buttons input {
|
||||||
|
width: 7em;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<h1>Configuration</span></h1><span id="toggle_basic_advanced"></span>
|
<h1>Configuration</span></h1><span id="toggle_basic_advanced"></span>
|
||||||
<div id="config_not_writable_warning" class="message_div" style="display: none;">Your config file is not writable, you can not change anything using this webpage</div>
|
<div id="config_not_writable_warning" class="message_div" style="display: none;">Your config file is not writable, you can not change anything using this webpage</div>
|
||||||
|
@ -298,6 +298,7 @@ var Config ={
|
|||||||
if (!Cookie.getVar('show_advanced_config') && item.advanced) {
|
if (!Cookie.getVar('show_advanced_config') && item.advanced) {
|
||||||
frag.style.display = 'none';
|
frag.style.display = 'none';
|
||||||
}
|
}
|
||||||
|
frag.style.clear = 'both';
|
||||||
return frag;
|
return frag;
|
||||||
},
|
},
|
||||||
_addItemEvent: function (e) {
|
_addItemEvent: function (e) {
|
||||||
@ -402,6 +403,12 @@ var BuildElement = {
|
|||||||
label.appendChild(document.createTextNode(displayName));
|
label.appendChild(document.createTextNode(displayName));
|
||||||
frag.appendChild(label);
|
frag.appendChild(label);
|
||||||
var input;
|
var input;
|
||||||
|
if (/KHTML/.test(navigator.userAgent) && (80 == size)) {
|
||||||
|
// Safari & Konqueror input fields gets to long
|
||||||
|
// This is a runner up in the ugly bug fix contest
|
||||||
|
size = 60;
|
||||||
|
}
|
||||||
|
|
||||||
if (Config.isWritable) {
|
if (Config.isWritable) {
|
||||||
input = Builder.node('input',{id: id,name: name,className: 'text',
|
input = Builder.node('input',{id: id,name: name,className: 'text',
|
||||||
value: value,size: size});
|
value: value,size: size});
|
||||||
|
Loading…
Reference in New Issue
Block a user