From c1c45d642e553d6dc3d1363ce27a86928f3486ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Sun, 5 May 2019 11:38:20 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E6=A4=8D=E6=96=B0=E7=89=88=E5=AE=9E?= =?UTF-8?q?=E8=AE=AD=E5=85=B3=E5=8D=A1=E6=8C=89=E6=B5=8B=E8=AF=95=E9=9B=86?= =?UTF-8?q?=E7=BB=99=E5=88=86=E5=90=8C=E6=AD=A5=E5=88=B0=E6=97=A7=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../challenges/_edit_evaluating_page.html.erb | 7 +- app/views/challenges/_evaluate_show.html.erb | 73 +++++++++++++++++-- public/stylesheets/educoder/edu-main.css | 4 + 3 files changed, 76 insertions(+), 8 deletions(-) diff --git a/app/views/challenges/_edit_evaluating_page.html.erb b/app/views/challenges/_edit_evaluating_page.html.erb index 26e4d5e2..2a864787 100644 --- a/app/views/challenges/_edit_evaluating_page.html.erb +++ b/app/views/challenges/_edit_evaluating_page.html.erb @@ -134,7 +134,7 @@ -

+

该路径下的文件将在学员评测本关任务时,作为参考答案显示在查看效果页,供学员参考任务输出结果为文件时请指定该路径,并注意与程序文件所在文件夹分开

@@ -161,12 +161,13 @@

测试集和系统评分规则

+
  • -
    @@ -178,7 +179,7 @@
    -
    diff --git a/app/views/challenges/_evaluate_show.html.erb b/app/views/challenges/_evaluate_show.html.erb index ddf20507..bb5e6a4c 100644 --- a/app/views/challenges/_evaluate_show.html.erb +++ b/app/views/challenges/_evaluate_show.html.erb @@ -78,7 +78,48 @@
  • -

    测试集设置

    +

    测试集和系统评分规则

    +
  • + + +
    + + +
    + +
  • + +
  • + + +
    + + +
    + +
  • + +
  • + + + + + + + + + + + + + +
  • + +
    @@ -86,10 +127,17 @@ <% @test_sets.each_with_index do |test, index| %>

    * - 组<%= index+1 %> - + 组<%= index+1 %> + + + + % + + + + disabled class="magic-checkbox" id="hide-<%= index %>"/> - +

    @@ -111,4 +159,19 @@
    -
    \ No newline at end of file +
    + + \ No newline at end of file diff --git a/public/stylesheets/educoder/edu-main.css b/public/stylesheets/educoder/edu-main.css index d7445c10..7b0fa0ec 100644 --- a/public/stylesheets/educoder/edu-main.css +++ b/public/stylesheets/educoder/edu-main.css @@ -1066,4 +1066,8 @@ html>body #ajax-indicator { position: fixed; } .wid10px{ display: inline-block; margin-left: 10px; +} + +.maxwidth600{ + max-width: 600px; } \ No newline at end of file