There is a web project use Java as backend & html5 as front-end.
In a single signin feature, there are several static html
pages:
- signin.html, get user info,
- signin_confirm.html, tip signin succeed, and need check email to confirm signin,
- signin_confirm_succeed.html, succeed to confirm,
- signin_confirm_expired.html, tip when error click an expired confirm link,
- signin_confirm_failed.html, failed to confirm, due to email not exists or confirm code not match,
Obviously, this is not a good approach, I want to reduce count of static html to 1 or 2 pages for this feature, and more features to be developed.
What js library do you think is suitable to do that job?