Commit d4add8a8 authored by Sven Franck's avatar Sven Franck

app: removed all client-side login code until needed

parent 1751ac65
[
{
"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": {
......
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