diff --git a/app/views/homework_common/index.html.erb b/app/views/homework_common/index.html.erb index cb8814ffc..dc920f512 100644 --- a/app/views/homework_common/index.html.erb +++ b/app/views/homework_common/index.html.erb @@ -7,7 +7,7 @@ 导出成绩
-
+

全部 挂起 @@ -29,4 +29,3 @@

- diff --git a/app/views/layouts/base_courses.html.erb b/app/views/layouts/base_courses.html.erb index 237e5ac1c..f8b6d4b9b 100644 --- a/app/views/layouts/base_courses.html.erb +++ b/app/views/layouts/base_courses.html.erb @@ -20,7 +20,7 @@ <%= heads_for_theme %> <%= call_hook :view_layouts_base_html_head %> <%= stylesheet_link_tag 'jquery/jquery-ui-1.9.2','css/edu-popup','css/edu-common', "css/edu-public",'css/common','css/public', 'css/structure','prettify', 'css/courses','css/popup','sy_public','css/syllabus', 'css/moduel', 'css/font-awesome','css/contest', 'css/font-awesome', 'css/edu-class', 'css/edu-popup' %> - <%= javascript_include_tag "course","avatars","header","attachments",'prettify',"edu/application", 'edu/class' %> + <%= javascript_include_tag "course","avatars","header","attachments",'prettify',"edu/application", "edu/course" %> <%= yield :header_tags -%> diff --git a/public/javascripts/edu/course.js b/public/javascripts/edu/course.js index 14525bd2b..1fba90492 100644 --- a/public/javascripts/edu/course.js +++ b/public/javascripts/edu/course.js @@ -132,6 +132,14 @@ $(function() { $(".join .handle").hide(); } }); + + /* ------------------------- 作业列表全部/挂机/提交中/补交中....的点击事情 ----------------------------*/ + $(".edu-filter-cir-grey").live("click", function(ev){ + var nStatus = $(".edu-filter-cir-grey"); + nStatus.removeClass("active"); + $(this).addClass("active"); + }); + // var changeColor = function(c){ // if(c.find(".blue").css("display") == "none") { // c.find(".blue").show();