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
References:
File last commit:
Show/Diff file:
Action:
app/views/main/submission.html.haml
| 24 lines
| 573 B
| text/x-haml
| HamlLexer
|
|
r78 | = user_title_bar(@user) | ||
|
r51 | |||
.task-menu | ||||
|
r53 | Task List | ||
%br/ | ||||
|
r51 | - @problems.each do |problem| | ||
= link_to problem.name, :action => 'submission', :id => problem.name | ||||
|
r53 | - if @problem!=nil | ||
%h2= "Task: #{@problem.full_name} (#{@problem.name})" | ||||
|
r51 | - if @submissions!=nil | ||
|
r53 | - if @submissions.length>0 | ||
%table.info | ||||
%tr.info-head | ||||
%th.info # | ||||
%th.info At | ||||
%th.info Source | ||||
%th.info Result | ||||
%th.info{:width => "300px"} | ||||
Compiler message | ||||
= render :partial => 'submission', :collection => @submissions | ||||
- else | ||||
No submission | ||||