Commit e4c0347e authored by Sven Franck's avatar Sven Franck

WIP modularizing global config/removing hacks for homogenous storage access

parent a0e03508
[ [
{ {
"type": "StateMachine", "type": "StateMachine",
"set_on": "state_dict",
"scheme": [{ "scheme": [{
"set_name": "sync_status", "set_name": "sync_status",
"property_dict": { "property_dict": {
...@@ -36,6 +37,7 @@ ...@@ -36,6 +37,7 @@
}, },
{ {
"type": "i18n", "type": "i18n",
"set_on": "lang_dict",
"initializer": "init", "initializer": "init",
"handler": "language", "handler": "language",
"property_dict": { "property_dict": {
...@@ -48,45 +50,24 @@ ...@@ -48,45 +50,24 @@
"fallbackLng": "en-EN", "fallbackLng": "en-EN",
"resGetPath": "lang/__lng__/__ns__.json", "resGetPath": "lang/__lng__/__ns__.json",
"ns": "dict" "ns": "dict"
} }
}], }],
"children": [] "children": []
}, },
{ {
"set_on": "storage", "type": "status_dict",
"initializer": "createJIO", "property_dict": {
"property_dict": { "loader": true,
"status_dict": { "loader_theme": "slapos-black"
"type" : "loader", }
"theme": "slapos-black" },
}, {
"no_content": true, "type": "path_dict",
"path_dict": { "property_dict": {
"data": "data/", "data": "data/",
"home": "#dashboard" "home": "#dashboard"
},
"i18n": "i18next",
"i18n_force_browser_language": false,
"i18n_dict": {
"lng": "en-EN",
"load": "current",
"fallbackLng": "en-EN",
"resGetPath": "lang/__lng__/__ns__.json",
"ns": "dict"
},
"state_dict": {
"type": "StateMachine",
"machine_list": [
]
} }
}, },
"children": []
}
{ {
"children": [{ "children": [{
"generate": "widget", "generate": "widget",
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
"portal_type_source": "Person", "portal_type_source": "Person",
"portal_type_title": "person", "portal_type_title": "person",
"portal_type_fields": "person_fieldlist", "portal_type_fields": "person_fieldlist",
"portal_type_mapper": "person",
"initial_query": {"include_docs": true, "limit":[0,1]}, "initial_query": {"include_docs": true, "limit":[0,1]},
"form": true, "form": true,
"view": "web_view", "view": "web_view",
......
[{ [{
"type": "jIO", "type": "jIO",
"set_on": "storage", "set_on": "storage_dict",
"initializer": "createJIO", "initializer": "createJIO",
"modernizr": ["blobconstructor", "filereader"], "modernizr": ["blobconstructor", "filereader"],
"property_dict": { "property_dict": {
"storage": true,
"force_field_definitions": true, "force_field_definitions": true,
"skip_total_records": true "skip_total_records": true
}, },
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment