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", "type":"object",
"script" : "flag.py", "script" : "flag.py",
"title":"edt_eff_flag_header_title", "title":"edt_eff_flag_header",
"required":true, "required":true,
"properties":{ "properties":{
"countries": { "countries": {
@ -11,13 +11,13 @@
"uniqueItems": true, "uniqueItems": true,
"items": { "items": {
"type": "string", "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 "propertyOrder" : 1
}, },
"switch-time": { "switch-time": {
"type": "integer", "type": "integer",
"title":"edt_eff_switchtime_title", "title":"edt_eff_interval_title",
"default": 5, "default": 5,
"minimum" : 1, "minimum" : 1,
"append" : "edt_append_s", "append" : "edt_append_s",

View File

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

View File

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