You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.1 KiB
36 lines
1.1 KiB
6 years ago
|
json.shixun do
|
||
|
json.status @shixun.status
|
||
|
json.name @shixun.name
|
||
|
json.description @shixun.description
|
||
|
|
||
|
# 镜像大小类别
|
||
|
json.main_type @main_type
|
||
|
json.choice_main_type @choice_main_type
|
||
|
json.small_type @small_type
|
||
|
json.choice_small_type @choice_small_type
|
||
|
|
||
|
# 脚本
|
||
|
json.evaluate_script @shixun.evaluate_script
|
||
|
json.standard_scripts @shixun.standrad_script
|
||
|
json.choice_standard_scripts @shixun.mirror_script_id
|
||
|
|
||
|
# 基础配置
|
||
|
json.trainee @shixun.trainee
|
||
|
json.can_copy @shixun.can_copy
|
||
|
json.task_pass @shixun.task_pass
|
||
|
json.test_set_permission @shixun.test_set_permission
|
||
|
json.hide_code @shixun.hide_code # 隐藏代码窗口
|
||
|
json.code_hidden @shixun.code_hidden # 代码目录隐藏
|
||
|
json.vnc @shixun.vnc
|
||
|
json.exec_time @shixun.exec_time
|
||
|
json.webssh @shixun.webssh
|
||
|
json.multi_webssh @shixun.multi_webssh
|
||
|
json.use_scope @shixun.use_scope
|
||
|
json.scope_partment @shixun.schools.map(&:name) # 公开范围
|
||
|
json.opening_time @shixun.opening_time
|
||
|
json.forbid_copy @shixun.forbid_copy
|
||
|
end
|
||
|
|
||
|
|
||
|
|