Show More
Commit Description:
add model solution
Commit Description:
add model solution
References:
File last commit:
Show/Diff file:
Action:
app/views/report/problem_hof.html.haml | 29 lines | 898 B | text/x-haml | HamlLexer |
prepare for better hall of fame
r425
/- if params[:id]
/ %h1 Tasks Hall of Fame
/ = link_to('[back to All-Time Hall of Fame]', action: 'problem_hof', id: nil )
/- else
/ %h1 All-Time Hall of Fame
hall of fame bootrapized
r560 .panel.panel-info
.panel-heading
Select Task
.panel-body
.form-inline
= select 'report',
'problem_id',
add autoset exam mode
r765 @problems.collect {|p| ["[#{p.name}] #{p.full_name}", problem_hof_report_path(p)]},
fix report link
r763 {:selected => problem_hof_report_path(@problem)},
hall of fame bootrapized
r560 { class: 'select2 form-control' }
%button.btn.btn-primary.btn-sm.go-button#problem_go{data: {source: "#report_problem_id"}} Go
prepare for better hall of fame
r425
add problem stat
r400
prepare for better hall of fame
r425 - unless params[:id]
/=render partial: 'all_time_hof'
Please select a problem.
- else
hall of fame bootrapized
r560 %h1 [#{Problem.find(params[:id]).name}] #{Problem.find(params[:id]).full_name}
add model solution
r855 -# %h2 Submission History
-# =render partial: 'application/bar_graph', locals: { histogram: @histogram }
hall of fame bootrapized
r560 =render partial: 'task_hof'
add problem stat
r400