예제 #1
0
def save_impression(request, aid=-1):
    viewer = AsgnKernel.AsgnBody(request)
    viewer.save_impression(aid)
    return viewer.render()
예제 #2
0
def save_asgn_submission(request, aid=-1, pid=-1):
    viewer = AsgnKernel.AsgnBody(request)
    viewer.save_asgn_submission(aid, pid)
    return viewer.render()
예제 #3
0
def show_asgn_status_list(request, aid=-1, page=1):
    viewer = AsgnKernel.AsgnBody(request)
    viewer.asgn_status_list(aid, int(page))
    return viewer.render()
예제 #4
0
def show_asgn_report(request, aid=-1, author_id=-1):
    viewer = AsgnKernel.AsgnBody(request)
    viewer.show_report(aid, author_id)
    return viewer.render()
예제 #5
0
def show_my_status_list(request, aid=-1, pid=-1):
    viewer = AsgnKernel.AsgnBody(request)
    viewer.my_status_list(aid, pid)
    return viewer.render()
예제 #6
0
def show_asgn_problem(request, aid=-1, pid=-1):
    viewer = AsgnKernel.AsgnBody(request)
    viewer.show_asgn_problem(aid, pid)
    return viewer.render()
예제 #7
0
def asgn_answer_view(request, aid=-1):
    viewer = AsgnKernel.AsgnBody(request)
    viewer.asgn_answer_view(aid)
    return viewer.render()
예제 #8
0
def asgn_rank_list(request, aid=-1):
    viewer = AsgnKernel.AsgnBody(request)
    viewer.asgn_rank_list(aid)
    return viewer.render()
예제 #9
0
def problem_list(request, aid=-1):
    viewer = AsgnKernel.AsgnBody(request)
    viewer.problem_list(aid)
    return viewer.render()