Description:
some formatting
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@235 6386c4cd-e34a-4fa8-8920-d93eb39b512e
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r115:f5b658d3d5ed - - 1 file changed: 4 inserted, 2 deleted
@@ -23,14 +23,16 | |||||
|
23 | %div{:style => "border: 1px solid black; background: lightgrey"} |
|
23 | %div{:style => "border: 1px solid black; background: lightgrey"} |
|
24 | = simple_format((@test_request.compiler_message or '')) |
|
24 | = simple_format((@test_request.compiler_message or '')) |
|
25 |
|
25 | ||
|
26 | %b Input (first 2kb) |
|
26 | %b Input (first 2kb) |
|
27 | %div{:style => "border: 1px solid black; background: lightgrey"} |
|
27 | %div{:style => "border: 1px solid black; background: lightgrey"} |
|
28 | - if @test_request.input_file_name!=nil |
|
28 | - if @test_request.input_file_name!=nil |
|
29 | - = simple_format(read_textfile(@test_request.input_file_name,2048)) |
|
29 | + %pre |
|
|
30 | + = h(read_textfile(@test_request.input_file_name,2048)) | ||
|
30 |
|
31 | ||
|
31 | %b Output (first 2kb) |
|
32 | %b Output (first 2kb) |
|
32 | %div{:style => "border: 1px solid black; background: lightgrey"} |
|
33 | %div{:style => "border: 1px solid black; background: lightgrey"} |
|
33 | - if @test_request.output_file_name!=nil |
|
34 | - if @test_request.output_file_name!=nil |
|
34 | - = simple_format(read_textfile(@test_request.output_file_name,2048)) |
|
35 | + %pre |
|
|
36 | + = h(read_textfile(@test_request.output_file_name,2048)) | ||
|
35 | - else |
|
37 | - else |
|
36 | (no output) |
|
38 | (no output) |
You need to be logged in to leave comments.
Login now