예제 #1
0
파일: gitlab.py 프로젝트: bernytt/py_lepus
 def get(self):
     username = self.get_secure_cookie("user")
     curpath = "/projects"
     title = lang.get(curpath[1:], curpath[1:])
     self.render('gitlab\projects.html',
                 page=curpath,
                 lang=lang,
                 menus=get_menu(username),
                 heads=self.heads,
                 urllist=get_menu(username),
                 title=title)
예제 #2
0
파일: gitlab.py 프로젝트: bernytt/py_lepus
 def get(self, prj_name):
     prj_id = Projects.projects.get(prj_name, prj_name)
     username = self.get_secure_cookie("user")
     curpath = "/projects"
     title = lang.get(curpath[1:], curpath[1:])
     self.render(r'gitlab\branches.html',
                 page=curpath,
                 lang=lang,
                 menus=get_menu(username),
                 heads=self.heads,
                 urllist=get_menu(username),
                 title=title,
                 prj_name=prj_name)
예제 #3
0
 def get(self):
     username = self.get_secure_cookie("user")
     curpath = self.request.path
     self.render('index.html',
                 page=curpath,
                 menus=get_menu(username),
                 lang=lang)
예제 #4
0
 def get(self):
     username = self.get_secure_cookie("user")
     curpath = self.request.path
     self.render(curpath[1:] + '.html',
                 page="/user/index",
                 menus=get_menu(username),
                 lang=lang,
                 error_code=0,
                 validation_errors='')
예제 #5
0
 def get(self):
     username = self.get_secure_cookie("user")
     curpath = self.request.path
     #user = User()
     datalist = self.get_user_list()
     self.render(curpath[1:] + '.html',
                 page=curpath,
                 menus=get_menu(username),
                 lang=lang,
                 datalist=datalist)
예제 #6
0
 def get(self):
     username = self.get_secure_cookie("user")
     curpath = self.request.path
     title = lang.get(curpath[1:], curpath[1:])
     self.render('datalist.html',
                 page=curpath,
                 lang=lang,
                 menus=get_menu(username),
                 headers=self.headers,
                 hide=self.hide,
                 title=title)
예제 #7
0
 def get(self, user_id):
     username = self.get_secure_cookie("user")
     curpath = self.request.path
     record = self.getrecord(user_id)
     self.render('user/edit.html',
                 page="/user/index",
                 menus=get_menu(username),
                 lang=lang,
                 error_code=0,
                 validation_errors='',
                 record=record)
예제 #8
0
 def get(self):
     username = self.get_secure_cookie("user")
     curpath = self.request.path
     datalist = self.getDatalist()
     set_value = {}
     self.render(curpath[1:] + '.html',
                 page=self.page,
                 menus=get_menu(username),
                 set_value=set_value,
                 datalist=datalist,
                 lang=lang,
                 error_code=0,
                 validation_errors='')
예제 #9
0
 def get(self):
     username = self.get_secure_cookie("user")
     curpath = self.request.path
     menu_record_tree = self.menu_record_tree()
     set_value = {}
     self.render(curpath[1:] + '.html',
                 page="/menu/index",
                 menus=get_menu(username),
                 set_value=set_value,
                 menu_record_tree=menu_record_tree,
                 lang=lang,
                 error_code=0,
                 validation_errors='')
예제 #10
0
파일: gitlab.py 프로젝트: AmiLiY/py_lepus
 def get(self):
     username = self.get_secure_cookie("user")
     curpath = "/projects"
     title = lang.get(curpath[1:],curpath[1:])
     self.render('gitlab\projects.html',page=curpath,lang=lang,menus=get_menu(username),heads=self.heads,urllist=get_menu(username),title=title)
예제 #11
0
 def get(self):
     username = self.get_secure_cookie("user")
     curpath =  self.request.path
     #user = User()
     datalist = self.get_user_list()
     self.render(curpath[1:]+'.html',page=curpath,menus=get_menu(username),lang=lang,datalist = datalist)
예제 #12
0
 def get(self):
     username = self.get_secure_cookie("user")
     curpath =  self.request.path
     self.render(curpath[1:]+'.html',page="/user/index",menus=get_menu(username),lang=lang,error_code=0,validation_errors='')
예제 #13
0
 def get(self,user_id):
     username = self.get_secure_cookie("user")
     curpath =  self.request.path
     record = self.getrecord(user_id)
     self.render('user/edit.html',page="/user/index",menus=get_menu(username),lang=lang,error_code=0,validation_errors='',record=record)
예제 #14
0
 def get(self):
     username = self.get_secure_cookie("user")
     curpath =  self.request.path
     menu_record_tree = self.menu_record_tree()
     set_value = {}
     self.render(curpath[1:]+'.html',page="/menu/index",menus=get_menu(username),set_value=set_value,menu_record_tree=menu_record_tree,lang=lang,error_code=0,validation_errors='')
예제 #15
0
파일: gitlab.py 프로젝트: AmiLiY/py_lepus
 def get(self,prj_name):
     prj_id= Projects.projects.get(prj_name,prj_name)
     username = self.get_secure_cookie("user")
     curpath = "/projects"
     title = lang.get(curpath[1:],curpath[1:])
     self.render(r'gitlab\branches.html',page=curpath,lang=lang,menus=get_menu(username),heads=self.heads,urllist=get_menu(username),title=title,prj_name=prj_name)
예제 #16
0
파일: data.py 프로젝트: AmiLiY/py_lepus
 def get(self):
     username = self.get_secure_cookie("user")
     curpath = self.request.path
     title = lang.get(curpath[1:],curpath[1:])
     self.render('datalist.html',page=curpath,lang=lang,menus=get_menu(username),headers=self.headers,hide=self.hide,title=title)
예제 #17
0
 def get(self):
     username = self.get_secure_cookie("user")
     curpath =  self.request.path
     self.render('index.html',page=curpath,menus=get_menu(username),lang=lang)
예제 #18
0
 def get(self):
     username = self.get_secure_cookie("user")
     curpath =  self.request.path
     datalist = self.getDatalist()
     set_value = {}
     self.render(curpath[1:]+'.html',page=self.page,menus=get_menu(username),set_value=set_value,datalist=datalist,lang=lang,error_code=0,validation_errors='')