Show More
Commit Description:
add brython console for direct edit
Commit Description:
add brython console for direct edit
References:
File last commit:
Show/Diff file:
Action:
app/views/graders/_grader_list.html.haml
| 25 lines
| 636 B
| text/x-haml
| HamlLexer
|
|
r175 | - if grader_list.length!=0 | ||
%table.graders | ||||
%tr | ||||
%th host | ||||
%th pid | ||||
%th mode | ||||
%th last updated | ||||
%th type | ||||
%th task | ||||
- grader_list.each do |grader| | ||||
- if grader.active | ||||
- c = 'active' | ||||
- else | ||||
- c = 'inactive' | ||||
%tr{:class => c} | ||||
= render :partial => 'grader', :locals => {:grader => grader} | ||||
- if not grader.terminated | ||||
|
r203 | - if GraderScript.grader_control_enabled? | ||
|
r202 | %td= link_to 'stop', {:action => 'stop', :id => grader} | ||
|
r175 | - else | ||
%td= link_to 'clear', {:action => 'clear', :id => grader} | ||||
- else | ||||
%ul | ||||
%li None | ||||
|
r32 | |||