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
d4add8a8
Commit
d4add8a8
authored
Mar 28, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
app: removed all client-side login code until needed
parent
1751ac65
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
66 additions
and
321 deletions
+66
-321
data/global.json
data/global.json
+0
-61
js/erp5_loader.js
js/erp5_loader.js
+66
-260
No files found.
data/global.json
View file @
d4add8a8
[
{
"type"
:
"hello"
,
"set_on"
:
"login_dict"
,
"modernizr"
:
[
"localStorage"
],
"property_dict"
:
{
"use_login"
:
true
},
"scheme"
:
[{
"property_dict"
:
{
"google"
:
"1028374738607-pg2qqcopjpoc09shlpul3mehu2dv76ln.apps.googleusercontent.com"
}
}],
"children"
:
[]
},
{
"type"
:
"i18n"
,
"set_on"
:
"lang_dict"
,
...
...
@@ -33,53 +19,6 @@
}],
"children"
:
[]
},
{
"type"
:
"StateMachine"
,
"set_on"
:
"state_dict"
,
"scheme"
:
[{
"set_name"
:
"sync_status"
,
"property_dict"
:
{
"initial"
:
"diverge"
,
"events"
:
[
{
"name"
:
"diverge"
,
"from"
:
"insync"
,
"to"
:
"async"
},
{
"name"
:
"harmonize"
,
"from"
:
"async"
,
"to"
:
"insync"
}
]
}
},
{
"set_name"
:
"login_status"
,
"property_dict"
:
{
"initial"
:
"logout"
,
"events"
:
[
{
"name"
:
"login"
,
"from"
:
"logged_out"
,
"to"
:
"logged_in"
},
{
"name"
:
"logout"
,
"from"
:
"logged_in"
,
"to"
:
"logged_out"
}
]
}
},
{
"set_name"
:
"connection_status"
,
"property_dict"
:
{
"initial"
:
"loss_connection"
,
"events"
:
[
{
"name"
:
"force_online"
,
"from"
:
[
"probing"
,
"disconnected"
,
"online"
],
"to"
:
"offline"
},
{
"name"
:
"force_online"
,
"from"
:
[
"disconnected"
,
"offline"
],
"to"
:
"probing"
},
{
"name"
:
"loss_connection"
,
"from"
:
[
"online"
,
"offline"
,
"disconnected"
],
"to"
:
"probing"
},
{
"name"
:
"found_connection"
,
"from"
:
"probing"
,
"to"
:
"online"
}
]
}
}],
"children"
:
[
{
"generate"
:
"widget"
,
"type"
:
"crumbs"
,
"children"
:
[
{
"href"
:
"#"
,
"text"
:
"Synchronization"
,
"text_i18n"
:
"global_dict.sync_status"
,
"icon"
:
"random"
,
"info"
:
"sync_status"
},
{
"href"
:
"#"
,
"text"
:
"Login"
,
"text_i18n"
:
"global_dict.login_status"
,
"icon"
:
"user"
,
"info"
:
"login_status"
},
{
"href"
:
"#"
,
"text"
:
"Connection"
,
"text_i18n"
:
"global_dict.connection_status"
,
"icon"
:
"signal"
,
"info"
:
"connection_status"
}
]
}
]
},
{
"type"
:
"status_dict"
,
"property_dict"
:
{
...
...
js/erp5_loader.js
View file @
d4add8a8
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