at15 / bform-web

The front end SPA (Single Page Application) for bform
Apache License 2.0
0 stars 0 forks source link

Real user login form #3

Open at15 opened 8 years ago

at15 commented 8 years ago
at15 commented 8 years ago

when move the code from user.login to user.login-form got a problem for submit, how to communicate between components, like the login form is submitted and got 200 from server, how can it tell its parent component to change route, I guess it's not a good idea to let the form change the route

the communication part is included in the following doc https://angular.io/docs/ts/latest/cookbook/component-communication.html

at15 commented 8 years ago

Also the layout is a problem, the login page is quite like a dialog page, and we may need to use login dialog for sudo mode and session expire.

layout problem is finished in 4197f9d7309d21930b646705939fa7e1c33a4703