+
diff --git a/app/views/users/_homework_opr.html.erb b/app/views/users/_homework_opr.html.erb
index 6376e34c3..6f7563d32 100644
--- a/app/views/users/_homework_opr.html.erb
+++ b/app/views/users/_homework_opr.html.erb
@@ -3,11 +3,11 @@
<% projects = cur_user_projects_for_homework activity %>
<% if work.nil? && projects.nil? %>
- <%=link_to "关联项目",new_student_work_project_student_work_index_path(:homework => activity.id,:hw_status=>hw_status,:user_activity_id=>user_activity_id),remote: true,:class=> 'c_blue', :title=> '请各组长关联作业项目' %>
+ <%=link_to "关联项目",new_student_work_project_student_work_index_path(:homework => activity.id,:hw_status=>hw_status,:user_activity_id=>user_activity_id),remote: true,:class=> 'color_white', :title=> '请各组长关联作业项目' %>
<% elsif work.nil? %>
- <%=link_to "取消关联",cancel_relate_project_student_work_index_path(:homework => activity.id,:hw_status=>hw_status,:user_activity_id=>user_activity_id), :confirm => "您确定要取消关联吗?", remote: true,:class => "c_blue", :title=> '取消关联项目' %>
+ <%=link_to "取消关联",cancel_relate_project_student_work_index_path(:homework => activity.id,:hw_status=>hw_status,:user_activity_id=>user_activity_id), :confirm => "您确定要取消关联吗?", remote: true,:class => "color_white", :title=> '取消关联项目' %>
<% end %>
<% end %>
@@ -16,16 +16,16 @@
<% if activity.allow_late && activity.end_time < Time.now && (activity.homework_type == 1 || activity.homework_type == 3) && work && work.work_status != 0 && work.user == User.current && !is_teacher && activity.homework_detail_manual.comment_status < 6 %>
- <%=link_to "补交附件", student_work_path(work, :is_focus => 1), :class => 'c_blue', :title => "可追加作品修订附件" %>
+ <%=link_to "补交附件", student_work_path(work, :is_focus => 1), :class => 'color_white', :title => "可追加作品修订附件" %>
<% end %>
<% if activity.homework_type == 2 && is_teacher%>
- <%= link_to "模拟答题", new_student_work_path(homework: activity.id, is_test: true), class: 'c_blue test-program-btn', title: '教师可以通过模拟答题设置作业的标准答案' %>
+ <%= link_to "模拟答题", new_student_work_path(homework: activity.id, is_test: true), class: 'color_white test-program-btn', title: '教师可以通过模拟答题设置作业的标准答案' %>
<% if activity.homework_detail_manual.comment_status != 0 %>
- <%= link_to "代码查重", work_canrepeat_student_work_index_path(homework: activity.id, course_id: activity.course.id), class: 'c_blue test-program-btn',:remote => true %>
+ <%= link_to "代码查重", work_canrepeat_student_work_index_path(homework: activity.id, course_id: activity.course.id), class: 'color_white test-program-btn',:remote => true %>
<% end %>
<% end %>
diff --git a/public/stylesheets/css/edu-common.css b/public/stylesheets/css/edu-common.css
index c9ea7e8d7..f70fcbcba 100644
--- a/public/stylesheets/css/edu-common.css
+++ b/public/stylesheets/css/edu-common.css
@@ -1,5 +1,5 @@
@charset "utf-8";
-body{font-size:14px; line-height:2.0;}
+body{font-size:14px; line-height:2.0;background:#ffffff;}
html{height:100%;}
.newContainer{ min-height:100%; height: auto !important; height: 100%; /*IE6不识别min-height*/position: relative;}
.newMain{ margin: 0 auto; padding-bottom: 155px; }
@@ -7,12 +7,12 @@ html{height:100%;}
.newHeader{background: #303133;width:100%; height: 50px; min-width: 1200px}
/* 重置样式 */
body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td,span{ margin:0; padding:0;}
-body,table,input,textarea,select,button { font-family: "微软雅黑","宋体"; font-size:14px;line-height:1.9; background:#f5f5f5;; color:#333;}
+table,input,textarea,select,button { font-family: "微软雅黑","宋体"; font-size:14px;line-height:1.9; background:#f5f5f5;; color:#333;}
div,img,tr,td,table{ border:0;}
table,tr,td{border:0;}
ol,ul,li{ list-style-type:none}
a:link,a:visited{text-decoration:none;color:#898989; }
-a:hover {color:#29bd8b;}
+a:hover {color:#FF7500;}
input,textarea,select{ background: #fff; border:1px solid #eee; color:#666;}
textarea{resize: none;}
/*侧滚动条*/
@@ -60,6 +60,7 @@ a.color-orange05:hover,i.color-orange05:hover{color:#ff7500!important;}
a.color-grey:hover{color: #FF7500!important;}/*a标签,移入变橙色*/
.color-dark-grey{color:#666!important;}
.color-grey3{color:#333!important;}
+a.color-grey3:hover{color: #ff7500!important;}
.u-color-light-grey{color: #CCCCCC}
.color-light-grey-C{color: #CCCCCC!important;}
.color-light-grey-E{color: #EEEEEE}
@@ -96,7 +97,7 @@ a:hover.link-color-grey03{color:#3498db!important;}
.font-28{ font-size: 28px!important;}
.font-30{ font-size: 30px!important;}
/*通用内外边距*/
-.mt-10{ margin-top:-10px;}.mt2{ margin-top:2px;}.mt3{ margin-top:3px;}.mt5{ margin-top:5px;}.mt6{ margin-top:6px;}.mt7{ margin-top:7px;}.mt8{ margin-top:8px;}.mt10{ margin-top:10px;}.mt12{ margin-top:12px;}.mt15{ margin-top:15px;}.mt20{ margin-top:20px;}.mt25{ margin-top:25px;}.mt30{ margin-top:30px;}.mt50{ margin-top:50px;}
+.mt-10{ margin-top:-10px;}.mt2{ margin-top:2px;}.mt3{ margin-top:3px;}.mt5{ margin-top:5px;}.mt6{ margin-top:6px;}.mt7{ margin-top:7px;}.mt8{ margin-top:8px;}.mt10{ margin-top:10px;}.mt12{ margin-top:12px;}.mt15{ margin-top:15px;}.mt20{ margin-top:20px;}.mt25{ margin-top:25px;}.mt30{ margin-top:30px;}.mt50{ margin-top:50px;}.mt95{ margin-top:95px;}
.mb5{ margin-bottom: 5px;}.mb10{ margin-bottom: 10px;}.mb15{ margin-bottom: 15px;}.mb20{ margin-bottom: 20px;}.mb25{ margin-bottom: 25px;}.mb30{ margin-bottom: 30px;}.mb40{ margin-bottom: 40px;}.mb50{ margin-bottom: 50px;}
.ml-3{ margin-left: -3px;}.ml5{ margin-left: 5px;}.ml6{ margin-left: 6px;}.ml10{ margin-left: 10px;}.ml15{ margin-left: 15px;}.ml20{ margin-left: 20px;}.ml25{ margin-left: 25px;}.ml30{ margin-left: 30px;}.ml33{ margin-left: 33px;}.ml35{ margin-left:35px;}.ml40{margin-left:40px;}.ml42{margin-left:42px;}.ml50{ margin-left: 50px;}.ml75{ margin-left: 75px;}.ml95{ margin-left: 95px;}.ml115{margin-left: 115px}.ml230{ margin-left: 230px;}
.mr3{margin-right: 3px}.mr5{ margin-right: 5px;}.mr10{ margin-right: 10px;}.mr15{ margin-right: 15px;}.mr18{ margin-right: 18px;}.mr20{ margin-right: 20px;}.mr25{ margin-right: 25px;}.mr30{ margin-right:30px;}.mr40{margin-right:40px;}.mr50{ margin-right: 50px;}.mr60{ margin-right:60px;}
From 3dc678448ded260429e530cf04bd903d312d3763 Mon Sep 17 00:00:00 2001
From: daiao <358551898@qq.com>
Date: Thu, 21 Sep 2017 11:27:41 +0800
Subject: [PATCH 18/30] =?UTF-8?q?=E9=80=89=E6=8B=A9=E9=A2=98=E4=BB=BB?=
=?UTF-8?q?=E5=8A=A1=E9=80=9A=E8=BF=87=E5=90=8E=EF=BC=8C=E9=81=AE=E7=BD=A9?=
=?UTF-8?q?=E5=BC=B9=E6=A1=86=E4=BF=A1=E6=81=AF=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/views/games/_pass_game_show.html.erb | 40 ++++++++++++------------
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/app/views/games/_pass_game_show.html.erb b/app/views/games/_pass_game_show.html.erb
index f917e2412..ef086eb99 100644
--- a/app/views/games/_pass_game_show.html.erb
+++ b/app/views/games/_pass_game_show.html.erb
@@ -1,29 +1,14 @@
<%= stylesheet_link_tag 'css/edu-common', 'css/edu-popup' %>
-
-
-<% if false %>
+<% if game.challenge.st != 0 %>
+<% else %>
+
<% end %>
+