def save_impression(request, aid=-1): viewer = AsgnKernel.AsgnBody(request) viewer.save_impression(aid) return viewer.render()
def save_asgn_submission(request, aid=-1, pid=-1): viewer = AsgnKernel.AsgnBody(request) viewer.save_asgn_submission(aid, pid) return viewer.render()
def show_asgn_status_list(request, aid=-1, page=1): viewer = AsgnKernel.AsgnBody(request) viewer.asgn_status_list(aid, int(page)) return viewer.render()
def show_asgn_report(request, aid=-1, author_id=-1): viewer = AsgnKernel.AsgnBody(request) viewer.show_report(aid, author_id) return viewer.render()
def show_my_status_list(request, aid=-1, pid=-1): viewer = AsgnKernel.AsgnBody(request) viewer.my_status_list(aid, pid) return viewer.render()
def show_asgn_problem(request, aid=-1, pid=-1): viewer = AsgnKernel.AsgnBody(request) viewer.show_asgn_problem(aid, pid) return viewer.render()
def asgn_answer_view(request, aid=-1): viewer = AsgnKernel.AsgnBody(request) viewer.asgn_answer_view(aid) return viewer.render()
def asgn_rank_list(request, aid=-1): viewer = AsgnKernel.AsgnBody(request) viewer.asgn_rank_list(aid) return viewer.render()
def problem_list(request, aid=-1): viewer = AsgnKernel.AsgnBody(request) viewer.problem_list(aid) return viewer.render()