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
References:
File last commit:
Show/Diff file:
Action:
app/views/main/_problem.html.erb
| 16 lines
| 584 B
| text/plain
| TextLexer
|
|
r50 | <tr class="info-<%= (problem_counter%2==0) ? "even" : "odd" %>"> | ||
<td class="info"> | ||||
<%= "#{problem_counter + 1}" %> | ||||
</td> | ||||
<td class="info"> | ||||
<%= "#{problem.full_name} (#{problem.name})" %> | ||||
<%= link_to '[desc]', problem.url, :popup => true if (problem.url!=nil) and (problem.url!='') %> | ||||
</td> | ||||
<td class="info" align="center"> | ||||
<%= @prob_submissions[problem_counter][:count] %> | ||||
</td> | ||||
<td class="info"> | ||||
|
r51 | <%= render :partial => 'submission_short', | ||
|
r50 | :locals => { :submission => @prob_submissions[problem_counter][:submission]} %> | ||
</td> | ||||
</tr> | ||||