Show More
Commit Description:
updated grader list page...
Commit Description:
updated grader list page
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@375 6386c4cd-e34a-4fa8-8920-d93eb39b512e
References:
File last commit:
Show/Diff file:
Action:
app/views/configurations/index.html.haml
| 31 lines
| 775 B
| text/x-haml
| HamlLexer
|
|
r76 | - content_for :head do | ||
= javascript_include_tag :defaults | ||||
|
r162 | %h1 System configuration | ||
|
r76 | |||
|
r77 | %table.info | ||
%tr.info-head | ||||
|
r76 | %th Key | ||
%th Type | ||||
%th Value | ||||
- @configurations.each do |conf| | ||||
- @configuration = conf | ||||
%tr | ||||
%td | ||||
= in_place_editor_field :configuration, :key, {}, :rows=>1 | ||||
%td | ||||
= in_place_editor_field :configuration, :value_type, {}, :rows=>1 | ||||
%td | ||||
= in_place_editor_field :configuration, :value, {}, :rows=>1 | ||||
|
r162 | - if Configuration.cache? | ||
%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. | ||||