Show More
Commit Description:
render compiler message as modal
Commit Description:
render compiler message as modal
File last commit:
Show/Diff file:
Action:
app/views/main/_submission_short.html.haml | 27 lines | 1.1 KiB | text/x-haml | HamlLexer |
jittat
update views -- styling...
r51
modernized from == nil should be changed to nil?
r575 - if submission.nil?
jittat
update views -- styling...
r51 = "-"
- else
fix various bug
r609 - unless submission.graded_at
- fix various ui issues
r613 = t 'main.submitted_at'
jittat
MERGED 308:HEAD from http://theory.cpe.ku.ac.th/grader/web/branches/ytopc08-2/, removed some registration info...
r162 = format_short_time(submission.submitted_at.localtime)
jittat
update views -- styling...
r51 - else
pretty up main list
r587 %strong= t 'main.graded_at'
= "#{format_short_time(submission.graded_at.localtime)} "
%br
Jittat Fakcharoenphol
renamed model Configuration to GraderConfiguration, renamed rhtml views to erb, fixed other small errors
r320 - if GraderConfiguration['ui.show_score']
- fix various ui issues
r613 %strong=t 'main.score'
jittat
MERGED 308:HEAD from http://theory.cpe.ku.ac.th/grader/web/branches/ytopc08-2/, removed some registration info...
r162 = "#{(submission.points*100/submission.problem.full_score).to_i} "
jittat
[web] result formatting re: #14...
r73 = " ["
%tt
= submission.grader_comment
= "]"
pretty up main list
r587 %br
%strong View:
Jittat Fakcharoenphol
renamed model Configuration to GraderConfiguration, renamed rhtml views to erb, fixed other small errors
r320 - if GraderConfiguration.show_grading_result
jittat
[web] analysis mode...
r134 = link_to '[detailed result]', :action => 'result', :id => submission.id
fix compiler message...
r621 /= link_to "#{t 'main.cmp_msg'}", {:action => 'compiler_msg', :id => submission.id}, {popup: true,class: 'btn btn-xs btn-info'}
= link_to "#{t 'main.cmp_msg'}", compiler_msg_submission_path(submission.id), {popup: true,remote: true,class: 'btn btn-xs btn-info'}
- remove inplace editor from view...
r598 = link_to "#{t 'main.src_link'}",{:action => 'source', :id => submission.id}, class: 'btn btn-xs btn-info'
= link_to "#{t 'main.submissions_link'}", problem_submissions_path(problem_id), class: 'btn btn-xs btn-info'