This commit is contained in:
brindosch 2017-04-17 19:16:22 +02:00
parent a5b40a7ea8
commit 9c3388d1bb
3 changed files with 30 additions and 10 deletions

View File

@ -1,7 +1,7 @@
{
"type":"object",
"script" : "flag.py",
"title":"edt_eff_flag_header_title",
"title":"edt_eff_flag_header",
"required":true,
"properties":{
"countries": {
@ -11,13 +11,13 @@
"uniqueItems": true,
"items": {
"type": "string",
"enum": ["de","lt","fr","se","nl"]
"enum": ["de","at","fr","be","it","es","bg","ee","dk","fi","hu","ie","lv","lt","lu","mt","nl","pl","pt","ro","sl","se","ch"]
},
"propertyOrder" : 1
},
"switch-time": {
"type": "integer",
"title":"edt_eff_switchtime_title",
"title":"edt_eff_interval_title",
"default": 5,
"minimum" : 1,
"append" : "edt_append_s",

View File

@ -50,7 +50,7 @@
"type": "array",
"title": "edt_eff_backgroundColor_title",
"format": "colorpicker",
"default": [255, 255, 255],
"default": [0, 0, 0,],
"items": {
"type": "integer",
"minimum": 0,
@ -65,7 +65,7 @@
"title": "edt_eff_markerDepth_title",
"default": 5,
"minimum" : 0,
"maximum" : 100,
"maximum" : 50,
"append" : "edt_append_percent",
"propertyOrder" : 5
},
@ -74,7 +74,7 @@
"title": "edt_eff_markerWidth_title",
"default": 5,
"minimum" : 0,
"maximum" : 100,
"maximum" : 25,
"append" : "edt_append_percent",
"propertyOrder" : 6
},

View File

@ -970,14 +970,24 @@
},
"minItems" : 3,
"maxItems" : 3,
"propertyOrder" : 3
"propertyOrder" : 3,
"options": {
"dependencies": {
"type": "color"
}
}
},
"effect" :
{
"type" : "string",
"format" : "select",
"title" : "edt_conf_fge_effect_title",
"propertyOrder" : 4
"propertyOrder" : 4,
"options": {
"dependencies": {
"type": "effect"
}
}
},
"duration_ms" :
{
@ -1028,14 +1038,24 @@
},
"minItems" : 3,
"maxItems" : 3,
"propertyOrder" : 3
"propertyOrder" : 3,
"options": {
"dependencies": {
"type": "color"
}
}
},
"effect" :
{
"type" : "string",
"format" : "select",
"title" : "edt_conf_fge_effect_title",
"propertyOrder" : 4
"propertyOrder" : 4,
"options": {
"dependencies": {
"type": "effect"
}
}
}
},
"additionalProperties" : false