# Path: toughnms/console/forms/config_forms.py

# 
# Path: toughnms/console/handlers/base.py
# class BaseHandler(cyclone.web.RequestHandler):
#     def __init__(self, *argc, **argkw):
#     def initialize(self):
#     def on_finish(self):
#     def get_error_html(self, status_code=500, **kwargs):
#     def render(self, template_name, **template_vars):
#     def render_error(self, **template_vars):
#     def _write(self, resp):
#     def render_json(self, **template_vars):
#     def render_string(self, template_name, **template_vars):
#     def render_from_string(self, template_string, **template_vars):
#     def make_sign(self, secret, params=[]):
#     def check_sign(self, secret, msg):
#     def get_page_data(self, query):
#     def get_mdb_page_data(self, query):
#     def get_page_url(self, page, form_id=None):
#     def get_current_user(self):
#     def get_params(self):
#     def get_params_obj(self, obj):
#     def get_param_value(self, name, defval=None):
#     def export_file(self, filename, data):


import cyclone.auth
import cyclone.escape
import cyclone.web
import base
import ConfigParser
from toughlib import utils, logger, dispatch
from toughnms.console.forms import config_forms
from toughnms.console.handlers.base import MenuSys
from toughnms.console.settings import *
from toughlib.permit import permit
from cyclone.web import authenticated
from toughnms.console import models
from toughlib import dispatch,db_cache
from hashlib import md5
#!/usr/bin/env python
# coding:utf-8

@permit.route(r"/config", u"参数配置管理", MenuSys, order=1.0011, is_menu=True)
class ConfigHandler(base.BaseHandler):
    @authenticated
    def get(self):
        active = self.get_argument("active", "default")

# Path: toughnms/console/forms/config_forms.py

# 
# Path: toughnms/console/handlers/base.py
# class BaseHandler(cyclone.web.RequestHandler):
#     def __init__(self, *argc, **argkw):
#     def initialize(self):
#     def on_finish(self):
#     def get_error_html(self, status_code=500, **kwargs):
#     def render(self, template_name, **template_vars):
#     def render_error(self, **template_vars):
#     def _write(self, resp):
#     def render_json(self, **template_vars):
#     def render_string(self, template_name, **template_vars):
#     def render_from_string(self, template_string, **template_vars):
#     def make_sign(self, secret, params=[]):
#     def check_sign(self, secret, msg):
#     def get_page_data(self, query):
#     def get_mdb_page_data(self, query):
#     def get_page_url(self, page, form_id=None):
#     def get_current_user(self):
#     def get_params(self):
#     def get_params_obj(self, obj):
#     def get_param_value(self, name, defval=None):
#     def export_file(self, filename, data):


# Path: toughnms/console/handlers/config.py
import cyclone.auth
import cyclone.escape
import cyclone.web
import base
import ConfigParser
from toughlib import utils, logger, dispatch
from toughnms.console.forms import config_forms
from toughnms.console.handlers.base import MenuSys
from toughnms.console.settings import *
from toughlib.permit import permit
from cyclone.web import authenticated
from toughnms.console import models
from toughlib import dispatch,db_cache
from hashlib import md5

#!/usr/bin/env python
# coding:utf-8

@permit.route(r"/config", u"参数配置管理", MenuSys, order=1.0011, is_menu=True)
class ConfigHandler(base.BaseHandler):
    @authenticated
    def get(self):
        active = self.get_argument("active", "default")

        default_form = config_forms.default_form()