Show More
Commit Description:
Change to better error message when the submitted file has illegal extension...
Commit Description:
Change to better error message when the submitted file has illegal extension
Solve issue #4
References:
File last commit:
Show/Diff file:
Action:
app/views/configurations/index.html.haml
| 32 lines
| 933 B
| text/x-haml
| HamlLexer
|
r474 | - content_for :header do | |||
= javascript_include_tag 'local_jquery' | ||||
|
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 | ||
|
r330 | = in_place_editor_field :grader_configuration, :key, {}, :rows=>1 | ||
|
r76 | %td | ||
|
r330 | = in_place_editor_field :grader_configuration, :value_type, {}, :rows=>1 | ||
|
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. | ||||