|
|
|
@ -30,6 +30,10 @@ class LaboratorySetting < ApplicationRecord
|
|
|
|
|
image_url('_subject_banner')
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def shixun_banner_url
|
|
|
|
|
image_url('_shixun_banner')
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def course_banner_url
|
|
|
|
|
image_url('_course_banner')
|
|
|
|
|
end
|
|
|
|
@ -62,7 +66,7 @@ class LaboratorySetting < ApplicationRecord
|
|
|
|
|
name: nil,
|
|
|
|
|
navbar: [
|
|
|
|
|
{ 'name' => '实践课程', 'link' => '/paths', 'hidden' => false },
|
|
|
|
|
{ 'name' => '翻转课堂', 'link' => '/courses', 'hidden' => false },
|
|
|
|
|
{ 'name' => '教学课堂', 'link' => '/courses', 'hidden' => false },
|
|
|
|
|
{ 'name' => '实训项目', 'link' => '/shixuns', 'hidden' => false },
|
|
|
|
|
{ 'name' => '在线竞赛', 'link' => '/competitions', 'hidden' => false },
|
|
|
|
|
{ 'name' => '教学案例', 'link' => '/moop_cases', 'hidden' => false },
|
|
|
|
|