Show More
Commit Description:
more interface adjusting...
Commit Description:
more interface adjusting git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@116 6386c4cd-e34a-4fa8-8920-d93eb39b512e
File last commit:
Show/Diff file:
Action:
app/views/main/submission.html.haml | 30 lines | 639 B | text/x-haml | HamlLexer |
.title
Hello
=h @user.full_name
Current time is
= format_short_time(Time.new)
%br/
.task-menu
Task List
%br/
- @problems.each do |problem|
= link_to problem.name, :action => 'submission', :id => problem.name
- if @problem!=nil
%h2= "Task: #{@problem.full_name} (#{@problem.name})"
- if @submissions!=nil
- 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