Show More
Commit Description:
[web] in problems, added turn_all_off, and improved ui...
Commit Description:
[web] in problems, added turn_all_off, and improved ui git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@128 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 |
jittat
update views -- styling...
r51 .title
Hello
=h @user.full_name
Current time is
= format_short_time(Time.new)
%br/
.task-menu
jittat
more interface adjusting...
r53 Task List
%br/
jittat
update views -- styling...
r51 - @problems.each do |problem|
= link_to problem.name, :action => 'submission', :id => problem.name
jittat
more interface adjusting...
r53 - if @problem!=nil
%h2= "Task: #{@problem.full_name} (#{@problem.name})"
jittat
update views -- styling...
r51 - if @submissions!=nil
jittat
more interface adjusting...
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