Show More
Commit Description:
update views -- styling...
Commit Description:
update views -- styling git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@114 6386c4cd-e34a-4fa8-8920-d93eb39b512e
File last commit:
Show/Diff file:
Action:
app/views/main/_problem.html.erb | 16 lines | 584 B | text/plain | TextLexer |
<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">
<%= render :partial => 'submission_short',
:locals => { :submission => @prob_submissions[problem_counter][:submission]} %>
</td>
</tr>