Show More
Commit Description:
merge with syntax highlighter
Commit Description:
merge with syntax highlighter
References:
File last commit:
Show/Diff file:
Action:
app/views/graders/submission.html.haml
| 27 lines
| 597 B
| text/x-haml
| HamlLexer
|
r420 | %style{type: "text/css"} | |||
= @css_style | ||||
|
r105 | %h1= "Submission: #{@submission.id}" | ||
%p | ||||
User: | ||||
= "#{@submission.user.login}" | ||||
%br/ | ||||
Problem: | ||||
- if @submission.problem!=nil | ||||
= "#{@submission.problem.full_name}" | ||||
- else | ||||
= "(n/a)" | ||||
%br/ | ||||
= "Number: #{@submission.number}" | ||||
%br/ | ||||
= "Submitted at: #{format_short_time(@submission.submitted_at)}" | ||||
r420 | %br/ | |||
= "Points : #{@submission.points}/#{@submission.problem.full_score}" | ||||
%br/ | ||||
= "Comment : #{@submission.grader_comment}" | ||||
|
r105 | |||
%b Source code (first 10kb) | ||||
r420 | //%div.highlight{:style => "border: 1px solid black;"} | |||
=@formatted_code.html_safe | ||||
|
r105 | |||