From 5671b77e203edb0c54dd30b7c5d8a9b23304c312 Mon Sep 17 00:00:00 2001 From: Linda <2294690300@qq.com> Date: Wed, 12 Apr 2017 10:16:23 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=96=B0=E5=BB=BA=E9=98=B6=E6=AE=B5?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/challenges/_form.html.erb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/views/challenges/_form.html.erb b/app/views/challenges/_form.html.erb index d06791a90..898539505 100644 --- a/app/views/challenges/_form.html.erb +++ b/app/views/challenges/_form.html.erb @@ -73,6 +73,13 @@ <%= f.text_area :task_pass, :class => "panel-form-width-690 panel-box-sizing", :no_label => true %> +
  • + + +
  • <% if params[:action] == "edit" && @challenge.challenge_samples.count > 0 %> From b988ac76ef86f88755babad6591b2bc8246c7058 Mon Sep 17 00:00:00 2001 From: Linda <2294690300@qq.com> Date: Wed, 12 Apr 2017 15:09:05 +0800 Subject: [PATCH 2/2] =?UTF-8?q?TPM=E6=96=B0=E5=A2=9E=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/challenges/_form.html.erb | 55 +++++++++++++---------- app/views/challenges/show.html.erb | 30 ++++++++++--- app/views/layouts/base_shixun.html.erb | 2 +- public/stylesheets/css/bigdata-common.css | 2 +- public/stylesheets/css/taskstyle.css | 6 +-- 5 files changed, 60 insertions(+), 35 deletions(-) diff --git a/app/views/challenges/_form.html.erb b/app/views/challenges/_form.html.erb index 4083a1cb7..9d18e2a44 100644 --- a/app/views/challenges/_form.html.erb +++ b/app/views/challenges/_form.html.erb @@ -81,11 +81,12 @@
  • + 锁定

    - - + +