From fe09b38e24a853e9d1944cb2a685bd54a68a1d01 Mon Sep 17 00:00:00 2001 From: cxt <853663049@qq.com> Date: Mon, 1 Jul 2019 11:12:36 +0800 Subject: [PATCH 1/2] =?UTF-8?q?banner=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helpers/application_helper.rb | 10 +++++----- app/views/layouts/_logined_header.html.erb | 8 ++++---- app/views/layouts/_unlogin_header.html.erb | 6 +++--- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 672b3c66..b65a2fa8 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -3015,9 +3015,9 @@ module ApplicationHelper elsif params[:controller] == "courses" && params[:action] == "index" title << ("翻转课堂") elsif params[:controller] == "competitions" && params[:action] == "index" - title << ("竞赛") + title << ("在线竞赛") elsif @competition - title << (@competition.name.nil? ? "竞赛" : @competition.name) + title << (@competition.name.nil? ? "在线竞赛" : @competition.name) elsif @contest title << (@contest.name.nil? ? "创新源于实践" : @contest.name) elsif @shixun @@ -3027,13 +3027,13 @@ module ApplicationHelper elsif params[:controller] == "shixuns" && params[:action] == "index" title << ("开发社区") elsif @subject - title << (@subject.name.nil? ? "实训课程" : @subject.name) + title << (@subject.name.nil? ? "实践课程" : @subject.name) elsif params[:controller] == "subjects" && params[:action] == "index" - title << ("实训课程") + title << ("实践课程") elsif @organization title << (@organization.name.nil? ? "创新源于实践" : @organization.name) elsif @forum || params[:controller] == "forums" - title << "讨论区" + title << "交流问答" elsif @my_syllabuses title << "我的课堂" elsif params[:controller] == 'ecs' diff --git a/app/views/layouts/_logined_header.html.erb b/app/views/layouts/_logined_header.html.erb index 30ef0658..11a2d93d 100644 --- a/app/views/layouts/_logined_header.html.erb +++ b/app/views/layouts/_logined_header.html.erb @@ -2,7 +2,7 @@ <%= link_to image_tag("/images/educoder/headNavLogo.png", alt:"高校智能化教学与实训平台", class:"logoimg"), home_path %>
diff --git a/public/images/educoder/teach_ex.png b/public/images/educoder/teach_ex.png
new file mode 100644
index 0000000000000000000000000000000000000000..a3e65c73b6f17b641d11a9db7784db11283696b9
GIT binary patch
literal 393242
zcmaI7V|*sTvnZU+#&$Ng@x-=mbAuT1;5Y
zV{N1R)Qfzio*Xw-JEVFQgXVN9YU8he#@pn3`u(X?!RQr~lKLs9$t^=_6+N4f40Q6S
z9eqgE9~fkJXXnO&>96xIL@^8zu%)lC=Mjoe_Ro;7L&3Y&QqYNy>weJP$m{EiiS}IS
zo+kKhs}SRmPoH6g&%C?O0cXH-gXtE-+{FBjc}-8*2l{1q;*mh1_x8Sf&mq6bF@^v3
z`KTAQBHQ+OgIL+y=I0QzQD(^_^in4gQQzz1tQ#BU^OhCkTlZr4uWoGEk-0NpbpsnX5l`6?(; p=KHS3_2xpi0PK$C3
z6^}3E($|DS5Wu;Rp7DNG8&s!UqTV-;{Ii{i`b1FUg{5hzB1v@gaCS+mtO3Cn@+P#k
zxCb=p
H@MTWf!g#
z6qU6i>qcxqa=Xg-g35G}qA}KIRM|=CSDjwhqU&2GIIZ
z1xl6`)|v?)@T|!>#FS9iSEzKY!jE;Jy*sW|yMOQ5fPQlTVnCh0C>!tl;j*KIYGej6
zEU27yCWhiQewr&<&h-fMLvCD?X0@_e84aPWN%Wbz{Q)izTAr9qdLbi)Ni;H1|5hua
zL|iXdFRYdWLC=4CiVh(2ocT-2vn|7Il@;ymd5qAu6pKe>s+r8X!)Fqv?mS
zbzR05b;+K52hk{KFQ+Zm&>mq2C+YKfjfGPHNTP2yvMZhX%p(5iqP7q?;w}J_YCMsj
zhK!wHGnqe(JT;McXy9#RXi%o<#@4JtfFGP6gak`$oV;8vtr@*c*O%ARFTZ~I>F1w6
ze||olh~j+p@U1g79>y^#vw(3ToGpXor}OE{%ZpQ>CZde3c{Uqc`Mmfm*>nyW=twEV
zmO{kQb`Z9G2l|wu-wgeB6PP+(3n9RZ^e>Ekd!T_v!0a)1