Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ecommerce-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
ecommerce-ui
Commits
e4c0347e
Commit
e4c0347e
authored
Feb 12, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP modularizing global config/removing hacks for homogenous storage access
parent
a0e03508
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
342 additions
and
138 deletions
+342
-138
data/global.json
data/global.json
+12
-31
data/person_view.json
data/person_view.json
+0
-1
data/storages.json
data/storages.json
+2
-1
js/erp5_loader.js
js/erp5_loader.js
+328
-105
No files found.
data/global.json
View file @
e4c0347e
[
{
"type"
:
"StateMachine"
,
"set_on"
:
"state_dict"
,
"scheme"
:
[{
"set_name"
:
"sync_status"
,
"property_dict"
:
{
...
...
@@ -36,6 +37,7 @@
},
{
"type"
:
"i18n"
,
"set_on"
:
"lang_dict"
,
"initializer"
:
"init"
,
"handler"
:
"language"
,
"property_dict"
:
{
...
...
@@ -48,45 +50,24 @@
"fallbackLng"
:
"en-EN"
,
"resGetPath"
:
"lang/__lng__/__ns__.json"
,
"ns"
:
"dict"
}
}
}],
"children"
:
[]
},
{
"set_on"
:
"storage
"
,
"initializer"
:
"createJIO"
,
"property_dict"
:
{
"status_dict"
:
{
"type"
:
"loader"
,
"theme"
:
"slapos-black"
},
"
no_content"
:
true
,
"p
ath
_dict"
:
{
"type"
:
"status_dict
"
,
"property_dict"
:
{
"loader"
:
true
,
"loader_theme"
:
"slapos-black"
}
},
{
"
type"
:
"path_dict"
,
"p
roperty
_dict"
:
{
"data"
:
"data/"
,
"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"
:
[{
"generate"
:
"widget"
,
...
...
data/person_view.json
View file @
e4c0347e
...
...
@@ -2,7 +2,6 @@
"portal_type_source"
:
"Person"
,
"portal_type_title"
:
"person"
,
"portal_type_fields"
:
"person_fieldlist"
,
"portal_type_mapper"
:
"person"
,
"initial_query"
:
{
"include_docs"
:
true
,
"limit"
:[
0
,
1
]},
"form"
:
true
,
"view"
:
"web_view"
,
...
...
data/storages.json
View file @
e4c0347e
[{
"type"
:
"jIO"
,
"set_on"
:
"storage"
,
"set_on"
:
"storage
_dict
"
,
"initializer"
:
"createJIO"
,
"modernizr"
:
[
"blobconstructor"
,
"filereader"
],
"property_dict"
:
{
"storage"
:
true
,
"force_field_definitions"
:
true
,
"skip_total_records"
:
true
},
...
...
js/erp5_loader.js
View file @
e4c0347e
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment