update process of portal template generating.(not finished)

1. finish category and status selection process.
2. finish multiple blocks processing.
3. log out generated template for later usage.

TODO:
1. portal extracting result preview.
2. how to combine portal extracting and news detail extracting.
3. upload and download templates with proper api.
4. user permissions, etc.