diff --git a/app/controllers/courses_controller.rb b/app/controllers/courses_controller.rb index 0b3f88d68..595ed9476 100644 --- a/app/controllers/courses_controller.rb +++ b/app/controllers/courses_controller.rb @@ -500,7 +500,7 @@ class CoursesController < ApplicationController @course = Course.new @course.safe_attributes = params[:course] month = Time.now.month - render :layout => 'base' + render :layout => 'new_base' end def desc_sort_course_by_avtivity(activity_count, courses) diff --git a/app/views/layouts/new_base.html.erb b/app/views/layouts/new_base.html.erb new file mode 100644 index 000000000..378e20ab0 --- /dev/null +++ b/app/views/layouts/new_base.html.erb @@ -0,0 +1,115 @@ +<% course_model %> + + + + + + <%= h html_title %> + + + + <%= csrf_meta_tag %> + <%= favicon %> + <%= javascript_heads %> + <%= heads_for_theme %> + <%= call_hook :view_layouts_base_html_head %> + <%= stylesheet_link_tag 'public', 'leftside', 'courses'%> + <%= javascript_include_tag "course","header" %> + + <%= yield :header_tags -%> + + + +
+ <%= render :partial => 'layouts/new_header' %> +
+ +
+
+

配置课程

+
+
+
    +
    +
  • + 上传图片 + 上传图片 +
    +
  • +
  • + + +
  • +
    +
  • + + +
  • +
    +
  • + + + +
  • +
    +
  • + + +
    + 学生或其他成员申请加入课程时候需要使用该口令,该口令可以由老师在课堂上公布。 +
  • +
  • + + +
    +
  • +
  • + + + (打钩为公开,不打钩则不公开,若不公开,仅课程成员可见该课程。) +
    +
  • +
  • + + + (打钩为"学生列表公开",不打钩为不公开,若不公开,则课程外部人员看不到学生列表) +
    +
  • +
  • + 提交取消 +
    +
  • +
    +
+
+
+
+ +
+ + <%= render :partial => 'layouts/new_footer' %> +
+
+<%= render :partial => 'layouts/new_feedback' %> + + +<%= call_hook :view_layouts_base_body_bottom %> + + + \ No newline at end of file