Show More
Commit Description:
markdowned task body...
Commit Description:
markdowned task body git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@284 6386c4cd-e34a-4fa8-8920-d93eb39b512e
File last commit:
Show/Diff file:
Action:
app/views/main/_submission_short.html.haml | 23 lines | 784 B | text/x-haml | HamlLexer |
jittat
update views -- styling...
r51
- if submission==nil
= "-"
- else
- if submission.graded_at==nil
Submitted at
= format_short_time(submission.submitted_at)
- else
= "Graded at #{format_short_time(submission.graded_at)}, "
jittat
[web] normalize full_score to 100, more hints on how to submit questions, hint on the disabling to test interface during the last 30 minutes...
r125 = "score: #{(submission.points*100/submission.problem.full_score).to_i} " if Configuration['ui.show_score']
jittat
[web] result formatting re: #14...
r73 = " ["
%tt
= submission.grader_comment
= "]"
jittat
[web] analysis mode...
r134 - if Configuration.show_grading_result
= " | "
= link_to '[detailed result]', :action => 'result', :id => submission.id
jittat
[web] added compiler message and submission links to main/list...
r70 = " | "
= link_to('[msg]', {:action => 'compiler_msg', :id => submission.id}, {:popup => true})
jittat
update views -- styling...
r51 = " | "
jittat
[web] analysis mode...
r134 = link_to('[src]',{:action => 'source', :id => submission.id})
jittat
[web] added compiler message and submission links to main/list...
r70 = " | "
= link_to '[submissions]', :action => 'submission', :id => problem_name