+
<%= render :partial => 'games/repository' %>
-
+
<%= render :partial => 'games/game_results' %>
diff --git a/app/views/games/_repository.html.erb b/app/views/games/_repository.html.erb
index 8930f2d64..156a7ecd7 100644
--- a/app/views/games/_repository.html.erb
+++ b/app/views/games/_repository.html.erb
@@ -71,8 +71,13 @@
g_l('codotab_con_'+i).className='undis';
}
- n == 2 ? $("#games_repository_contents").removeClass("-bg-black").addClass("-bg-weightblack")
- : $("#games_repository_contents").removeClass("-bg-weightblack").addClass("-bg-black");
+ if(n==2){
+ $("#games_repository_contents").removeClass("-bg-black -flex-basic70").addClass("-bg-weightblack -flex-basic60");
+ $("#-bg-change-color").removeClass("-bg-black").addClass("-bg-weightblack");
+ }else{
+ $("#games_repository_contents").removeClass("-bg-weightblack -flex-basic60").addClass("-bg-black -flex-basic70");
+ $("#-bg-change-color").removeClass("-bg-weightblack").addClass("-bg-black");
+ }
g_l('codotab_con_'+n).className='dis -relative';
g_l('codetab_nav_'+n).className='blacktab_hover';
diff --git a/public/stylesheets/css/taskstyle.css b/public/stylesheets/css/taskstyle.css
index dcf1f11a7..4b6469426 100644
--- a/public/stylesheets/css/taskstyle.css
+++ b/public/stylesheets/css/taskstyle.css
@@ -148,11 +148,13 @@ input.knowledge_frame{height:30px;line-height:30px;border:none;background:#f3f5f
.-flex-basic40{flex-basis:auto;}
.-flex-basic50{flex-basis:auto;}
.b-label{width:4px;cursor:ew-resize;background:#2b2b2b;}
-.h-center{height:4px;cursor:ns-resize;background:#33485F;z-index:9999;}
+.h-center{height:4px;cursor:ns-resize;background:#33485F;}
+.-changebg{height:3px;}
.-brother{width:100%;height:100%;position:absolute;left:0;top:0;z-index:999;}
.-bg-weightblack{background:#000;}
+.-flex-basic70{flex:4 9 auto;}
/*---------------------------------------------*/
-.-flex-basic60{flex:4 9 auto;}
+.-flex-basic60{flex:none;}
.-flex-basic100{flex-basis: 100%!important;}
.-header-title{ max-width:500px; font-weight: normal;}
.-header-right{ background:#333;border-radius:25px; padding:5px 15px; height: 30px; position: absolute; right:10px;line-height: 30px;}
From b4711318d9f43d52e35443b594f80196f0065bf6 Mon Sep 17 00:00:00 2001
From: cxt
Date: Wed, 26 Jul 2017 16:53:47 +0800
Subject: [PATCH 03/16] =?UTF-8?q?=E5=85=A8=E9=83=A8=E5=AE=9E=E8=AE=AD?=
=?UTF-8?q?=E9=A6=96=E9=A1=B5=E7=9A=84=E7=AD=9B=E9=80=89=E6=9D=A1=E4=BB=B6?=
=?UTF-8?q?=E6=A0=B7=E5=BC=8F=E7=BB=9F=E4=B8=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/views/shixuns/index.html.erb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/views/shixuns/index.html.erb b/app/views/shixuns/index.html.erb
index 4b27c9cf0..a97a70e86 100644
--- a/app/views/shixuns/index.html.erb
+++ b/app/views/shixuns/index.html.erb
@@ -70,7 +70,7 @@
筛选条件
<% end %>
\ No newline at end of file
diff --git a/app/views/subjects/edit.html.erb b/app/views/subjects/edit.html.erb
index 484fc7f39..623057ba3 100644
--- a/app/views/subjects/edit.html.erb
+++ b/app/views/subjects/edit.html.erb
@@ -22,7 +22,7 @@
<%= link_to "取消", subject_path(@subject), :class => "task-btn fl mr10 ml20" %>
- 保存
+ 保存
<% end %>
diff --git a/app/views/subjects/show.html.erb b/app/views/subjects/show.html.erb
index 18d0f3506..ac69439de 100644
--- a/app/views/subjects/show.html.erb
+++ b/app/views/subjects/show.html.erb
@@ -4,45 +4,44 @@
简介
<% if User.current.manager_of_subject?(@subject) && @subject.status == 0 %>
-
+
<% end %>
-
+
+ <%= @subject.description.blank? ? "暂未填写" : @subject.description %>
+
diff --git a/public/javascripts/edu/base_edu.js b/public/javascripts/edu/base_edu.js
index fee400d29..354543d78 100644
--- a/public/javascripts/edu/base_edu.js
+++ b/public/javascripts/edu/base_edu.js
@@ -1002,11 +1002,11 @@ function submit_new_subject(){
}
}
-function submit_edit_subject(){
+function submit_edit_subject(id){
if($("#new_subject_name").val().trim() == ""){
$("#new_subject_name_notice").show();
} else{
$("#new_subject_name_notice").hide();
- $("#edit_subject").submit();
+ $("#edit_subject_"+id).submit();
}
}
\ No newline at end of file
From 433028482728dac5a1dbaea3e4ee548928bb33e0 Mon Sep 17 00:00:00 2001
From: caishi <1149225589@qq.com>
Date: Wed, 26 Jul 2017 19:34:27 +0800
Subject: [PATCH 09/16] =?UTF-8?q?1.=E6=96=B0=E5=BB=BATPM=E7=9A=84=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2=E9=9A=90=E8=97=8F=E6=98=BE=E7=A4=BA=E2=80=9C=E9=A2=84?=
=?UTF-8?q?=E5=A4=87=E7=9F=A5=E8=AF=86=E2=80=9D=E7=BC=96=E8=BE=91=E5=9D=97?=
=?UTF-8?q?=202.=E5=AE=9E=E8=AE=AD=E9=A6=96=E9=A1=B5=E9=9A=90=E8=97=8Ftab?=
=?UTF-8?q?=E6=95=B4=E9=A1=B5=E2=80=9C=E9=A2=84=E5=A4=87=E7=9F=A5=E8=AF=86?=
=?UTF-8?q?=E2=80=9D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/views/courses/index.html.erb | 2 +-
app/views/layouts/base_shixun.html.erb | 2 +-
app/views/shixuns/_form.html.erb | 6 +++---
app/views/shixuns/index.html.erb | 2 +-
app/views/subjects/index.html.erb | 2 +-
public/stylesheets/css/edu-subject.css | 2 +-
public/stylesheets/css/taskstyle.css | 4 ++--
7 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/app/views/courses/index.html.erb b/app/views/courses/index.html.erb
index 846113e1b..63b19f47a 100644
--- a/app/views/courses/index.html.erb
+++ b/app/views/courses/index.html.erb
@@ -2,7 +2,7 @@
在线课堂
- <%= link_to "
+ 创建课堂".html_safe, new_course_path, :class => "fr color_white font-20" %>
+ <%= link_to "+ 新建".html_safe, new_course_path, :class => "task-btn task-btn-green fr mt6" %>
diff --git a/app/views/layouts/base_shixun.html.erb b/app/views/layouts/base_shixun.html.erb
index b584a4ce2..7684a7a95 100644
--- a/app/views/layouts/base_shixun.html.erb
+++ b/app/views/layouts/base_shixun.html.erb
@@ -27,7 +27,7 @@