Show More
Commit Description:
merge with algo and add brython files that were missing
Commit Description:
merge with algo and add brython files that were missing
References:
File last commit:
Show/Diff file:
Action:
app/views/configurations/index.html.haml
| 34 lines
| 1016 B
| text/x-haml
| HamlLexer
|
r572 | /- content_for :header do | |||
/ = javascript_include_tag 'local_jquery' | ||||
r474 | ||||
|
r162 | %h1 System configuration | ||
|
r76 | |||
|
r77 | %table.info | ||
%tr.info-head | ||||
|
r76 | %th Key | ||
%th Type | ||||
%th Value | ||||
|
r269 | %th Description | ||
|
r76 | - @configurations.each do |conf| | ||
|
r330 | - @grader_configuration = conf | ||
|
r269 | %tr{:class => cycle("info-odd", "info-even")} | ||
|
r76 | %td | ||
r572 | /= in_place_editor_field :grader_configuration, :key, {}, :rows=>1 | |||
= @grader_configuration.key | ||||
|
r76 | %td | ||
r572 | /= in_place_editor_field :grader_configuration, :value_type, {}, :rows=>1 | |||
= @grader_configuration.value_type | ||||
|
r76 | %td | ||
r474 | = best_in_place @grader_configuration, :value, ok_button: "ok", cancel_button: "cancel" | |||
|
r269 | %td= conf.description | ||
|
r76 | |||
|
r320 | - if GraderConfiguration.config_cached? | ||
|
r162 | %br/ | ||
Your config is saved, but it does not automatically take effect. | ||||
%br/ | ||||
If you have one mongrel process running, you can | ||||
= link_to '[click]', :action => 'reload' | ||||
here to reload. | ||||
%br/ | ||||
If you have more than one process running, you should restart | ||||
them manually. | ||||