Show More
Commit Description:
- start adding testcases into database...
Commit Description:
- start adding testcases into database - fix download button for score report (grafted from aabe2eab4ee28760618043fc980bb5d5aaca5311)
File last commit:
Show/Diff file:
Action:
app/views/problems/toggle.js.haml | 8 lines | 296 B | text/x-haml | HamlLexer |
= render partial: 'toggle_button',
locals: {button_id: "#problem-avail-#{@problem.id}",button_on: @problem.available }
:plain
r = $("#prob-#{@problem.id}");
r.removeClass('success');
r.removeClass('danger');
r.addClass("#{@problem.available? ? 'success' : 'danger'}");