def MainPageFunc(): ''' 系统主页面 ''' import apps from sys_view import get_app_nemus ret_data = get_app_nemus(apps.apps_list[0][0]) return JTemplate('main', apps=apps.apps_list, nemu_grup=ret_data)
def MainPageFunc(): ''' 系统主页面 ''' import apps from sys_view import get_app_nemus ret_data = get_app_nemus(apps.apps_list[0][0]) return JTemplate('main',apps = apps.apps_list, nemu_grup=ret_data)
def AppMenuFunc(app_label): ''' 子系统菜单 ''' from sys_view import get_app_nemus ret_data = get_app_nemus(app_label) if ret_data == None: return HTTPError(404, "File does not exist.") else: return JTemplate('app_menu', nemu_grup=ret_data)
def AppMenuFunc(app_label): ''' 子系统菜单 ''' from sys_view import get_app_nemus ret_data = get_app_nemus(app_label) if ret_data==None: return HTTPError(404, "File does not exist.") else: return JTemplate('app_menu',nemu_grup = ret_data)