Show More
Commit Description:
[web] better ui for announcement and prob stat...
Commit Description:
[web] better ui for announcement and prob stat
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@195 6386c4cd-e34a-4fa8-8920-d93eb39b512e
References:
File last commit:
Show/Diff file:
Action:
app/views/configurations/index.html.haml
| 26 lines
| 615 B
| text/x-haml
| HamlLexer
|
|
r76 | - content_for :head do | ||
= javascript_include_tag :defaults | ||||
%h1 Grader configuration | ||||
|
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 | ||||
%br/ | ||||
= link_to '[Reload configuration]', :action => 'reload' | ||||
%br/ | ||||
Your config is saved, but it does not automatically take effect. | ||||
You must reload. | ||||