From 88dce706f65e6d3d641b403c1c2bbde707332af3 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Tue, 29 Aug 2017 09:58:30 +0800 Subject: [PATCH 01/53] =?UTF-8?q?=E6=9C=80=E6=96=B0=E3=80=81=E6=9C=80?= =?UTF-8?q?=E7=83=ADtab=E5=85=AC=E7=94=A8=E6=A0=B7=E5=BC=8F=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/shixuns/_shixun_list.html.erb | 2 +- app/views/subjects/_subject_list.html.erb | 2 +- public/stylesheets/css/edu-common.css | 6 ++++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/views/shixuns/_shixun_list.html.erb b/app/views/shixuns/_shixun_list.html.erb index 1eff29eba..595031ccc 100644 --- a/app/views/shixuns/_shixun_list.html.erb +++ b/app/views/shixuns/_shixun_list.html.erb @@ -1,4 +1,4 @@ -
" id="correct_tip"> 正确 @@ -14,8 +14,16 @@
" id="error_tip"> 错误
+1.单选题
+应在下列程序划线处填入的语句是()
+ +技能标签不能为空
+技能标签不能为空
-技能标签不能为空
+技能标签不能为空
+技能标签不能为空
-" id="correct_tip"> - 正确 -
-" id="error_tip"> - 错误 -
1.单选题
应在下列程序划线处填入的语句是()
<%= question.option_name %>
<%= question.option_name %>
+ 3/5 +
++ 5/5 全部通过 +
+ <% @game_challenge.challenge_chooses.each_with_index do |choose, index| %> +
- 使用Git提交代码时,请在Git客户端填写如下信息:
- * 用户名:请使用您绑定的邮箱
- * 口令:请使用您的登录口令
+ 提交代码的方法:
+ 1、在你自己的电脑安装Git tortoise客户端,
+ 或者其他你熟悉的Git客户端;
+ 2、在Git客户端向左侧的地址提交代码。
+ 注意:
+ 请务必在Git客户端填写如下信息:
+ * 用户名:使用您在本平台绑定的邮箱
+ * 口令:使用您在本平台的登录口令
<%= (index + 1).to_s + "." + (choose.category == 1 ? "单选题" : "多选题") %>
-+ + <% if choose.category == 1 %> + + <% else %> + + + <% end %> + + +
+ <% end %> + ++ <% if sy.name.length > 32 %> +
<%= sy.name %>
+ <% else %> ++ <%= sy.name %> +
+ <% end %>没有数据可以显示!
diff --git a/app/views/shixuns/settings.html.erb b/app/views/shixuns/settings.html.erb index 3900bba5a..f70b954c3 100644 --- a/app/views/shixuns/settings.html.erb +++ b/app/views/shixuns/settings.html.erb @@ -1,19 +1,20 @@ <%= stylesheet_link_tag '/editormd/css/editormd','/editormd/css/editormd.min.css' %> <%= javascript_include_tag '/editormd/lib/marked.min.js','/editormd/lib/prettify.min.js','/editormd/lib/raphael.min.js','/editormd/lib/underscore.min.js','/editormd/lib/sequence-diagram.min.js', '/editormd/lib/flowchart.min.js','/editormd/lib/jquery.flowchart.min.js','/editormd/editormd.js'%> -
" + ( test_sets[i].output == null ? "空" : test_sets[i].output.replace(/\r\n/g, "
").replace(/\t/g, " ").replace(/ /g, "") ) + "
" + ( test_sets[i].output == null ? "空" : test_sets[i].output.replace(/\r\n/g, "
").replace(/\t/g, " ").replace(/ /g, "") ) + "
" + (test_sets[i].actual_output == null ? "空" : (test_sets[i].compile_success == "1" ? test_sets[i].actual_output.replace(/\r\n/g, "
").replace(/ /g, "") : test_sets[i].actual_output.replace(/\r\n/g, "
"))) + "
" + (test_sets[i].actual_output == null ? "空" : (test_sets[i].compile_success == "1" ? test_sets[i].actual_output.replace(/\r\n$/, "
").replace(/ /g, "") : test_sets[i].actual_output.replace(/\r\n/g, "
"))) + "