fix color type in options
This commit is contained in:
@@ -159,7 +159,9 @@ function addOption(iArrayId, optInfo, $Box)
|
|||||||
$Option.append($('<input>', {type:'text', id:optNameId, name:optNameId, value:optInfo.user_value, 'class':'round'}));
|
$Option.append($('<input>', {type:'text', id:optNameId, name:optNameId, value:optInfo.user_value, 'class':'round'}));
|
||||||
break;
|
break;
|
||||||
case databap.consts.opt_type_color:
|
case databap.consts.opt_type_color:
|
||||||
$Option.append($('<input>', {type:'color', id:optNameId, name:optNameId, value:optInfo.user_value, 'class':'round'}));
|
$Option
|
||||||
|
.addButton('delete', 'Remettre la valeur par défaut', function($This){$This.next().attr('type', 'text').val('');}, '', 'clear no_bg no_text')
|
||||||
|
.append($('<input>', {type:'color', id:optNameId, name:optNameId, value:optInfo.user_value}));
|
||||||
break;
|
break;
|
||||||
case databap.consts.opt_type_pass:
|
case databap.consts.opt_type_pass:
|
||||||
$Option.append($('<input>', {type:'password', id:optNameId, name:optNameId, value:optInfo.user_value, 'class':'round'}));
|
$Option.append($('<input>', {type:'password', id:optNameId, name:optNameId, value:optInfo.user_value, 'class':'round'}));
|
||||||
|
|||||||
2924
style/databap.css
2924
style/databap.css
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1160,6 +1160,16 @@
|
|||||||
padding:3px 5px;
|
padding:3px 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#options .options_box .option_line .clear {
|
||||||
|
margin-left:10px;
|
||||||
|
float:right;
|
||||||
|
clear:inherit;
|
||||||
|
color:$col_main_1;
|
||||||
|
}
|
||||||
|
#options .options_box .option_line .clear + input {
|
||||||
|
width:calc(50% - 10px - 30px);
|
||||||
|
}
|
||||||
|
|
||||||
#options .options_box .button {
|
#options .options_box .button {
|
||||||
float:left;
|
float:left;
|
||||||
clear:both;
|
clear:both;
|
||||||
|
|||||||
1280
style/logon.css
1280
style/logon.css
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user