Description:
more interface adjusting
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@116 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
r53:a609530ad21f - - 1 file changed: 8 inserted, 2 deleted
@@ -7,11 +7,16 | |||
|
7 | 7 | %br/ |
|
8 | 8 | |
|
9 | 9 | .task-menu |
|
10 |
- Task |
|
|
10 | + Task List | |
|
11 | + %br/ | |
|
11 | 12 | - @problems.each do |problem| |
|
12 | 13 | = link_to problem.name, :action => 'submission', :id => problem.name |
|
13 | 14 | |
|
15 | + - if @problem!=nil | |
|
16 | + %h2= "Task: #{@problem.full_name} (#{@problem.name})" | |
|
17 | + | |
|
14 | 18 | - if @submissions!=nil |
|
19 | + - if @submissions.length>0 | |
|
15 | 20 | %table.info |
|
16 | 21 | %tr.info-head |
|
17 | 22 | %th.info # |
@@ -21,4 +26,5 | |||
|
21 | 26 | %th.info{:width => "300px"} |
|
22 | 27 | Compiler message |
|
23 | 28 | = render :partial => 'submission', :collection => @submissions |
|
24 | - | |
|
29 | + - else | |
|
30 | + No submission |
You need to be logged in to leave comments.
Login now