main.py 319 B

123456789101112131415161718
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. """
  4. demeter web page
  5. name:main.py
  6. author:rabin
  7. """
  8. from __load__ import *
  9. class index_path(Load):
  10. @tornado.web.authenticated
  11. def get(self):
  12. self.view("index.html")
  13. class main_path(Load):
  14. @tornado.web.authenticated
  15. def get(self):
  16. self.view("main.html")