Show More
Commit Description:
[web] added runstat columns to test_request...
Commit Description:
[web] added runstat columns to test_request
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@161 6386c4cd-e34a-4fa8-8920-d93eb39b512e
References:
File last commit:
Show/Diff file:
Action:
app/views/test/result.html.haml
| 27 lines
| 948 B
| text/x-haml
| HamlLexer
|
|
r80 | = user_title_bar(@user) | ||
%div{:style => "text-align: center"} | ||||
= "Problem: #{@test_request.problem.full_name}" | ||||
%br/ | ||||
= "Submission: #{@test_request.submission.number}" | ||||
%br/ | ||||
= "Test submitted at: #{format_short_time(@test_request.submitted_at)}" | ||||
%br/ | ||||
= simple_format((@test_request.running_stat or '')) | ||||
- if @test_request.compiler_message!=nil and @test_request.compiler_message!='' | ||||
%b Compiler Message | ||||
%div{:style => "border: 1px solid black; background: lightgrey"} | ||||
= simple_format((@test_request.compiler_message or '')) | ||||
%b Input | ||||
%div{:style => "border: 1px solid black; background: lightgrey"} | ||||
- if @test_request.input_file_name!=nil | ||||
= simple_format(read_textfile(@test_request.input_file_name,2048)) | ||||
%b Output | ||||
%div{:style => "border: 1px solid black; background: lightgrey"} | ||||
- if @test_request.output_file_name!=nil | ||||
= simple_format(read_textfile(@test_request.output_file_name,2048)) | ||||
- else | ||||
(no output) | ||||