From beb4bf04fc87c269f4eb33d33f47bacde37a5b5f Mon Sep 17 00:00:00 2001
From: daiao <358551898@qq.com>
Date: Thu, 18 May 2017 15:38:29 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E5=88=97=E8=A1=A8=E7=9A=84ta?=
=?UTF-8?q?b=E5=8A=A0=E5=85=A5=E7=82=B9=E5=87=BB=E4=BA=8B=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/views/homework_common/index.html.erb | 3 +--
app/views/layouts/base_courses.html.erb | 2 +-
public/javascripts/edu/course.js | 8 ++++++++
3 files changed, 10 insertions(+), 3 deletions(-)
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 @@
导出成绩
-
-
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();