Show More
Commit Description:
[web] added compiler message and submission links to main/list...
Commit Description:
[web] added compiler message and submission links to main/list
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@147 6386c4cd-e34a-4fa8-8920-d93eb39b512e
References:
File last commit:
Show/Diff file:
Action:
app/views/main/list.rhtml
| 26 lines
| 525 B
| text/html+ruby
| RhtmlLexer
|
|
r21 | <div class="title">Hello <%=h @user.full_name %></div> | ||
Current time is <%= format_short_time(Time.new) %>. | ||||
|
r0 | |||
|
r7 | <div class="submitbox"> | ||
|
r33 | <%= error_messages_for 'submission' %> | ||
<%= render :partial => 'submission_box' %> | ||||
|
r7 | </div> | ||
|
r8 | <hr/> | ||
|
r50 | <table class="info"> | ||
<tr class="info-head"> | ||||
|
r57 | <th></th> | ||
<th>Tasks</th> | ||||
<th># of sub(s)</th> | ||||
<th>Results</th> | ||||
|
r50 | </tr> | ||
|
r33 | <%= render :partial => 'problem', :collection => @problems %> | ||
|
r50 | </table> | ||
|
r0 | |||
<hr /> | ||||
|
r33 | <div class="submitbox"> | ||
<%= render :partial => 'submission_box' %> | ||||
</div> | ||||