main.py 322 B

12345678910111213141516171819
  1. # -*- coding: utf-8 -*-
  2. """
  3. demeter web page
  4. name:main.py
  5. author:rabin
  6. """
  7. from .__load__ import *
  8. class index_path(Load):
  9. @Web.auth
  10. @Web.setting
  11. def get(self):
  12. self.view("index.html")
  13. class main_path(Load):
  14. @Web.auth
  15. @Web.setting
  16. def get(self):
  17. self.view("main.html")