Please enable JavaScript to use RhodeCode Enterprise
Commit Description:
merge
Commit Description:
merge
- content_for :header do
= javascript_include_tag 'new'
%script { :type => "text/javascript" }
$(function () {
$('#submission_table').tablesorter({widgets: ['zebra','filter']});
});
:css
.fix-width {
font-family: Droid Sans Mono,Consolas, monospace, mono, Courier New, Courier;
}
%h1 = @user . full_name + ' Profile'
%h2 Basic info
<b>Login:</b> #{ @user . login } <br/>
<b>Full name:</b> #{ @user . full_name } <br />
%h2 Problem Stat
%h2 Submissions
%table .tablesorter-cafe #submission_table
%thead
%tr
%th ID
%th Problem code
%th Problem name
%th Language
%th Result
%th Score
- if session [ :admin ]
%th IP
%tbody
- @submission . each do | s |
- next unless s . problem
%tr
%td = link_to " #{ s . id } " , controller : "graders" , action : "submission" , id : s . id
%td = s . problem . name
%td = s . problem . full_name
%td = s . language . pretty_name
%td .fix-width = s . grader_comment
%td = ( s . points * 100 ) / s . problem . full_score
- if session [ :admin ]
%td = s . ip_address
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository permissions settings