main.py 313 B

1234567891011121314151617181920
  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. @Web.auth
  11. @Web.setting
  12. def get(self):
  13. self.view("index.html")
  14. class main_path(Load):
  15. @Web.auth
  16. @Web.setting
  17. def get(self):
  18. self.view("main.html")