Show More
Commit Description:
[web] small styling, split out admin's menu, put config into table.info...
Commit Description:
[web] small styling, split out admin's menu, put config into table.info
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@157 6386c4cd-e34a-4fa8-8920-d93eb39b512e
References:
File last commit:
Show/Diff file:
Action:
app/views/main/_submission.html.haml
| 18 lines
| 635 B
| text/x-haml
| HamlLexer
|
|
r33 | |||
|
r51 | %tr{:class => ((submission_counter%2==0) ? "info-even" : "info-odd")} | ||
%td.info{:align => "center"} | ||||
= submission_counter+1 | ||||
%td.info= format_short_time(submission.submitted_at) | ||||
|
r52 | %td.info{:align => "center"} | ||
|
r74 | = link_to('[load]',{:action => 'source', :id => submission.id}) | ||
|
r51 | %td.info | ||
- if submission.graded_at!=nil | ||||
= "Graded at #{format_short_time(submission.graded_at)}." | ||||
%br/ | ||||
= "Score: #{submission.points} " | ||||
|
r73 | = " [" | ||
%tt | ||||
= submission.grader_comment | ||||
= "]" | ||||
|
r51 | %td.info | ||
= render :partial => 'compiler_message', :locals => {:compiler_message => submission.compiler_message } | ||||